BookmarkSubscribeRSS Feed
samer_badri75
Quartz | Level 8

Greeting All

I have a Q related to explain the multiple regression model explanation which is for example:

X= 0.4563 + 0.0134 °C + 0.43 h

if I need to explain by cofficient but the problem they are diffiernt.So, it is better to explain that using ANOVA result?

Thanks

8 REPLIES 8
PaigeMiller
Diamond | Level 26

Please explain your question in more detail.

 

Why do you think the coefficients should be the same? Why is it a problem that they are different? Normally, coefficient on variable A will be different than the coefficient on variable B.

--
Paige Miller
samer_badri75
Quartz | Level 8

 Many thanks for your quick respond 

Please note that the ranges of temperature (70-90°C) and time (12-18 h) differ numerically; therefore, the effect of a unit change in each coefficient on the outcome will vary. A direct comparison of coefficient magnitudes is misleading without considering the scale of their respective variables.

That what I get from editorial bord related to one munscript.

PaigeMiller
Diamond | Level 26

I agree with what you wrote. So what is your question?

--
Paige Miller
samer_badri75
Quartz | Level 8

I am asking what is the better way to explain the modle ?

Is it depend on p-valu or the cofficient 

PaigeMiller
Diamond | Level 26

You could standardize the input x-variables, to have mean 0 and variance 1, and then run the regression again, and now you can compare the coefficients directly.

 

Does that help? Is that what you want?

--
Paige Miller
samer_badri75
Quartz | Level 8

Looks good but how to do that

for example 

x             Temp    hour

0.064       75        12

.                  .            .

.                 .              .

0.0368      90        15                

 I have 27 number for each colume 

PaigeMiller
Diamond | Level 26

You seem to be using X as the response variable, while I am using x to represent the independent variables.

 

In SAS, use PROC STDIZE to perform standardization on the independent variables.

https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_stdize_toc.htm

 

Then run the regresssion.

 

 

--
Paige Miller
Ksharp
Super User

I do not understand since temperature (70-90°C) and time (12-18 h) are totally different variables ,why do you want to comprare their coefficient ? Maybe want to find out the importance of variables in model ?

As a matter of fact, you can compare different variables estimated coefficient by STB option of PROC REG/PROC GLMSELECT/PROC GLIMMIX.

Check @Rick_SAS   blogs:

 

https://blogs.sas.com/content/iml/2018/08/22/standardized-regression-coefficients.html

https://blogs.sas.com/content/iml/2021/05/17/standardized-coefficients-glimmix.html

https://blogs.sas.com/content/iml/2023/07/17/standardize-reg-coeff-class.html

 

sas-innovate-white.png

Missed SAS Innovate in Orlando?

Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.

 

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
  • 8 replies
  • 620 views
  • 0 likes
  • 3 in conversation