全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 统计软件培训班VIP答疑区
2338 2
2013-05-11
老师,您好!
我的问题是:
将总体样本分为两组;用同一个模型 在两组数据中分别回归
在第一组中回归: y=a+b1 x1 +b2 x2+e
在第二组中回归: y=a+B1 x1 +B2 x2+e
比较 b1  和  B1 是否有显著的差异性。

看过您的文章, 使用自抽样的方法 计算实证P值来解决这个问题。
我也看过其他人的文章,计算了t值 和 p值 来解决这个问题,

我想请教的是: 如何使用 t值和p值 来 比较 b1  和  B1 是否有显著的差异性。在stata 中用什么命令可以实现呢?  谢谢了! 致敬!
二维码

扫码加我 拉你入群

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

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

全部回复
2013-5-12 15:28:37
   
*-模型间参数之比较
  *-Q1: Testing the equality of coefficients across independent areas
  *     
http://www.stata.com/support/faqs/stat/testing.html#
  *-Q2: How can I compare regression coefficients between 2 groups?
  *     
http://www.ats.ucla.edu/stat/stata/faq/compreg2.htm
  *-Q3: How can I compare regression coefficients across 3 (or more) groups?
  *     
http://www.ats.ucla.edu/stat/stata/faq/compreg3.htm
  
  *-Q4: Comparing Regression Coefficients Across Groups using Suest    ***
  *     
http://www.ats.ucla.edu/stat/stata/code/suest.htm
    * e.g.  use http://www.ats.ucla.edu/stat/stata/faq/compreg3
          use compreg3, clear
          regress weight height if age==1
      est store age1
          regress weight height if age==2
          est store age2
          regress weight height if age==3
          est store age3
         
      suest age1 age2 age3

          test [age1_mean]height=[age2_mean]height
         
          test [age2_mean]height=[age3_mean]height, accum
二维码

扫码加我 拉你入群

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

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

2013-5-12 16:04:43
谢谢老师,太感谢您了! 致敬
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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