Description Usage Arguments Value Author(s) Examples
Estimation of the shorest credible interval for each variables of simulated Markov chain.
1 | MultiCredibleInterval(data, position, level = 0.95)
|
data |
dataframe containing the output of the MCMC algorithm |
position |
numeric vector containing the position of the column corresponding to the MCMC chains of interest |
level |
probability corresponding to the level of confidence used to estimate the credible interval |
Returns a matrix of values containing the level of confidence and the endpoints of the shortest credible interval for each variable of the MCMC chain. The name of the resulting rows are the positions of the corresponding columns in the CSV file.
Anne Philippe <Anne.Philippe@univ-nantes.fr> and
Marie-Anne Vibet <Marie-Anne.Vibet@univ-nantes.fr>
1 2 | data(Events)
MultiCredibleInterval(Events, c(2,4,3), 0.95)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.