cvmgof: an R package for Cramér-von Mises goodness-of-fit tests in regression models - Archive ouverte HAL
Journal Articles Journal of Statistical Computation and Simulation Year : 2022

cvmgof: an R package for Cramér-von Mises goodness-of-fit tests in regression models

Abstract

Many goodness-of-fit tests have been developed to assess the different assumptions of a (possibly heteroscedastic) regression model. Most of them are “directional” in that they detect departures from a given assumption of the model. Other tests are “global” (or “omnibus”) in that they assess whether a model fits a dataset on all its assumptions. We focus on the task of choosing the structural part of the regression function because it contains easily interpretable information about the studied relationship. We consider 2 nonparametric “directional” tests and one nonparametric “global” test, all based on generalizations of the Cramér-von Mises statistic. To perform these goodness-of-fit tests, we develop the R package cvmgof providing an easy-to-use tool for practitioners, available from the Comprehensive R Archive Network (CRAN). The use of the library is illustrated through a tutorial on real data. A simulation study is carried out in order to show how the package can be exploited to compare the 3 implemented tests.
Fichier principal
Vignette du fichier
cvmgof_paper.pdf (1.03 Mo) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-03101612 , version 1 (07-01-2021)

Identifiers

Cite

Romain Azaïs, Sandie Ferrigno, Marie-José Martinez. cvmgof: an R package for Cramér-von Mises goodness-of-fit tests in regression models. Journal of Statistical Computation and Simulation, 2022, 92 (6), pp.1246-1266. ⟨10.1080/00949655.2021.1991346⟩. ⟨hal-03101612⟩
368 View
1210 Download

Altmetric

Share

More