# Abc

Functions for parameter inference using ABC (and ABC-SMC) methods

## Attributes

- Graph
- Supertypes
- class Objecttrait Matchableclass Any
- Self type
- Abc.type

## Members list

## Value members

### Concrete methods

Function for running ABC simulations in parallel on all cores. This function simply carries out the runs. No post-processing (including rejection) is carried out.

Function for running ABC simulations in parallel on all cores. This function simply carries out the runs. No post-processing (including rejection) is carried out.

## Attributes

- dist
Function that takes a single parameter value and runs a forward simulation from the model, then computes distance of output from a target data set

- n
The number of ABC simulations to be carried out

- rprior
Function returing a single simulated parameter value from a prior

- Returns:
The collection of generated parameters together with their simulated distances from a target data set

Function for running an ABC-SMC algorithm in parallel on all available cores.

Function for running an ABC-SMC algorithm in parallel on all available cores.

## Attributes

- N
Number of samples to be propagated forward at each sweep

- dperturb
Function for evaluating the log-density of a perturbed parameter relative to an original parameter. In the case of a non-symmetric perturbation kernel, it is the new, perturbed value that is the first element of the tuple.

- dprior
Function returning the log-density of a parameter under the prior

- factor
The acceptance rate at each sweep is

`1/factor`

- rdist
Function which takes a parameter, runs a forward simultation, and then calculates a distance (as a scalar

`Double`

) from a target data set- rperturb
Function to perturb a parameter vector (perturbation kernel, in ABC-SMC speak)

- rprior
Function for simulating from a prior on the parameters

- steps
The number of sweeps of the ABC-SMC algorithm to perform

- verb
Print progress to the console?

- Returns:
An equally weighted sample from the ABC-SMC parameter posterior, approximately of size

`N`

Generate some basic diagnostics associated with an ABC run. Called purely for the side effect of generating output on the console.

Generate some basic diagnostics associated with an ABC run. Called purely for the side effect of generating output on the console.

## Attributes

- output
Collection of runs (and distances) such as generated from

`run`