Hello all
So I am doing an analysis using psmatch2. I have run all the required commands to get ATT estimates. However, the issue I am facing is when I export the results to Latex (or any other format). The tables exported show estimates for the unmatched population and not for the ATT.
Not sure what option to add in the esttab command to have the ATT estimates reported for the matched population. Help here will be much appreciated.
Pasting my code below:
****************************************
* Propensity Score Matching (PSM)
*****************************************
preserve
drop if round==1
generate sort_id = uniform() //have set seed at the start of do-file
sort sort_id
qui probit treatment *have added covariates here*, vce(cluster cluster_code_new)
predict pscore if e(sample)
forvalues i=1/43 {
local y: word `i' of $stitch $skills $mkt $earn $mobility $nonecon $hh $spill $childnut $malepercep
eststo psm_1A_`i': psmatch2 vbt, out(`y') pscore(pscore) n(1) norepl common
}
pstest $in
restore
// Exporting tables (for first 5 variables)
cap cd "$file/Tex/Results"
forvalues i=1/1 {
local reg: word `i' of "psm"
esttab `reg'_1A_1 `reg'_1A_2 `reg'_1A_3 `reg'_1A_4 `reg'_1A_5 using "`reg'.tex", ///
se star(* 0.10 ** 0.05 *** 0.01) label replace b(3)
}
Related Posts with Propensity Score Matching - Exporting results using esttab
SEM - insignificant direct path vs. significant indirect pathsDear Forum, I am conducting SEM analysis in Stata and I have specified a well-fitting measurement m…
Panel Data Regression: reg vs xtregHello Everyone, I have a panel data that I am trying to make a regression for and I am confused whi…
Problems with controls and fixed effects in DIDHi, I'm currently using triple difference to analyse the effect of minimum marriage age legislation…
Two part model with instrumental variableHi: I am using a two part model with a binary dependent variable and a binary endogenous regressor.…
DiD Regression with panel data measuring two factors before and after treatmentHi all! I'd appreciate some help on trying to run a regression through Stata. I am relatively new to…
Subscribe to:
Post Comments (Atom)
0 Response to Propensity Score Matching - Exporting results using esttab
Post a Comment