DrawClasses: Draw latent variable values

Description Usage Arguments Value

View source: R/dcm_mcmc_scorer.R

Description

Produces values of alphas(s) (i.e., latent variable(s)) by using a rejection/acceptance Metropolis-Hastings procedure.

Usage

1
2
DrawClasses(nattributes, class0, nus0, observations, nobservations,
  threshold.values, pmatrix)

Arguments

nattributes

a numeric value indicating number of alphas to be drawn

class0

a numeric vector of previous classes

nus0

a numeric vector of length nclasses for nu parameter estimates

observations

a data frame or matrix of dichotomous responses

nobservations

a numeric value indicating number of rows of the observation data frame or matrix

threshold.values

an nclasses by nitems numeric matrix with appropriate item threshold values

pmatrix

a numeric nclasses by nattributes matrix of all possible attribute profiles

Value

a numeric vector of classes indicating one of the possible attribute profile for each student


dcmr documentation built on May 29, 2017, 10:41 p.m.

Related to DrawClasses in dcmr...