R/goodness_of_fit.R
goodness_of_fit.Rd
This function is a convenience wrapper around the gfit
from the
R package abc
goodness_of_fit(model, replicates, ...)
Number of replicates to be used to approximate the null distribution
of the goodness-of-fit statistic (passed as nb.replicate
to the underlying
function abc::gfit
))
Other optional arguments to be passed to abc::gfit
An object of the class demografr_sims_abc
or
demografr_abc.abc
produced by functions simulate_abc
or
run_anc
, respectively, which store simulated summary statistics needed
for the goodness-of-fit procedure.
Object of the class gfit
and demografr_gfit