Page 1 of 1

creating a table from multiple series

Posted: Sun May 07, 2017 5:31 am
by tr206
Dear all,

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")
Now I would like to create a table from the outcomes z and x which displays the variance of the two time horizons as defined in the code. I wish to present the variances in one line and two columns.
How can I do that in eviews? Can I write a command to do that?

Thanks in advance.

Re: creating a table from multiple series

Posted: Sun May 07, 2017 6:32 am
by EViews Gareth

Code: Select all

table mytable smpl 1990 1999 mytable(1,1) = @vars(return) smpl 2000 2009 mytable(1,2) = @vars(return)

Re: creating a table from multiple series

Posted: Mon May 08, 2017 4:13 am
by tr206
Great, thanks.
How can I name the columns and the lines? I want the smpl command as header of the columns.

Re: creating a table from multiple series

Posted: Mon May 08, 2017 8:28 am
by EViews Gareth
mytable(1,1) = "2000 2009"