Description Usage Arguments Value Author(s) See Also
View source: R/ddp_quantiles.R
Inputs MCMC samples for model parameters and constructs c(2.5%,50%,97.5%) quantile summaries.
1 | ddp_quantiles(model.output, dosemat, Nfixed, Nrandom, Nsubject, typet)
|
model.output |
A list vector of objects returned by MCMC sampling functions. e.g. mmCplusDpPost for |
dosemat |
An |
Nfixed |
Number of total fixed effects, both time-based and nuisance. |
Nrandom |
Number of total random effects, both time-based and nuisance, all grouped by subject. |
Nsubject |
Number of unique subjects (on which repeated measures are observed). |
typet |
A numeric vector of length equal to the number of treatments that contains the base distribution for each treatment.
|
A list object containing quantile summaries for all sampled model parameters.
deviance.summary |
vector of length 3 summarizing quantiles for model deviance. |
beta.summary |
|
alpha.summary |
quantile summary of model global intercept parameter. |
theta.summary |
list object of length |
lambda.summary |
|
lambda.mean |
|
alphacar.summary |
|
taucar.summary |
|
dosetrt.summary |
list object of length |
dosetrt.mean |
list object of length |
pind.summary |
list object of length |
pmvn.summary |
list object of length |
pmvn.summary |
list object of length |
doseint.summary |
list object of length |
taue.summary |
quantile summary for model error precision parameter. |
M.summary |
quantile summary for number of DP posterior clusters formed. |
Dbar |
Model fit statistics. |
pD |
Model fit statistics. |
pV |
Model fit statistics. |
DIC |
Model fit statistics. |
lpml |
Model fit statistics. |
Terrance Savitsky tds151@gmail.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.