Compute the sum of squared errors

xde_maximize_gof(
  data,
  model,
  F_obs,
  get_par,
  put_par,
  F_gof,
  Tmax = 3650,
  tol = 1e-08
)

Arguments

data

a set of observations

model

a model

F_obs

a function to return the predicted observations from the model

get_par

a function to get the parameters to be fitted

put_par

a function to put the parameters to be fitted

F_gof

a function to compute the goodness of fit

Tmax

the maximum runtime

tol

the desired accuracy

Value

the sum of squared errors