computeEAPFromPosterior {TestDesign}R Documentation

(Internal) Convert posterior densities into an EAP estimate

Description

computeEAPFromPosterior is an internal function for converting posterior densities into an EAP estimate.

Usage

computeEAPFromPosterior(posterior, theta_grid)

Arguments

posterior

a named list posterior densities and likelihoods.

theta_grid

a vector containing quadrature points corresponding to the above.

Value

computeEAPFromPosterior returns a named list containing an EAP theta estimate.


[Package TestDesign version 1.7.0 Index]