View source: R/crosnma.summary.R
1 2 |
x |
A crosrun object generated by the crosnma.run function. |
digits |
The number of significant digits printed. The default value is 3. |
quantiles |
A numeric vector of probabilities to present posterior summaries. The default value is c(0.025, 0.5, 0.975) for the 95 \itemexpoA logical value indicating whether to exponentiate the parameters of relative treatment effect and covariate effect. Default is TRUE. |
summary.crosnma
returns a matrix containing the following summary statistics (in columns) for each estimated parameter:
Mean
the mean of the posterior distribution
SD
the standard deviation of the posterior distribution
2.5%
the 2.5% quantile of the posterior distribution (the lower bound of the 95
50%
the median of the posterior distribution
97.5%
the 97.5% quantile of theposterior distribution (the upper bound of the 95
Rhat
Gelman-Rubin statistic. The further the value of Rhat from 1, the worse the mixing of chains and so the convergence.
n.eff
an estimate of the effective sample size. The smaller the value of n.eff the greater the uncertanity associated with the corresponding parameter.
Generic summary function for crosnma.run object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.