Testing hypothesis

Accepted Solution Solved
Reply
Occasional Contributor
Posts: 16
Accepted Solution

Testing hypothesis

I use proc reg statement where the model is y=b1x1+b2x2+e. How can I test the hypothesis that B1 >= B2. The test statement examines linear equations only.


Accepted Solutions
Solution
‎12-15-2014 10:40 PM
Respected Advisor
Posts: 4,606

Re: Testing hypothesis

In proc reg, use the statement

test X2-X1;

and divide the p-value by two (because you are doing a unilateral test). Now, if B1 < B2 and the p-value is significant, then the hypothesis B1 >= B2 is contradicted by your data. Otherwise, your hypothesis holds (i.e. it is not contradicted by your data).

PG

PG

View solution in original post


All Replies
Solution
‎12-15-2014 10:40 PM
Respected Advisor
Posts: 4,606

Re: Testing hypothesis

In proc reg, use the statement

test X2-X1;

and divide the p-value by two (because you are doing a unilateral test). Now, if B1 < B2 and the p-value is significant, then the hypothesis B1 >= B2 is contradicted by your data. Otherwise, your hypothesis holds (i.e. it is not contradicted by your data).

PG

PG
☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 1 reply
  • 161 views
  • 1 like
  • 2 in conversation