Dear all,
Please kindly help. I would like to report the constants clearly after running my regressions.
Below is my code and the attached (Array ) describes what I have and what I want. I am struggling but failed.
I appreciate your time.
cap log close
cap clear
eststo clear
use "building", clear
sort weight1 MT
xtset weight1 MT
* dependent vars
local dvar1 y1
local dvar2 y2
local dvar3 y3
* indepedent vars
local ivars1 x1
local ivars2 x1 x2 x3
local ivars3 x1 x2 x3 x4
forv d=1/3 {
forv i=1/3 {
foreach var of varlist `dvar`d'' {
eststo: newey `var' `ivars`i'', lag(3)
}
}
}
esttab _all using Table.rtf, replace
Best regards,
Chris
Related Posts with Stack constant after running multiple regressions
regression loop !Dear Colleagues I have daily stock returns and market return for 100 firms and for a number of year…
PSM model (3d time)Hello every one please i have a big difficulty with propensity score matching model, i understood th…
Piecewice regression on panel dataDear Statalist, I am trying to do a piecewice regression with panel data, using nl to find the corr…
-moremata- update: improved entropy balancing algorithmAn update to the moremata package is now available from SSC. Type Code: . ssc install moremata, re…
fixed effect regression with unbalanced panelDear Statalisters, I would like to do a fixed effect regression using 28 European countries across …
Subscribe to:
Post Comments (Atom)
0 Response to Stack constant after running multiple regressions
Post a Comment