Check if NA exists within series

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

BT454
Posts: 135
Joined: Wed Aug 02, 2017 6:07 am

Check if NA exists within series

Postby BT454 » Wed Nov 17, 2021 9:20 am

Hi all!
Is there quick way to check if any value of a given series is an NA?
Thanks!
Bob

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13294
Joined: Tue Sep 16, 2008 5:38 pm

Re: Check if NA exists within series

Postby EViews Gareth » Wed Nov 17, 2021 10:56 am

Do you mean "check if a series contains any NAs"?

Code: Select all

if seriesname.@obs <> @obsrange then

endif
Follow us on Twitter @IHSEViews

BT454
Posts: 135
Joined: Wed Aug 02, 2017 6:07 am

Re: Check if NA exists within series

Postby BT454 » Wed Nov 17, 2021 11:22 am

Thank you!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 12 guests