generatePriorThetaY: PriorThetaY list
Description
generate prior value for parameter Theta and Y.
Usage
generatePriorThetaY(m, n, p, muBar, hparam, qVec, ZOneDim, constraint)
Arguments
- m
the number of cluster
- n
sample size
- p
number of covariates
- muBar
parameter
- hparam
hyperparameters
- qVec
the vector of the number of factors in each clusters
- ZOneDim
ZOneDim
- constraint
constraint