楼主: horizonpan
5276 4

[求助]Stata中如何命名已估计的模型方程 [推广有奖]

  • 0关注
  • 0粉丝

学前班

80%

还不是VIP/贵宾

-

威望
0
论坛币
1 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
85 点
帖子
4
精华
0
在线时间
1 小时
注册时间
2007-12-12
最后登录
2012-12-19

楼主
horizonpan 发表于 2009-4-2 22:22:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币

RT

小弟需要检验两个回归模型中的没个变量的系数是否相同

用test命令,test [eqno=eqno[=...]] [: varlist]  这里的eqno是自己设置的吗?如果是的话在前面估计完如何命名估计出的方程?

请教各位大虾~

二维码

扫码加我 拉你入群

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

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

关键词:Stata tata varlist test list 求助 方程 模型 Stata

沙发
蓝色 发表于 2009-4-3 07:22:00

Examples after multiple-equation estimation commands

    Setup
        . sysuse auto
        . sureg (price foreign mpg displ) (weight foreign length)

    Test significance of foreign in the price equation
        . test [price]foreign

    Test that foreign is jointly 0 in both equations
        . test [price]foreign [weight]foreign

    Shorthand for the previous test command
        . test foreign

    Test a cross-equation constraint
        . test [price]foreign = [weight]foreign

    Alternative syntax for the previous test
        . test [price=weight]: foreign

    Test all coefficients except the intercept in an equation
        . test [price]

    Test that foreign and displ are jointly 0 in the price equation
        . test [price]: foreign displ

    Test that the coefficients on variables that are common to both equations are jointly 0
        . test [price=weight], common

    Simultaneous test of multiple constraints
        . test ([price]: foreign) ([weight]: foreign)

藤椅
蓝色 发表于 2009-4-3 07:29:00
你最好下载stata的手册,上面介绍的详细。

板凳
horizonpan 发表于 2009-4-4 22:21:00

[求助]Stata中如何命名已估计的模型方程

如果我原来的模型需要用xtgls估计的呢?

如:

回归方程1: Y=a*x1+b*x2+c*x3   需用:xtgls y x1 x2 x3,noconstant i(label) panels(correlated)

回归方程2: Y=a*x1+b*x2+d*x4   需用:xtgls y x1 x2 x4,noconstant i(label) panels(correlated)

如果用sureg,回归结果跟我原来的结果不一样,而且我两个方程用的样本不一样,有一个变量不一样,那怎么办呢?

请教大虾~

报纸
guiwo 发表于 2013-3-28 15:48:18
horizonpan 发表于 2009-4-4 22:21
如果我原来的模型需要用xtgls估计的呢?如:回归方程1: Y=a*x1+b*x2+c*x3   需用:xtgls y x1 x ...
打扰了,请问:你用的什么命令完成检验的?多谢~~~
劳谦君子,有终,吉Humanism,Toleration,Condescension & Humour

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-26 18:39