Page 1 of 1

Include the date as a column of a matrix

Posted: Mon Oct 28, 2013 5:57 am
by DBel2012
Good morning,

I'm using Eviews 7

I've got a program that creates a matrix from a group of quarterly time series.

I need to include the date (ex. 2000Q1 or 20001) along with the series.

I know how to include the year (@year) and the quarter (@quarter) in two separate colums, but I can't figure out how to include the date in one column.

Any idea how (or if) that could be done?

Thanks!

Re: Include the date as a column of a matrix

Posted: Mon Oct 28, 2013 8:04 am
by EViews Gareth
Include @date

Re: Include the date as a column of a matrix

Posted: Mon Oct 28, 2013 8:22 am
by DBel2012
Hi Gareth,

I've tried @date, but I got the following date format : 1/1/2000 instead 2000Q1.

Is there something else I should add?

Thanks!

Re: Include the date as a column of a matrix

Posted: Mon Oct 28, 2013 8:47 am
by EViews Gareth
I don't understand what you mean. A matrix can't show either of those date formats.

Re: Include the date as a column of a matrix

Posted: Mon Oct 28, 2013 9:09 am
by DBel2012
Hi Gare

Finally, I was able to come up with a way of creating the kind of numeric date I was looking for using this set of commands :

@val(@strdate("YYYY.Q"))

Thanks!