Learn R Programming

TAM (version 4.2-21)

IRT.frequencies.tam: Observed and Expected Frequencies for Univariate and Bivariate Distributions

Description

Computes observed and expected frequencies for univariate and bivariate distributions for models fitted in TAM. See CDM::IRT.frequencies for more details.

Usage

# S3 method for tam.mml
IRT.frequencies(object, ...)

# S3 method for tam.mml.3pl IRT.frequencies(object, ...)

# S3 method for tamaan IRT.frequencies(object, ...)

Value

See CDM::IRT.frequencies.

Arguments

object

Object of class tam, tam.mml, tam.mml.3pl or tamaan.

...

Further arguments to be passed

See Also

CDM::IRT.frequencies

Examples

Run this code
if (FALSE) {
#############################################################################
# EXAMPLE 1: Dichotomous data data.sim.rasch
#############################################################################

data(data.sim.rasch)
dat <- data.sim.rasch

# estimate model
mod1 <- TAM::tam.mml(dat)
# compute observed and expected frequencies
fmod1 <- IRT.frequencies(mod1)
str(fmod1)
}

Run the code above in your browser using DataLab