test_GOF: Goodness-of-fit (GOF) test statistic.

View source: R/delay_test.R

test_GOFR Documentation

Goodness-of-fit (GOF) test statistic.

Description

The GOF-test is performed for a fitted delay-model. There are different GOF-tests implemented:

  • Moran GOF is based on spacings, like the MPSE-criterion itself.

  • Pearson GOF uses categories and compares observed to expected frequencies.

Usage

test_GOF(delayFit, method = c("moran", "pearson"))

Arguments

delayFit

delay_model fit

method

character(1). which method to use for GOF. Default is 'moran'.

Value

An htest-object containing the GOF-test result


incubate documentation built on Sept. 11, 2024, 6:50 p.m.