Learn R Programming

poolABC (version 1.0.0)

inverse_trans: Back-transform the parameters values

Description

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

Usage

inverse_trans(y, min, max)

Value

a numeric vector with the same length as y with the parameter values back-transformed.

Arguments

y

is the parameter vector (long vector of numbers from the simulations). These are the values to be back-transformed.

min

is the minimum value of the prior for this parameter.

max

is the maximum value of the prior for this parameter.

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.