This folder contains R notebooks used for replication and analysis tasks in the OutcomeWeights - Extending Treatment Effect Estimation project. The notebooks demonstrate the application of the OutcomeWeights package on 401(k) data and serve as a foundation for extending the package's functionality.
Includes replications of average effect calculations and validation with the 401(k) dataset.
Notebook_Heterogeneous.Rmd
outputs/figures
directory for reference.To run the notebooks:
1. Ensure the required R packages are installed:
R
install.packages(c("grf", "hdm", "OutcomeWeights"))
2. Open the .Rmd
files in RStudio or any compatible R Notebook interface.
3. Run the code chunks sequentially to replicate the results.
Validate results using the built-in functions and manual calculations.
Notebook_Heterogeneous.Rmd:
requirements.R
file in the root directory to check for dependencies.For further queries, please refer to the main README.md
file.