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
Not normally distributed errors after controlling for time fixed effectsHello everyone, I am running a regression where I would like to control for both region and time fix…
xtpcse regression with fixed effectsHello, I have a panel of 50 countries over 25 years and I would like to perform a regression with pa…
Changing lasso settingsDear fellow Stata users, I am running lasso regressions using such routines as lasso2 and cvlasso. …
JointPoint / test of secular trendsDear all, I've calcuted incidence rates (using Poisson with offset[logtime] and 1-year age bands and…
please help me, what is the best model or method of estimation?hello , i have panel data unbalanced N=25 T=9 for 20 cross-section and 7 for 5 cross-section all obs…
Subscribe to:
Post Comments (Atom)
0 Response to Stack constant after running multiple regressions
Post a Comment