Hello everyone, I hope all your good.
Look, I'm trying to make a result resume table for a paper, but I don't figure out the key of looping yet.
I have a four dataset (different length etc.. the are household surveys )
I wrote this code for Probit regressions
local i : dir "G:\publicaciones" files "*.dta"
foreach file in `i' {
use `file', clear
asdoc probit tabaco hombre pobre pobrextr originario /*
*/ trabestu urb_rur grupo9 grupo10 , nolog
}
And work because of the asdoc command store and organize the resume table pretty good in Word document.
But my problem is to store the same way (or using eststo command) the margins with some command like this.
eststo margin_1: margins, dydx(*) post
Please, somebody could help me to figure out the loop I need.
Thanks in advance.
Juan
Related Posts with loop across data-sets save margins and make a resume table
Generalized Difference-in-DifferencesGood day all of you! I have a Diff-in-Diff model that I need help with. I want to estimate the ave…
Adding Confidence Intervals to ScatterHi all, Is there a way I can add confidence intervals to the following? scatter aux1hm aux1dm, leg…
Tabulating joint frequencies of M>=2 discrete outcomesDoes anyone have a favorite way of tabulating joint frequencies for M>=2 discrete (numeric) outco…
keep common household information only in the first row of the householdHi all, I have data set with household characteristics. District Village Household_ID Menber_ID …
Baseline covariates interacted with years in a two-way fixed effects regressionHi, I am running a two-way fixed effects regression and would like to include some economic and dem…
Subscribe to:
Post Comments (Atom)
0 Response to loop across data-sets save margins and make a resume table
Post a Comment