Time series specific value

For questions regarding programming in the EViews programming language.

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

pgrign
Posts: 11
Joined: Fri Mar 03, 2017 2:59 am

Time series specific value

Postby pgrign » Mon Jun 12, 2017 3:15 am

Hi everybody,

I have an issue that I guess it's really easy to solve, but I can't figure it out.

In a time series with quarterly data I have a regression to run, and I want the program to choose the regressor: i.e., if the value corrisponding to 2017Q1
in series "A" is "NA" -> use series "B" as regressor.

So I would use the IF statement. The thing is that, how do I check if in 2017Q1 I have a numerical value or "NA"?

Thank you

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

Re: Time series specific value

Postby EViews Gareth » Mon Jun 12, 2017 4:18 am

@elem
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 40 guests