eap {TestDesign} | R Documentation |
Compute expected a posteriori estimates of theta
Description
eap
is a function for computing expected a posteriori estimates of theta.
Usage
eap(
object,
select = NULL,
resp,
theta_grid = seq(-4, 4, 0.1),
prior = rep(1/81, 81)
)
## S4 method for signature 'item_pool'
eap(
object,
select = NULL,
resp,
theta_grid = seq(-4, 4, 0.1),
prior = rep(1/81, 81)
)
EAP(object, select = NULL, prior, reset_prior = FALSE)
## S4 method for signature 'test'
EAP(object, select = NULL, prior, reset_prior = FALSE)
## S4 method for signature 'test_cluster'
EAP(object, select = NULL, prior, reset_prior = FALSE)
Arguments
object |
an |
select |
(optional) if item indices are supplied, only the specified items are used. |
resp |
item response on all (or selected) items in the |
theta_grid |
the theta grid to use as quadrature points. (default = |
prior |
a prior distribution, a numeric vector for a common prior or a matrix for individualized priors. (default = |
reset_prior |
used for |
Value
eap
returns a list containing estimated values.
th
theta value.se
standard error.
Examples
eap(itempool_fatigue, resp = resp_fatigue_data[10, ])
eap(itempool_fatigue, select = 1:20, resp = resp_fatigue_data[10, 1:20])
[Package TestDesign version 1.6.1 Index]