0
我试图重复以下过程:Stata的 - 回归和估计采用存储forvalues
forvalues i=1990(1)2013 {
reg a b c if year==`i',r
est sto G`i'
}
然而,塔塔退步,不存储每个回归系数。 forvalues
可能不是最好的命令,但我不知道哪种编码更好。
我试图重复以下过程:Stata的 - 回归和估计采用存储forvalues
forvalues i=1990(1)2013 {
reg a b c if year==`i',r
est sto G`i'
}
然而,塔塔退步,不存储每个回归系数。 forvalues
可能不是最好的命令,但我不知道哪种编码更好。
尼克建议,这里很明显的解决方案是
ssc install esttab
forvalues i=1990(1)2013 {
reg a b c if year==`i', r
eststo G`i'
}
esttab, ar2
你的问题可能是更好的冒充MCVE。见http://stackoverflow.com/help/mcve在你的问题中没有提到'esttab'。请注意,'est sto'和'eststo'是不同的命令。 –