Learn R Programming

poolABC (version 1.0.0)

BTmatrix: Back-transform matrix of parameter values

Description

This function applies a back-transformation to the parameter values.

Usage

BTmatrix(transformed, limits)

Value

a matrix with the same dimensions as the transformed matrix but with the parameter values back-transformed.

Arguments

transformed

a matrix of transformed parameter values. Each column should be a different parameter and each row a different simulation. This is the matrix that you wish to back-transform so that the parameter values are all in the original scale.

limits

is a matrix with two columns and as many rows as there are parameters. Each row should contain the minimum value of the prior for a given parameter in the first column and the maximum value in the second column.

Details

The back-transformation should be applied after parameter estimation using an Approximate Bayesian Computation framework. It will return the parameter values back to their original scale.