UpdateBeta {NestedCategBayesImpute}R Documentation

Update beta.

Description

Update beta – the concentration parameter in the Dirichlet process for the individual-level latent classes. Currently, this is assumed to be the same within all group-level classes.

Usage

UpdateBeta(ba, bb, v)

Arguments

ba

Hyper-parameter a for beta.

bb

Hyper-parameter b for beta.

v

Matrix of the beta-distributed variables in the stick breaking representation of the individual-level latent classes by the group-level latent classes.

Value

Updated (posterior) value for beta based on the corresponding full conditional distribution..

Author(s)

Quanli Wang


[Package NestedCategBayesImpute version 1.2.1 Index]