Write and run SAS programs in your web browser

Replacing missing values with median

Reply
New Contributor
Posts: 2

Replacing missing values with median

I have tried to replace all the missing values in my data with the median. 

proc stdize data=callcenter out=callcenternew missing=median;
var _numeric_;
run;

It messed all the numbers that I have in the data. 

How can I replace missing values with the median?

Super User
Super User
Posts: 6,842

Re: Replacing missing values with median

You need to add the REPONLY option if you don't want it to actually standardize your variables.

Ask a Question
Discussion stats
  • 1 reply
  • 354 views
  • 0 likes
  • 2 in conversation