Data members for sample objects

For questions regarding programming in the EViews programming language.

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

modelmaker
Posts: 10
Joined: Fri Apr 08, 2011 7:47 am

Data members for sample objects

Postby modelmaker » Thu Jun 23, 2011 2:02 pm

Is there a way to return a string containing the date range of a sample object? There doesn't appear to be a data member that does this.

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

Re: Data members for sample objects

Postby EViews Gareth » Thu Jun 23, 2011 2:13 pm

No, but of course you can always create a series from the sample object, and then use the series data members:

Code: Select all

smpl s series x=1 string firstdate = @otod(@ifirst(x))


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests