get_parameter_estimates: Obtains parameter estimates from MCMC samples

View source: R/utilities.R

get_parameter_estimatesR 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

sujit-sahu/bmstdr documentation built on Jan. 30, 2024, 1:40 p.m.