MultiCredibleInterval {ArchaeoPhases} | R Documentation |
Estimation of the shortest credible interval for each variable of a simulated Markov chain
MultiCredibleInterval(data, position, level = 0.95, roundingOfValue = 0)
data |
data frame 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 for the credible interval. |
roundingOfValue |
Integer indicating the number of decimal places. |
A (100 * level)
\
The (100*level)
\
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. The result is given in calendar years (BC/AD).
Anne Philippe, Anne.Philippe@univ-nantes.fr and
Marie-Anne Vibet, Marie-Anne.Vibet@univ-nantes.fr
data(Events)
MultiCredibleInterval(Events, c(2, 4, 3), 0.95)