全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
8198 3
2008-06-18
      我使用stata进行固定效应分析后,估计的统计分析结果。可是参数估计值从哪里能得到呢?以及残差序列如何得到?万分感谢啊
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2008-6-21 09:51:00
    各位师兄师姐,哪位能给解释解释啊,万分感谢!小弟实在是看不懂了
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-6-21 16:50:00

https://bbs.pinggu.org/thread-188730-1-1.html

这里有stata的manual,里面介绍的很详细。

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2008-6-22 07:47:00

 xtreg y x, fe 
 est store m_fe
 
 est table m_ols m_fe, b(%6.3f) star(0.1 0.05 0.01)

  *---拟合值和残差
    * y_it = u_i + x_it*b + e_it
    * predict newvar, [option]                     
                                                     /*
       xb           xb, fitted values; the default
       stdp         calculate standard error of the fitted values
       ue           u_i + e_it, the combined residual
       xbu          xb + u_i, prediction including effect
       u            u_i, the fixed- or random-error component
       e            e_it, the overall error component */
 
    xtreg market invest stock, fe
    predict y_hat
    predict a   , u
    predict res , e
    predict cres, ue
    gen ares = a + res
    list ares cres in 1/10

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群