Skip to content

dScoreTest

1.0.0Package record

Debiased Score Tests for Goodness of Fit and Model Comparison

0packages depend
491downloads / year
80.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 1.0.0
  • Added a citation for the method paper, Dhawan, Guo and Shah (2026), <arXiv:2607.28861>.
  • Added more examples.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.9 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK9 OK2026-09-04
Advisories

none known

Documentation

In release 1.0.0
READMEYes · 394 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.0.0Citation fileYes · software entry onlyWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
23 (1 internal)includes a package overview page
Examples that run
100%11 run in a plain check
Exported functions with examples
45%
Documented parameters
90%
Return-value docs
100%
Help pages citing references
26%

Downloads

491
CRAN downloads in the past year
Rank #24,563 · ~1/day · ~41/mo
Daily download trend is not available in this view yet.
19330 days
49190 days
4911 year
Compare downloads with other packages →
Also on7 r2u3 autocran

Repository

0Stars
0Forks
0Open issues
0Open PRs
1Releases
25Commits
1Commit identities
25 commits · Last activity 2026-08-05
Responsiveness
not measured

Commits over time

2026-09-06 · 252026-09-15 · 25
PracticesBeta

5 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/richardkwo/dscoretest on 2026-10-22.

Docs source (3)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-05

pkgdown site last built 2026-08-05, before release 1.0.0 (2026-09-02)

CRAN release process (1)
cran-comments.md
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing dScoreTest adds 7 packages (6 with compiled code, 6.5 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, sandwich 1.4 MB.

Depends (0)
none
Imports (2)
grfmgcv
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.0.0 (2026), Copyright holder
Releases (1)
  • 1.0.0Latest
    2026-09-02 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-09-02
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
263 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("dScoreTest")

The package provides a citation file, so citation() returns the authors' own entry.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for dScoreTest version 1.0.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy