楼主: edwardzxf
2046 7

One side test of coefficients in a regression [推广有奖]

  • 0关注
  • 2粉丝

已卖:32份资源

讲师

26%

还不是VIP/贵宾

-

威望
0
论坛币
222 个
通用积分
0.4203
学术水平
0 点
热心指数
2 点
信用等级
0 点
经验
3991 点
帖子
242
精华
0
在线时间
375 小时
注册时间
2010-7-30
最后登录
2021-5-25

楼主
edwardzxf 学生认证  发表于 2014-2-19 18:15:56 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

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

经管之家联合CDA

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

感谢您参与论坛问题回答

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

+2 论坛币
How do I perform a one sided test of the coefficients in a linear regression? for example:

proc reg data = data;
        model  y=x1 x2 x3;
        test x1+x2 =0;
run;


However, test x1+x2 =0 is two sides test, I want to test x1+x2>0, then how? Many thanks.



二维码

扫码加我 拉你入群

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

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

关键词:coefficients coefficient regression EFFICIENT regressio example

沙发
bridge1989 发表于 2014-2-19 20:31:37
I have looked up some relatives books. the test and mtest in reg process must be an equation.
But,your need can be meet by a little change:
     every statistical test wiil give out a statisstical value, then the P will be ensured based on relative statistical limitation table. So one-tailed or two-tailed is based on which table you choose.
      

藤椅
jingju11 发表于 2014-2-20 11:22:02
You could NOT do that in SAS so far. when you do the one-sided test, you are at risk of delivering a valid test. If I were you, I may do bootstrapping for the p value.
JingJu

板凳
edwardzxf 学生认证  发表于 2014-2-20 13:35:24
bridge1989 发表于 2014-2-19 20:31
I have looked up some relatives books. the test and mtest in reg process must be an equation.
But,y ...
I think you are right, the pvalue in a one side test is a half of that in a two-side test.

报纸
edwardzxf 学生认证  发表于 2014-2-20 13:36:33
jingju11 发表于 2014-2-20 11:22
You could NOT do that in SAS so far. when you do the one-sided test, you are at risk of delivering a ...
It's a little bit pity as it's easy to do that in STATA.

地板
bridge1989 发表于 2014-2-20 14:06:28
jingju11 发表于 2014-2-20 11:22
You could NOT do that in SAS so far. when you do the one-sided test, you are at risk of delivering a ...
高级SAS人才啊 我关注了你的博客

7
jingju11 发表于 2014-2-20 21:06:14
edwardzxf 发表于 2014-2-20 13:36
It's a little bit pity as it's easy to do that in STATA.
你的意思是说stata给出的one-sided p 是two-sided test p 一半?比较奇怪,这里的Chi-Sq是不对称的,一半从何而来的呢?
京剧

8
edwardzxf 学生认证  发表于 2014-2-21 15:42:04
jingju11 发表于 2014-2-20 21:06
你的意思是说stata给出的one-sided p 是two-sided test p 一半?比较奇怪,这里的Chi-Sq是不对称的,一半 ...
看看这个:http://www.ats.ucla.edu/stat/mult_pkg/faq/general/tail_tests.htm  
“Deriving a one-tailed test from two-tailed output” 里有提到,当然是有条件的,the distribution is symmetric about zero.

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

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-25 17:24