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>.
| Version: | 1.0.0 |
| Imports: | grf, mgcv |
| Suggests: | knitr, rmarkdown, speff2trial, testthat (≥ 3.0.0) |
| Published: | 2026-09-02 |
| DOI: | 10.32614/CRAN.package.dScoreTest |
| Author: | F. Richard Guo |
| Maintainer: | F. Richard Guo <ricguo at umich.edu> |
| BugReports: | https://github.com/richardkwo/dScoreTest/issues |
| License: | MIT + file LICENSE |
| URL: | https://unbiased.co.in/dScoreTest/, https://github.com/richardkwo/dScoreTest |
| NeedsCompilation: | no |
| Language: | en-US |
| Citation: | dScoreTest citation info |
| Materials: | README, NEWS |
| CRAN checks: | dScoreTest results |
| Reference manual: | dScoreTest.html , dScoreTest.pdf |
| Vignettes: |
Getting started with dScoreTest (source, R code) |
| Package source: | dScoreTest_1.0.0.tar.gz |
| Windows binaries: | r-devel: dScoreTest_1.0.0.zip, r-release: dScoreTest_1.0.0.zip, r-oldrel: dScoreTest_1.0.0.zip |
| macOS binaries: | r-release (arm64): dScoreTest_1.0.0.tgz, r-oldrel (arm64): dScoreTest_1.0.0.tgz, r-release (x86_64): dScoreTest_1.0.0.tgz, r-oldrel (x86_64): dScoreTest_1.0.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=dScoreTest to link to this page.
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.