Learn R Programming

diffIRT (version 1.5)

coef: Return estimated parameters

Description

Returns estimated item and population parameters from a diffIRT object

Usage

"coef"(object, ...)

Arguments

object
a diffIRT object from which parameter estimates need to be extracted.
...
additional parameters, currently not used.

Value

Returns a list with two entries:
item
the estimated item parameters, item boundary (ai), item drift (vi), and item non-desicion time (ter).
pop
the estimated population parameters, omega_ap and omega_vp.

See Also

diffIRT for fitting diffusion IRT models.

Examples

Run this code
## Not run: 
# # simulate data accroding to D-diffusion IRT model
# data=simdiff(N=100,nit=10,model="D")          
# 
# # fit the D-diffusion IRT model
# res1=diffIRT(data$rt,data$x)
# 
# # extract parameter estimates 
# coef(res1)
# ## End(Not run)  

Run the code above in your browser using DataLab