get_parameter_estimates {bmstdr} | R Documentation |
Obtains parameter estimates from MCMC samples
get_parameter_estimates(samps, level = 95)
samps |
A matrix of N by p samples for the p parameters |
level |
Desired confidence level - defaults to 95%. |
A data frame containing four columns: mean, sd, low (er limit), and up (per limit) for the p parameters.
samps <- matrix(rnorm(10000), ncol= 10 ) dim(samps) a <- get_parameter_estimates(samps) a b <- get_parameter_estimates(samps, level=98) b