Replace missing values with array.

by Irina 14. April 2007 08:21

Sometimes We want replace all the missing values in data this some value.

This is the easy way to do it.

data toz;
set toz;
array toz{*} _NUMERIC_ ;
do i = 1 to dim(toz);
if toz{i} = . then toz{i} = 0;
end;
drop i;
run;

 

Tags:

SAS

Related posts

Comments

7/25/2011 11:32:14 PM

This is my first post. I really like this blog. I’m reading this post from my I-Phone and it looks great!

Monster Beats

7/25/2011 11:32:33 PM


Your article is quite uplifting,I wish you continued results in creating.

Pandora Beads

7/25/2011 11:33:00 PM

Lively and interesting picture and article is quite uplifting.I like it very much

louboutin

7/25/2011 11:33:25 PM


It's okay... love looking at your lovely post.
Not much words needed, really.

Pandora Charms

4/11/2012 11:50:54 PM

.I did a little research on the topic and found that most people agree with your blog. Thanks.

Coach Factory

4/12/2012 2:13:48 AM

Thanks for the information that is good heard.

cheap coach handbags

4/12/2012 2:29:40 AM

Thanks a lot for enjoying this beauty article with me. I am appreciating it very much! Looking forward to another great article.

Coach Outlet

4/16/2012 12:32:04 AM

I like it very much, I will come next time, thank you for your service and I am satisfied with it.

Coach Outlet

5/3/2012 1:20:02 AM

Thank you for sharing, I really enjoyed your posts and pictures they were great! I think that all of us who follow this blog have that same feeling that you got from visiting.

Coach Outlet

5/3/2012 6:42:33 AM

nice post!

Coach Outlet Online

Add comment


(will show your Gravatar icon)  





Live preview

5/20/2012 8:15:25 AM

 

About the author

Irina Spivak Irina Spivak
Team Leader at G-Stat. More...


Send mail Email

Blogroll

    Disclaimer

    The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

    © Copyright 2012

    Sign in

    eXTReMe Tracker