I'm trying to create a check that will loop through some series and put any of them in a group if the last few months of history contain any NAs. Here's the code I'm using:
group gr_missing
smpl 2012:1 2014:4
for %s xrcaus indsa hussa husonesa husmulsa hus husone husmul
if @nas({%s}) >0 then
gr_missing.add {%s}
else
endif
next
Is this the correct coding? It runs, but it will populate the group with series that are not missing any values.
Find Missing Values
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: Find Missing Values
Looks right to me.
Who is online
Users browsing this forum: No registered users and 1 guest
