Description Usage Arguments Value
Compute the expected aposteriori estimate and covariance matrix of the latent trait theta. Integration approximation occurs via a Riemannsumm, where grid points can be adapted to the location of the posterior distribution.
1 2 | get_eap_estimate_riemannsum(dimension, likelihood, prior_form, prior_parameters,
adapt = NULL, number_gridpoints = 50, ...)
|
dimension |
Number of dimensions of theta. |
likelihood |
Likelihood function of theta, where first argument should be theta. |
prior_form |
String indicating the form of the prior; one of |
prior_parameters |
List containing mu and Sigma of the normal prior: |
adapt |
List containing mu and Sigma for the adaptation of the grid points: list(mu = ..., Sigma = ...).
If |
number_gridpoints |
Value indicating the number of grid points per dimension to use for the Riemannsum. |
... |
Any additional arguments to |
Expected aposteriori estimate of the latent trait theta, with its covariance matrix as an attribute.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.