I would like to calculate the variance of returns over a specified time horizon as shown in the code below:
Code: Select all
series z = @vars(return, "1990m01 1999m12")
series x = @vars(return, "2000m01 2009m12")How can I do that in eviews? Can I write a command to do that?
Thanks in advance.
