HUB
Sign inSign up

mcknaus/hk2_decomposition

By mcknaus

•Updated about 20 hours ago

Image
0

1.4K

mcknaus/hk2_decomposition repository overview

⁠Heterogeneity Analysis with Heterogeneous Treatments

This repository contains the replication package for the Job Corps analysis in Heterogeneity Analysis with Heterogeneous Treatments by Phillip Heiler and Michael C. Knaus. The image includes RStudio Server, the required R packages, the Job Corps source data⁠, and the analysis notebooks.

⁠Run the analysis

Open PowerShell in a fresh folder where you want to save the results. Pull the current image, then start RStudio Server. Replace your-password with a password of your choice.

docker pull mcknaus/hk2_decomposition
docker run -d --name hk-decomposition -p 127.0.0.1:8787:8787 -e PASSWORD=your-password -v "${PWD}/data:/home/rstudio/data" -v "${PWD}/images:/home/rstudio/images" -v "${PWD}/results:/home/rstudio/results" mcknaus/hk2_decomposition

Open http://localhost:8787⁠ and sign in as rstudio with that password.

  • To reproduce all results, open run_all.R and click Source. The rendered HTML notebooks appear in your local results folder as each notebook finishes.
  • To explore the analysis interactively, open the .Rmd notebooks in code/ in numerical order, run their chunks, and click Preview.

Open README.html in the container for a guide to the notebooks and approximate running times.

Tag summary

Content type

Image

Digest

sha256:09700e7d2…

Size

1.1 GB

Last updated

about 20 hours ago

docker pull mcknaus/hk2_decomposition