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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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