BookmarkSubscribeRSS Feed
lalaktgrau
Fluorite | Level 6

Hi everyone,

 

Is there a way to export the data set being used by a PROC GLM?

 

I want to see which observations are not being used in the regression. I know its probably due to missing data, but I don't actually have that much missing data in my data set.

 

SAS Output

Number of Observations ReadNumber of Observations Used
1064
458

 

 

1 REPLY 1
PGStats
Opal | Level 21

Request an output dataset with residuals.

 

OUTPUT OUT=MyRes R=resid;

 

Only obs used in the regression will have a non missing residual.

 

This is assuming you didn't use a WEIGHT statement in proc GLM.

PG

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 16. 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
  • 1 reply
  • 1177 views
  • 2 likes
  • 2 in conversation