Dear All,
Just want to ask a question: I think PROC MIXED, PROC GLM are very powerful in the regression analysis, could I say that PROC REG has been out of date?
What is the main reason that we should still keep such procedure in the SAS package?
Best,
Jack.
I would argue that you want to use the simplest procedure possible that solves your problem, not the most general. The more specific procedures have additional tests that can be more powerful.
I think logistic regression is the best place to see this. PROC GENMOD can fit logistic models, but PROC LOGISTIC has specific tests (such as the Hosmer-Lemeshow GIF test) and graphics (ROC curves) that are applicable in the special case of a binary response.
PROC REG uses OLS regression, which is faster and gives different results than iterative MLE estimation in the generalized regression procedures. If you have continuous variables and want to run OLS regression, PROC REG provides a direct computation.
To use a math analogy, you could use complex numbers to balance your checkbook, but you don't. Real numbers are simpler, easier to work with, and they get the job done.
proc reg has some unique features that could be implemented in glm or mixed but I guess the real reason proc reg cannot go away is the tremendous legacy of code relying on it.
I would argue that you want to use the simplest procedure possible that solves your problem, not the most general. The more specific procedures have additional tests that can be more powerful.
I think logistic regression is the best place to see this. PROC GENMOD can fit logistic models, but PROC LOGISTIC has specific tests (such as the Hosmer-Lemeshow GIF test) and graphics (ROC curves) that are applicable in the special case of a binary response.
PROC REG uses OLS regression, which is faster and gives different results than iterative MLE estimation in the generalized regression procedures. If you have continuous variables and want to run OLS regression, PROC REG provides a direct computation.
To use a math analogy, you could use complex numbers to balance your checkbook, but you don't. Real numbers are simpler, easier to work with, and they get the job done.
Many thanks for your quick and detailed clarification.
There really is no other procedure available for looking at collinearity diagnostics. For that alone, PROC REG is worth having.
Steve Denham
And don't forget COOK-D statistic which can check which obs has the most contribution to model.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
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.