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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 620 views
  • 1 like
  • 2 in conversation