Compute the sum of squared errors

dts_compute_gof(ppp, data, model, F_obs, put_par, F_gof, Tmax = 365)

Arguments

ppp

the parameters to be fitted

data

a set of observations

model

a model

F_obs

a function to return the predicted observations from the model

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

Value

the sum of squared errors