How to add time series to a matrix

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

Martijn
Posts: 7
Joined: Sun Apr 15, 2012 5:15 am

How to add time series to a matrix

Postby Martijn » Thu Apr 19, 2012 3:22 am

I created 5 time series (showing demand of 5 finished goods). I want to put them in a matrix FG and multiply this matrix with another matrix CONV (representing a conversion table from finished goods into raw materials). The outcome would be a matrix RM showing the raw material demand in time.

Can someone advise how I can add the time series to the matrix FG? Furthermore I am wondering if Eviews would still recognize the time dimension in that matrix.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

How to add time series to a matrix

Postby EViews Gareth » Thu Apr 19, 2012 6:21 am

Matrices do not have time dimensions (groups do).

You can use the stom command to convert a series to a matrix.

Martijn
Posts: 7
Joined: Sun Apr 15, 2012 5:15 am

Re: How to add time series to a matrix

Postby Martijn » Thu Apr 19, 2012 9:00 am

Thank you for your reply.

It works perfectly.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests