computeDistanceAbc | R Documentation |
Compute the distance (using distanceAbc
) between the observed time
series and a simulated time series of observations obtained by running the
model with parameters theta
.
computeDistanceAbc(sumStats, distanceAbc, fitmodel, theta, initState, data)
sumStats |
a list of functions to calculate summary statistics. Each of these takes one argument (a trajectory with an "obs" column) and returns a number (the summary statistic given the trajectory) |
distanceAbc |
a function that take three arguments: |
fitmodel |
a |
theta |
named numeric vector. Values of the parameters. Names should
match |
initState |
named numeric vector. Initial values of the state
variables. Names should match |
data |
data frame. Observation times and observed data. The time column
must be named |
a sampled distance between
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.