Goodness of fit testing and quantile-quantile plots

Share:

Description

Computes goodness of fit tests for the detection function. For binned distances this is only chi-squared. For exact distances, Kolmogorov-Smirnov and Cramer-von Mises goodness of fit tests are computed (if chisq=TRUE then chi-squared is also computed). A quantile-quantile plot is for the fitted model is produced as a graphical representation of goodness of fit (this can be suppressed by setting plot=FALSE).

Usage

1
gof_ds(model, plot = TRUE, chisq = FALSE, ...)

Arguments

model

a fitted detection function.

plot

if TRUE the Q-Q plot is plotted

chisq

if TRUE then chi-squared statistic is calculated even for models that use exact distances. Ignored for models that use binned distances

...

other arguments to be passed to ddf.gof

Details

See ddf.gof for further details.