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-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

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