Skip to content

SDModels

2.0.2Package record

Spectrally Deconfounded Models

0packages depend
3.2Kdownloads / year
58.1%test coverage
13/13flavors OK

Overview

About

Screen for and analyze non-linear sparse direct effects in the presence of unobserved confounding using the spectral deconfounding techniques (Ćevid, Bühlmann, and Meinshausen (2020)<jmlr.org/papers/v21/19-545.html>, Guo, Ćevid, and Bühlmann (2022) doi:10.1214/21-AOS2152). These methods have been shown to be a good estimate for the true direct effect if we observe many covariates, e.g., high-dimensional settings, and we have fairly dense confounding. Even if the assumptions are violated, it seems like there is not much to lose, and the deconfounded models will, in general, estimate a function closer to the true one than classical least squares optimization. 'SDModels' provides functions SDAM() for Spectrally Deconfounded Additive Models (Scheidegger, Guo, and Bühlmann (2025) doi:10.1145/3711116) and SDForest() for Spectrally Deconfounded Random Forests (Ulmer, Scheidegger, and Bühlmann (2025) doi:10.1080/10618600.2025.2569602).

Changes in 2.0.2
  • Switch all the parallelization to futures. See vignette("Runtime")
  • Switch all the progress updates to progressr. Progress updates are now also available for parallel processing and are customizable.
  • Process are much more RAM efficient now.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.0.2
READMEYes · 372 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 2.0.2Citation fileYes · cites a publicationWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
34
Examples that run
100%29 run in a plain check
Exported functions with examples
89%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
26% with a bibliography file
Vignettes (1)

Downloads

3.2K
CRAN downloads in the past year
Rank #19,717 · ~9/day · ~264/mo
Daily download trend is not available in this view yet.
26030 days
66490 days
3.2K1 year
Compare downloads with other packages →
Also on98 r2u4 autocran

Repository

2Stars
0Forks
0Open issues
0Open PRs
0Releases
444Commits
3Commit identities
444 commits · Last activity 2025-12-12 · 0% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
11
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-04-28 · 22026-07-07 · 2
PracticesBeta

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

Checks run against github.com/markusul/sdmodels on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-12-12 · The repository has a site deploy workflow

CRAN release process (2)
cran-comments.mdrevdep/
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing SDModels adds 104 packages (59 with compiled code, 92 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, bslib 5.6 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 1.0.4 (2025), Copyright holder
Releases (6)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.2Latest
    record
    2025-12-14 · current release · diff ↗
  • 2.0.0
    record
    2025-12-04 · diff ↗ ·
    removed 3 exports
    copy, fromList, toList
  • 1.0.13
    record
    2025-06-05 · diff ↗
  • 1.0.10
    record
    2025-05-09 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.7
    record
    2025-04-09 · diff ↗
  • 1.0.4
    record
    2025-02-19
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2025-02-19
Total releases
6 / 1 yrs
License
GPL-3 OSI
Download size
680 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("SDModels")

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

It points to 10.1080/10618600.2025.2569602, 10.1145/3711116.

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 SDModels version 2.0.2 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-20, 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