View source: R/extract_median_95CrI_descriptives_stan.R
extract_median_95CrI_descriptives_stan | R Documentation |
This function takes a Stan object as input and extracts the median and the equi-tailed 95% CrI of all the model parameters (without random effects).
extract_median_95CrI_descriptives_stan(stan.object.base.modified, w, prec.name= NULL)
stan.object.base.modified |
character string, the name of the Stan object fitted in |
w |
numeric, the weighting factor to weight the likelihood. For the base model w=1. |
prec.name |
character string, the name of the precision parameter to be used for logarithmic transformation of the marginal posterior samples of the precision parameter. |
The returned matrix has three columns with names "0.025quant", "0.5quant" and "0.975quant" for the median and the equi-tailed 95% CrI of the marginal posterior distributions and has as many rows as there are parameters (without random effects) in the model.
numerical matix
rstan
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.