楼主: kirschekirsche
8211 5

ttest [推广有奖]

  • 0关注
  • 0粉丝

高中生

2%

还不是VIP/贵宾

-

威望
0
论坛币
7 个
通用积分
0.9871
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
205 点
帖子
43
精华
0
在线时间
0 小时
注册时间
2008-12-22
最后登录
2009-4-20

楼主
kirschekirsche 发表于 2008-12-26 08:34:00 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币

请问各位高手,在运行stata 的时候,如何检验自变量和因变量的相关系数β=0?其中自变量是十年以来公司的各种数据,因变量是十年以来公司的总收益,谢谢大家了~~~~~~~~~~~~~~

即,如何运行

H0:β=0, H1: β ≠0, 命令是什么??多谢大家了

 

二维码

扫码加我 拉你入群

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

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

关键词:ttest test Est Stata tata ttest

沙发
蓝色 发表于 2008-12-26 10:39:00


Examples:  after single-equation estimation except anova

        . regress y age female educ region1 region2 region3 region4

        . test region1 = region2 = region3

        . test region4 = (region1+region2)/2

        . test (region1 = region2) (region3 = region4)

        . test educ=.1

        . test region1 region2 region3 region4, mtest

        . testparm region*

    In the above example, you may substitute any single-equation estimation command (such as clogit,
    logistic, logit, ologit, etc.) for regress.


Examples:  after multiple-equation estimation commands

    using mvreg as an example
        . mvreg y1 y2 y3: x1 x3 x3 site1-site3

    test y1 coefs = 0
        . test [y1]

    test y1 site coefs = 0
        . test [y1]: site1 site2 site3

    test all site coefficients are 0
        . test site1 site2 site3

    test y1 coefficients = y2 coefs
        . test [y1=y2]
        . test [y1=y2]: site1 site2 site3, mtest(bonf)

    test y1 coefs = y2 coefs = y3 coefs
        . test [y1=y2=y3]
        . test [y1=y2=y3]: site1 site2 site3


Examples:  after mlogit

        . mlogit y x1 x2 x3 site1 site2 site3

    test y=1 coefs = 0
        . test [1]

    test y=1 site coefs = 0
        . test [1]: site1 site2 site3

    test y=1 coefficients = y=2 coefs
        . test [1=2]

        . test [1=2]: site1 site2 site3

    test all site coefficients are 0
        . test site1 site2 site3


Examples:  after reg3

        . reg3 (y1 = x1 x2 x3) (y2 = x1 x3 x4) (y3 = x1 x2 x5)

    test y1 coefs = 0
        . test [y1]

    test equality common coefficients in y1, y2, y3: only x1
        . test [y1=y2=y3], common

    test equality common coefficients in y1 and y2 (x1 x3 _cons) and in y1 and y3 (x1 x2 _cons)
        . test ([y1=y2]) ([y1=y3]), common constant


Examples with testparm

    . testparm inc*

    . testparm inc*, equal equation(select)

藤椅
kirschekirsche 发表于 2008-12-26 11:46:00

非常感谢~~~

我还是新手~~不大看的懂,版主真的是好厉害的说~~

板凳
kirschekirsche 发表于 2008-12-26 11:47:00

厉害~~

非常感谢~~~

我还是新手~~不大看的懂,版主真的是好厉害的说~~

 

报纸
蓝色 发表于 2008-12-26 12:02:00

这是stata的help里面的

你先买本基础的书看看吧

地板
jellylongan 发表于 2009-2-27 13:04:00

corr 因变量 自变量

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-19 02:52