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
Panel DataHi, I am using panel data with the wave variable ranging from 1 to 10 however i would like to focus…
Jackknife xtqregUsing the Grunfeld data, this works: Code: bootstrap, reps(50) cluster(company) idcluster(comp): xt…
matching single county with unique congressional districtAccording to us house election data a single county for a specific state belongs to multiple congres…
Combine multiple rows into one when end_date = start_dateHi there, I am looking for a code that combine the rows when end_date = start_date for a certain ID…
Testing stability of reggression discontinuity model (TED)Hello Statalisters, I need your valuable advice. Having applied in my analysis regression discontin…
Subscribe to:
Post Comments (Atom)
0 Response to loop across data-sets save margins and make a resume table
Post a Comment