coef {diffIRT}R Documentation

Return estimated parameters

Description

Returns estimated item and population parameters from a diffIRT object

Usage

## S3 method for class 'diffIRT'
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.

Author(s)

Dylan Molenaar d.molenaar@uva.nl

See Also

diffIRT for fitting diffusion IRT models.

Examples

  
## 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)  

[Package diffIRT version 1.5 Index]