View source: R/functions_ABC.R
tranf | R Documentation |
This function applies a transformation to the parameter values.
tranf(x, min, max)
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. |
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 numeric vector with the same length as x
with the parameter
values transformed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.