getTheta {PROsetta} | R Documentation |
getTheta
is a helper function to calculate EAP estimates.
getTheta(
data,
ipar,
scale = "combined",
model = "grm",
theta_grid = seq(-4, 4, 0.1),
prior_dist = "normal",
prior_mean = 0,
prior_sd = 1
)
data |
a |
ipar |
a |
scale |
the index of the scale to use. Set to 'combined' to use the combined scale. |
model |
the item model to use. Accepts 'grm' or 'gpcm'. |
theta_grid |
the theta grid to use in calculating EAP estimates. |
prior_dist |
the type of prior distribution. Accepts ' |
prior_mean |
mean of the prior distribution. |
prior_sd |
SD of the prior distribution. |
getTheta
returns a list
containing EAP estimates.