Description Usage Arguments Value Examples
View source: R/theta_estimation.R
Compute latent trait estimates using either maximum likelihood (ML) or expected a posteriori (EAP) trait estimation.
1 2 3 4 5 6 7 8 9 10 |
dat |
Data matrix of binary item responses with one column for each item. Alternatively, a vector of binary item responses for one person. |
bmat |
Matrix of FMP item parameters, one row for each item. |
maxncat |
Maximum number of response categories (the first maxncat - 1 columns of bmat are intercepts) |
cvec |
Vector of lower asymptote parameters, one element for each item. |
dvec |
Vector of upper asymptote parameters, one element for each item. |
lb |
Lower bound at which to truncate ML estimates. |
ub |
Upper bound at which to truncate ML estimates. |
int |
Matrix with two columns used for numerical integration in EAP. Column 1 contains the x coordinates and Column 2 contains the densities. |
Matrix with two columns: est and either sem or psd
est |
Latent trait estimate |
sem |
Standard error of measurement (mle estimates) |
psd |
Posterior standard deviation (eap estimates) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.