Skip to content

stdReg2

1.0.7

Regression Standardization for Causal Inference

1packages depend
3.3Kdownloads / year
59.0%test coverage
13/13checks pass

Overview

About
Maintained by Michael C SachsFirst published 2024-09-133 releasesCRAN page ↗GitHub ↗

Contains more modern tools for causal inference using regression standardization. Four general classes of models are implemented; generalized linear models, conditional generalized estimating equation models, Cox proportional hazards models, and shared frailty gamma-Weibull models. Methodological details are described in Sjölander, A. (2016) doi:10.1007/s10654-016-0157-3. Also includes functionality for doubly robust estimation for generalized linear models in some special cases, and the ability to implement custom models.

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.12
59.0%
Coverage · measured lines
100%
Documentation · exports
5
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-21
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-05-08
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 252 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
90%
Return-value docs
93%
References docs
48%

Downloads

3.3K
CRAN downloads in the past year
Rank #7,848 · ~9/day · ~274/mo
Daily download trend is not available in this view yet.
17830 days
1.1K90 days
3.3K1 year
Compare downloads with other packages →
Also on96 r2u21 autocran

Repository

Repository
6Stars
0Forks
2Open issues
0Open PRs
0Releases
84Commits
2Contributors
License AGPL-3.0 · 84 commits · Last activity 2026-05-28 · 0% stars, 30d

Stars over time

2025-07-08 · 42026-07-07 · 6

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/sachsmc/stdreg2 on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

Datasets

People & History

People (5)
Maintainer (1)
Author, Maintainer
Authors (5)
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 1.0.7Latest
    2026-05-14 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.3
    2025-02-28 · diff ↗
  • 1.0.1
    2024-09-13
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-09-13
Total releases
3 / 2 yrs
License
AGPL (>= 3) OSI
Minimum R
≥ 4.1.0
Bundled data
5.6 KB / 2 files
Download size
109 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("stdReg2")
Sachs, M. C., Brand, A., Gabriel, E. E., Ohlendorff, J. S., & Sjölander, A. (2026). stdReg2: Regression Standardization for Causal Inference (Version 1.0.7) [Computer software]. https://doi.org/10.32614/CRAN.package.stdReg2

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 stdReg2 version 1.0.7 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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