Skip to contents

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.

Usage

preCalibration(objectiveFunction, npc = 1000, rprior, rep = 1)

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

Value

list with entries preDelta and prePar, final values of calibration run