powered by
Obtains parameter estimates from MCMC samples
get_parameter_estimates(samps, level = 95)
A data frame containing four columns: mean, sd, low (er limit), and up (per limit) for the p parameters.
A matrix of N by p samples for the p parameters
Desired confidence level - defaults to 95%.
samps <- matrix(rnorm(10000), ncol= 10 ) dim(samps) a <- get_parameter_estimates(samps) a b <- get_parameter_estimates(samps, level=98) b
Run the code above in your browser using DataLab