Description Usage Arguments Value Note Author(s) See Also
An internal function to dpgrow
1 | dpPost(y, X, Z, subjects, niter, nburn, nthin, shapealph, ratebeta)
|
y |
An N x 1 response (of subject-measure cases) |
X |
Fixed effects design matrix |
Z |
Random effects design matrix. Assumed grouped by |
subjects |
An N x 1 set of subject identifiers |
niter |
The number of MCMC iterations |
nburn |
The number of MCMC burn-in iterations to discard |
nthin |
The step increment of MCMC samples to return |
shapealph |
The shape parameter for the Γ prior on the DP concentration parameter.
The rate parameter is set of |
ratebeta |
The rate parameter for the Γ prior on the DP concentration parameter. Default value is |
res A list object containing MCMC runs for all model parameters.
Intended as an internal function for dpgrow
Terrance Savitsky tds151@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.