Learn R Programming

poolABC (version 1.0.0)

organize.poststat: Organize point estimates from multiple posterior distributions

Description

Combines the point estimates of multiple posterior distributions into more easily read matrices.

Usage

organize.poststat(posterior_stats)

Value

a list with the following elements:

mode

mode of the posterior for each target and parameter.

median

median of the posterior for each target and parameter.

mean

mean of the posterior for each target and parameter.

Arguments

posterior_stats

is a list where each entry corresponds to a different trial i.e. each entry contains the information obtained for a different target for ABC parameter estimation. Each entry should be a matrix containing, in each row, the "mode", "median" and "mean" of the posterior distribution for each of the parameters.

Details

This is a purely organizational function that combines the mode, median and mean point estimates of multiple posterior distributions into its own matrix. Thus, each point estimate will have its own unique matrix. For instance, this will create a "median" matrix with the median of each posterior.