Defining a string as series start date

For questions regarding programming in the EViews programming language.

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

HollEviews
Posts: 15
Joined: Wed Mar 12, 2014 6:52 am

Defining a string as series start date

Postby HollEviews » Tue Jul 15, 2014 10:35 am

Hello, please can you tell me how to set a string variable that is equal to the start date of a particular series? For example, working with quarterly data, the start date of series y is 1998Q1 and series x is 1990Q3, and I would like to create

string ystart = "1998Q1" and string xstart = "1990Q3" , with eviews automatically identifying the start date of each series.
Thank you!

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

Re: Defining a string as series start date

Postby EViews Gareth » Tue Jul 15, 2014 11:11 am

Code: Select all

string ystart = y.@first

HollEviews
Posts: 15
Joined: Wed Mar 12, 2014 6:52 am

Re: Defining a string as series start date

Postby HollEviews » Tue Jul 15, 2014 1:54 pm

Many thanks for such a quick reply!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest