| abc_batch {gk} | R Documentation | 
Single batch of ABC
Description
Interal function carrying out part of ABC inference calculations
Usage
abc_batch(sobs, priorSims, simStats, M, v = NULL)
Arguments
| sobs | Vector of observed summary statistics. | 
| priorSims | Matrix whose rows are vector of parameters drawn from the prior. | 
| simStats | Function mapping a vector of parameters to summary statistics. | 
| M | How many simulations to accept in this batch. | 
| v | Optional vector of estimated variances for each summary statistic | 
Details
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.)
[Package gk version 0.6.0 Index]