Package: dScoreTest 1.0.0

dScoreTest: Debiased Score Tests for Goodness of Fit and Model Comparison
Debiased (Neyman-orthogonalized) score tests for assessing whether a semiparametric or parametric regression model is well-specified and for comparing nested models. The test employs a hunt-and-test strategy: on a held-out hunt sample, it fits the null model and uses machine learning to find a direction in which the null model's score seems positive; on an independent test sample, it assesses the significance of the score in the hunted direction. The test employs orthogonalization to eliminate the bias from estimating the null model, yielding a test statistic that is asymptotically standard normal under the null without requiring a parametric form for the alternative. Methods are provided for 'glm', 'lm' and 'mgcv::gam' fits as well as for detecting heterogeneous treatment effects. The methodology is described in Dhawan, Guo and Shah (2026) <doi:10.48550/arXiv.2607.28861>.
Authors:
dScoreTest_1.0.0.tar.gz
dScoreTest_1.0.0.zip(r-4.7-any)dScoreTest_1.0.0.zip(r-4.6-any)dScoreTest_1.0.0.zip(r-4.5-any)
dScoreTest_1.0.0.tgz(r-4.6-any)dScoreTest_1.0.0.tgz(r-4.5-any)
dScoreTest_1.0.0.tar.gz(r-4.7-any)dScoreTest_1.0.0.tar.gz(r-4.6-any)
dScoreTest_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
dScoreTest/json (API)
| # Install 'dScoreTest' in R: |
| install.packages('dScoreTest', repos = c('https://richardkwo.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/richardkwo/dscoretest/issues
Pkgdown/docs site:https://unbiased.co.in
Last updated from:bda20925f4. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 135 | ||
| source / vignettes | OK | 197 | ||
| linux-release | OK | 118 | ||
| macos-release | OK | 150 | ||
| macos-oldrel | OK | 139 | ||
| windows-devel | OK | 73 | ||
| windows-release | OK | 72 | ||
| windows-oldrel | OK | 73 | ||
| wasm-release | OK | 113 |
Exports:compare_modelsdebias_standarddScoreTestfit_CATEgof_testhte_test_conditionalhunt_optimalhunt_vanillahunt_wlsscore_funweight_fun
Dependencies:DiceKriginggrflatticelmtestMatrixmgcvnlmeRcppRcppEigensandwichzoo
