My scalar should be equal to the value of a time series at the end of the sample period.
Is there a direct way to address the issue without constructing matrices?
Assume that x is a time series.
The approach below does not work with Eviews 7.2
%inidate = "09/15/2011"
%lastdate = "10/01/2013"
{%lastdate} {%lastdate}
scalar scalar_x = x
{%inidate} {%lastdate}
series meanstar_x = scalar_x
Extract a scalar from a time series
Moderators: EViews Gareth, EViews Moderator
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13307
- Joined: Tue Sep 16, 2008 5:38 pm
Return to “General Information and Tips and Tricks”
Who is online
Users browsing this forum: No registered users and 13 guests