Skip to content

Commit

Permalink
Use only training data to train in Stata
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCH-K committed Sep 8, 2021
1 parent 9bc094e commit 4eb756b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Machine_Learning/causal_forest.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ keep `r(varlist)'
rcall: df.hold <- st.data()
restore
* Now go back to just the training data
keep if split == 1
* Run causal_forest, storing the effect predictions for the training data in the "effects" variable
* the SEs of those effects in effectSE
Expand Down

0 comments on commit 4eb756b

Please sign in to comment.