Determine a starting value for ABC's delta
preCalibration.Rd
In ABC settings a model solution is compared to data with an acceptance threshold: delta. This-pre calibration function attempts to adjust this delta value.
Arguments
- objectiveFunction
function that, given a (vectorial) parameter as input, simulates the model, and outputs the distance between experimental data and data simulated from the model with the parameter provided in input
- npc
sample size of pre-calibration
- rprior
a function that generates random ABC variables, distributed according to the prior
- rep
number of repetitions of the preCalibration process