永发信息网

stata如何estate common命令怎么解读

答案:2  悬赏:30  手机版
解决时间 2021-01-25 08:35
stata如何estate common命令怎么解读
最佳答案
stata如何estate common命令怎么解读
一般用ttest.
. sysuse auto

. ttest mpg==20
. webuse fuel3
. ttest mpg, by(treated)
. webuse fuel
. ttest mpg1==mpg2
// (immediate form; n=24, m=62.6, sd=15.8; test m=75)
. ttesti 24 62.6 15.8 75

test有不同的用法,下面是一些例子:
Examples after single-equation estimation
Setup
. webuse census3
. regress brate medage medagesq i.region
Test coefficient on 3.region is 0
. test 3.region=0
Shorthand for the previous test command
. test 3.region
Test coefficient on 2.region=coefficient on 4.region
. test 2.region=4.region

Stata will perform the algebra, and then do the test
. test
2*(2.region-3*(3.region-4.region))=3.region+2.region+6*(4.region-3.regio
> n)

Test that coefficients on 2.region and 3.region are jointly equal to 0
. test (2.region=0) (3.region=0)
The following two commands are equivalent to the previous test command
. test 2.region = 0
. test 3.region = 0, accumulate
Test that the coefficients on 2.region, 3.region, and 4.region are all 0;
testparm understands a varlist
. testparm i(2/4).region
In the above example, you may substitute any single-equation estimation command
(such as clogit, logistic, logit, and ologit) for regress.
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
全部回答
我不会~~~但还是要微笑~~~:)
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
老公买车写老婆名字好不好?
人脱衣服,它穿衣服,人脱帽子,它戴帽子。打
被一辆肇事逃逸的车撞了,报警后 交警没法抓
急!!给高分!,主管出题目,一分钟演讲,"让更多
格力空调怎么开机显示发fe呢
【护理学是什么】护理学的概念是什么?
吕昕桐女孩名字大全
【硅藻泥目前最好的是什么品牌?】
保定哪有街舞学校啊?要正规点的,谢谢啦!
断层皮片是指A.表皮和真皮的全层B.只包括表皮
单选题法的产生和发展体现的哲学原理是A.具体
为什么我这个月的流量都没用却给10086发短信
谁有法国DUT 的详细介绍??
化妆时可以先涂隔离霜再涂bb霜吗
(一)ALuckyBreak根据以下材料,完成下列的
推荐资讯
人民法院停车场(下州路)怎么去啊,我要去那办
怎么识别真假香烟的烫口
亲们,谁是云南省思茅市(普洱)江城县嘉禾乡
止痛药并不损伤神经元的结构,却能在一段时间
圆梦尚宫地址有知道的么?有点事想过去
历史上博望坡那把火是谁放的?
企业发出材料的核算,可以采用的方法有(  
吉水县醪桥派出所地址在什么地方,想过去办事
鄂州市梁子长港供电营业厅地址在哪,我要去那
福建省尤溪县文峰中学地址在什么地方,我要处
粤b8888宾利是号码车主是
小学语文6年级下册周记
正方形一边上任一点到这个正方形两条对角线的
阴历怎么看 ?