DrawAlphas: Draw values from multinomial distribution

Description Usage Arguments Value

View source: R/dcm_mcmc_scorer.R

Description

Draws values from a mutinomial distribution and matches them with a row in the pmatrix (attribute profile matrix) to obtain the alpha values

Usage

1
DrawAlphas(pmatrix, y, nus0)

Arguments

pmatrix

a matrix indicating all possible attribute profiles

y

number of random vectors to draw

nus0

a numeric vector of length nclasses for nu parameter estimates

Value

a numeric vector of alpha values


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

Related to DrawAlphas in dcmr...