BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
lioradam
Quartz | Level 8

Hello,

ֲ I run the regression:

Y = α + β1 X + β2 Dummy variable*X +  β3  Dummy variable + ε
β1

is negative and

β2

is positive.

I want to verify that the sum :

β1+β2

is positive and significant, or ֲ in other words, ֲ 

that

β2>β1

and that the difference is significant.

 

According to the ֲ values the coefficients , ֲ indeed ֲ

β2>β1

but I'm ֲ looking ֲ for statistical test that verify that the difference is significant.

 

Does  SAS perform this kind of test?

 

Thank You,

Lior

1 ACCEPTED SOLUTION

Accepted Solutions
PaigeMiller
Diamond | Level 26

The TEST statement in PROC REG will test if the two parameters are equal. If the test decides they are not equal and also b2 > b1 then you have statistical evidence that b2 > b1. You might have to adjust the p-values to make it a one-sided test.

--
Paige Miller

View solution in original post

3 REPLIES 3
PaigeMiller
Diamond | Level 26

The TEST statement in PROC REG will test if the two parameters are equal. If the test decides they are not equal and also b2 > b1 then you have statistical evidence that b2 > b1. You might have to adjust the p-values to make it a one-sided test.

--
Paige Miller

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

Register now

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 3 replies
  • 3172 views
  • 2 likes
  • 2 in conversation