Learn R Programming

classify (version 1.3)

gpcm.bug: Extract IRT Model Parameters from Bugs Models

Description

Internal function which draws heavily on Curtis, S.M.(2010).

Usage

gpcm.bug(v, cats, mdl, gibbs=c("bugs","jags"))

Arguments

v
Bugs sims matrix
cats
Numeric vector of item categories
mdl
Bugs file: Partial Credit Model - "pcm.bug" or Generalised Partial Credit Model - "gpcm.bug" or Rasch model - "rasch.bug" or 2pl model "tpl.bug"
gibbs
Gibbs sampler: "bugs" or "jags"

Value

List with theta and beta parameters

Details

Extracts IRT Model Parameters from Bugs Models

References

Curtis, S.M.(2010) BUGS Code for Item Response Theory, Journal of Statistical Software, Code Snippets, 36(1),1--34