Description Usage Arguments Value Examples
Generalized Item Response Theory parameter estimation
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | estGip(
x,
fc = 3,
Gc = NULL,
bg = 1,
IDc = 1,
D = 1.702,
Ntheta = 31,
Nphi = 10,
method = "BFGS",
th_dist = "normal",
rm_list = NULL,
phi_dist = "uniform",
v = 3,
tau = 1,
mu_ph = 0,
sigma_ph = 0.25,
min_ph = 0.01,
max_ph = 2,
paramab = c(1, 4),
mu_th = 0,
sigma_th = 1,
min_th = -4,
max_th = 4,
eEM = 0.001,
eMLL = 1e-06,
eDIST = 1e-04,
maxiter_em = 100,
print = 0,
esteap = FALSE,
estdist = FALSE,
initial = NULL
)
|
x |
DataFrame. |
fc |
the first column. |
Gc |
the grade column. |
bg |
a mumber of base grade. |
IDc |
the ID column. |
D |
scale constant |
Ntheta |
the number of the nodes of theta dist. |
Nphi |
the number of the nodes of phi dist. |
method |
the method of optimiser. Default is "Fisher_Scoring", but |
th_dist |
a type of theta dist."normal" or "empirical" |
rm_list |
a vector of item U want to remove for estimation. NOT list. |
phi_dist |
a prior distribution of phi. |
v |
a hyper parameter of invchi for phi |
tau |
a hyper parameter of invchi for phi |
mu_ph |
a hyper parameter of lognormal dist for phi |
sigma_ph |
a hyper parameter of lognormal dist for phi |
min_ph |
a minimum value of phi distribution |
max_ph |
a maximum value of phi distribution |
paramab |
a hyper parameter of generalized beta distribution |
mu_th |
a hyper parameter of normal dist for theta |
sigma_th |
a hyper parameter of normal dist for theta |
min_th |
a minimum value of theta distribution |
max_th |
a maximum value of theta distribution |
eEM |
a convergence criterion related to item parameters in EM cycle. |
eMLL |
a convergence criterion related to negative twice log likelihood in EM cycle. |
eDIST |
a convergence criterion related to the parameter of theta distribution in EM cycle. |
maxiter_em |
the number of iteration of EM cycle. |
print |
How much information you want to display? from 1 to 3. The larger, more information is displayed. |
esteap |
logical. If |
estdist |
logical. If |
initial |
if use specify initial value, set here data.frame. |
the output is a list that has item parameter and person parameter.
1 2 3 4 | res <- estGip(x=sim_dat_girt,fc=2, Ntheta=10, Nphi = 5, min_ph = 0.001, max_ph = 2)
# check the parameters
res$item
head(res$person)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.