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
Twoway Graph - option mlabformat() not allowedHi everyone, First time posting questions by myself here. I used to browse the questions and find s…
mmqreg with outreg2Dear All, I ran the regression (Please ssc install mmqreg, ssc install outreg2): Code: webuse nlswo…
Merge two tables with different unique idHi, I have two tables named Ingreso and Trabajo. They look like this: Ingreso folioviv foliohog …
Whether coefficients of before clustering and after clustering in using reg command is strange?Hi all, Today I run a simple reg for a panel dataset with a panel of units and time periods , I con…
Behavior analysis (relational or random variables?)Dear, good night! I read several topics, but I got more lost. I tried to make a tree to check a path…
Subscribe to:
Post Comments (Atom)
0 Response to Propensity Score Matching - Exporting results using esttab
Post a Comment