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
Testing coefficient equality across different regressions (bootstrap)Dear All, Suppose that I estimate the following two regressions (please ssc install ivreghdfe. In ad…
Interpreting the intercept in the random-effects modelConsider the model yit = a + bXit + ci + eit Using a fixed effect model, the constant term a canno…
FormatHello All, I have a difficulty formating my year variable in my data set. The data set is a huge ta…
Multilevel modelling within Time Series Analysis of Cross-Sectional dataHi, I'm trying to model person within household within a Time Series of Cross-sectional Panel data.…
Plotting a histogramHi I am working with village wise consumption data and I need to generate histograms for the consum…
Subscribe to:
Post Comments (Atom)
0 Response to loop across data-sets save margins and make a resume table
Post a Comment