tranf {poolABC} | R Documentation |
Apply a transformation to the parameters
Description
This function applies a transformation to the parameter values.
Usage
tranf(x, min, max)
Arguments
x |
is the parameter vector (long vector of numbers from the simulations). These are the values to be 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 transformation should be applied before parameter estimation using an Approximate Bayesian Computation framework to ensure that the estimates do not fall outside the boundaries set by the prior distribution.
Value
a numeric vector with the same length as x
with the parameter
values transformed.
[Package poolABC version 1.0.0 Index]