全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
2963 1
2013-07-26
请教SAS如何对“斜率=1”进行T检验,还有如何对“截距=0,斜率=1”进行WALD检验,都是一元回归,求高手指点
二维码

扫码加我 拉你入群

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

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

全部回复
2013-7-27 01:25:30
复制代码
Here's an example.
In model 1, Test1 tests 'slope=3', the square root of the F-test statistic is the t-test statistics you want; Test2 tests 'Intercept=0 and Slope=3' and it's a Wald test.

Alternatively, subtract 3*LotSize from the response variable then run Model 2, you'll see the t-test in the 'Parameter Estimates' section of output.
Also you can compute the Wald test statistic manually as
(322793 - 54825)/2 / (54825/23),
where 322793=error sum of squares of model 3 (null model), 54825=error sum of squares from model 2 (full model), 2 = # of parameters in test, 23 = degrees of freedom in full model.

二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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