Skip to content

SDModels

Spectrally Deconfounded Models

v2.0.2 · Dec 14, 2025 · GPL-3

Description

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>).

Downloads

268

Last 30 days

15973rd

639

Last 90 days

4.8K

Last year

Trend: +34.7% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies DiagrammeR future.apply future ggplot2 igraph ggraph gridExtra Rdpack tidyr fda grplasso rlang progressr SDModels

Version History

new 2.0.2 Mar 10, 2026
updated 2.0.2 ← 2.0.0 diff Dec 13, 2025
updated 2.0.0 ← 1.0.13 diff Dec 3, 2025
updated 1.0.13 ← 1.0.10 diff Jun 4, 2025
updated 1.0.10 ← 1.0.7 diff May 8, 2025
updated 1.0.7 ← 1.0.4 diff Apr 8, 2025
new 1.0.4 Feb 18, 2025