Tmatrix {poolABC} | R Documentation |
This function applies a transformation to the parameter values.
Tmatrix(original, limits)
original |
a matrix of parameter values i.e. numbers obtained from the simulations. Each column should be a different parameter and each row a different simulation. This is the matrix that you wish to transform so that the parameter values are all in the same 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. |
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.
a matrix with the same dimensions as the original
matrix but
with the parameter values transformed.