View source: R/MPdifferencefunctions.R
bolt2002Model | R Documentation |
Fit graded response model to MP model based on procedure by Bolt (2002)
bolt2002Model(
x,
items,
theta = seq(-4, 4, length.out = 500),
w = dnorm(theta)/sum(dnorm(theta))
)
x |
Fitted |
items |
Vector of indices indicating which items to perform procedure for. |
theta |
Grid across theta over which to perform estimation for Bolt (2002)'s approach. |
w |
Weights corresponding to |
This function goes item by item for the model in x
and uses the procedure by Bolt (2002) to fit
a graded response model as best it can to each item's (semi-parametric) response functions.
A list with the following elements
conv
Convergence code for each item returned from nlminb
.
gr.items
A list of item specifications from the graded model.
pars
A list of item parameters from the fitted graded model for each item.
mp.items
A list of item specifications from the MP model.
mp.pars
A list of item parameters from the MP model for each item.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.