Extract a scalar from a time series
Posted: Thu Oct 24, 2013 9:37 am
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
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