Search found 2 matches

by MoneyMarcus
Tue Oct 12, 2010 7:30 am
Forum: Programming
Topic: Replace NA by 0
Replies: 5
Views: 14559

Re: Replace NA by 0

Great, thanks for your fast help!
by MoneyMarcus
Tue Oct 12, 2010 6:55 am
Forum: Programming
Topic: Replace NA by 0
Replies: 5
Views: 14559

Replace NA by 0

Hi, my series contains 1641 observations and some of them are NA-entries. I want to write a program that replaces them by zero. I tried it this way: for !i = 1 to 1641 if @isna(@elem(series, !i)) then @elem(series, !i} = 0 endif next Unfortunately, my code returns an error message, telling me that &...

Go to advanced search