Replication code for "CAUSAL ORTHOGONALIZATION: MULTICOLLINEARITY, ECONOMIC INTERPRETABILITY, AND THE GRAM-SCHMIDT PROCESS" in R and Stata
For Stata
- Open LaplaceNLSYreplication.do and run (Cntrl+d).
- Set user output preferences in the file, as indicated.
- May require designating local repository directory.
For RStudio
- Open replicateLaplaceNLSY.Rmd and run all.
- May initiate package installations and R restart.
- Output tables will display on RStudio Console in LaTeX format - copy and paste to LaTeX viewer.