
Last chance! 50% off unlimited learning
Sale ends in
Interal function carrying out part of ABC inference calculations
abc_batch(sobs, priorSims, simStats, M, v = NULL)
Vector of observed summary statistics.
Matrix whose rows are vector of parameters drawn from the prior.
Function mapping a vector of parameters to summary statistics.
How many simulations to accept in this batch.
Optional vector of estimated variances for each summary statistic
Outputs a list containing: 1) matrix whose rows are accepted parameter vectors, and a column of resulting distances 2) value of v. If v is not supplied then variances are estimated here and returned. (The idea is that this is done for the first batch, and these values are reused from then on.)