Hi,
I am trying to remove the nan in different series i have.
I used the following code : X=@recode(X=na,0,X)
However, how can i do it once for all the series ?
Thanks in advance
Remove nan
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Remove nan
You'll have to write an EViews program that loops through every series in the workfile and does that. Something like:
Code: Select all
group mygrp *
for !i=1 to mygrp.@count
%nm = mygrp.@seriesname(!i)
{%nm} = @recode({%nm}=na, 0, {%nm})
next
Who is online
Users browsing this forum: No registered users and 2 guests
