LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 8 Oct 1999 15:38:28 -0600
Reply-To:     JGerstle@SW.UA.EDU
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         JGerstle@SW.UA.EDU
Subject:      Replacing Missing values with the Mean
Content-type: text/plain; charset=US-ASCII

I haven't had any luck finding a solution to this in the manuals. Hopefully someone can help.

Using SAS 6.12 on Win95, I need to run several PROC CORR ALPHA on a dataset with several missing values spread throughout it. According to the SAS Log, it's recommended to use NOMISS when calculating ALPHA. This is fine, except it leaves us with a low n. We would like to replace each missing value with the mean of that variable. Is there an option within PROC CORR or another PROC to do this automatically or will I have to calculate the means beforehand and run a data step to replace the missing values. I have around 40 odd variables so I'd rather do the former than the latter. Thanks a lot for any assistance,

John Gerstle Program Analyst, Sr. Applied Gerontology Program University of Alabama


Back to: Top of message | Previous page | Main SAS-L page