Related Experiment Video
Updated: May 15, 2025

An R-Based Landscape Validation of a Competing Risk Model
Published on: September 16, 2022
The next generation of regression standardization with the R package stdReg2
Michael C Sachs1, Johan Sebastian Ohlendorff1, Adam Brand2
1University of Copenhagen, Section of Biostatistics, Øster Farimagsgade 5, Copenhagen, Denmark.
The R package stdReg2 enhances causal inference in epidemiology with improved user-friendliness and new double-robust methods for average treatment effect estimation. This updated statistical software offers greater flexibility for researchers.
Area of Science:
- Epidemiology
- Biostatistics
- Statistical Software Development
Background:
- Regression standardization is a key technique for causal inference in epidemiological studies.
- Existing statistical software may lack user-friendliness or advanced functionalities.
- There is a need for updated tools to facilitate robust causal analysis.
Purpose of the Study:
- To introduce the upgraded R package stdReg2, enhancing causal inference capabilities.
- To detail new features including a double-robust method and survival analysis standardization.
- To provide guidance for researchers on utilizing the improved statistical software.
Main Methods:
- Updating the R package stdReg to stdReg2.
- Implementing a generalized linear model-based double-robust method.
- Adding regression standardization for restricted mean survival time.
Main Results:
- The stdReg2 package offers improved user-friendliness and flexibility over stdReg.
- New functionalities enable advanced causal inference techniques.
- The package supports both standard regression standardization and restricted mean survival analysis.
Conclusions:
- stdReg2 is a valuable update for epidemiological research requiring causal inference.
- The enhanced statistical software facilitates more robust and flexible analysis.
- New and existing users are encouraged to adopt stdReg2 for their research needs.
Related Concept Videos
Regression Toward the Mean
Regression Analysis
In regression analysis, a regression equation is determined based on the line of best fit– a line that best fits the data points plotted in a graph. This line is also called the regression line. The algebraic equation for the regression line is called the regression equation. It is represented as:
Estimating Population Standard Deviation
Multiple Regression
Farmers can use multiple regression to determine the crop yield based on more than one factor, such as water availability, fertilizer, soil properties, etc. Here, the crop yield is the response or dependent variable as it depends on the other independent variables. The analysis requires the construction of a scatter plot...
Estimating Population Mean with Known Standard Deviation
The confidence interval estimate will have the form as follows:
(point estimate - error bound, point estimate +...
Testing a Claim about Standard Deviation
The hypothesis testing for the claim of population standard deviation (or variance) requires the data and samples to be random and unbiased. The population distribution also must be normal. There is no specific requirement on the sample size as the estimation is based on the chi-square distribution.
As a first step, the hypothesis (null and alternative) concerning the claim about...

