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

Hi all,

 

I am using a code with PROC GLM for a multivariate regression.

I would like to get the adjusted R-Square.

I have numeric and categoric variables.

 

How could I get this Adjusted R-Square working with proc glm?

 

Thanks all in advance,

 

Daniel

1 ACCEPTED SOLUTION

Accepted Solutions
gcjfernandez
SAS Employee

Replace PROC GLM with PROC GLMSELECT:

See this sample code:

proc glmselect data=sashelp.class;
class sex;
model weight = sex height age/selection=none;
Run;

 

View solution in original post

2 REPLIES 2
gcjfernandez
SAS Employee

Replace PROC GLM with PROC GLMSELECT:

See this sample code:

proc glmselect data=sashelp.class;
class sex;
model weight = sex height age/selection=none;
Run;

 

Moraes86
Obsidian | Level 7
Thank you very much!

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of 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
  • 2 replies
  • 677 views
  • 1 like
  • 2 in conversation