how to transform a vector into a matrix

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

lisa
Posts: 45
Joined: Thu Jul 28, 2011 3:27 pm

how to transform a vector into a matrix

Postby lisa » Mon Aug 15, 2011 3:14 pm

hello,
Please how can I transform a vector into a matrix with eviews?
for example, let u a vector of 200 observations.
I want to form a matrix m(100,2) when the first column contains the first 100 elements of the vector u and the second column contains the last 100 observations of the vector u.
thanks a lot.

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

Re: how to transform a vector into a matrix

Postby EViews Gareth » Mon Aug 15, 2011 3:35 pm

@unvec

lisa
Posts: 45
Joined: Thu Jul 28, 2011 3:27 pm

Re: how to transform a vector into a matrix

Postby lisa » Mon Aug 15, 2011 3:42 pm

thanks

lisa
Posts: 45
Joined: Thu Jul 28, 2011 3:27 pm

Re: how to transform a vector into a matrix

Postby lisa » Wed Aug 17, 2011 10:48 am

can I use @unvec in eviews 5?
each time that I tape it an error message appears ('syntax error')

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

Re: how to transform a vector into a matrix

Postby EViews Gareth » Wed Aug 17, 2011 10:55 am

No. In EViews 5 you're out of luck.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests