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