separate vector for each column in 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

Nau2306
Posts: 74
Joined: Thu Nov 17, 2011 11:51 am

separate vector for each column in a matrix

Postby Nau2306 » Sat Dec 17, 2011 11:11 am

Hello

I have a 1306 x 12 matrix and I would like to create a separate vector for each column in eviews6. How can that be done?

Can someone please help?
Thanks

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: separate vector for each column in a matrix

Postby trubador » Sat Dec 17, 2011 2:36 pm

Code: Select all

for !i = 1 to 12 vector v!i = @columnextract(your_matrix,!i) next

Nau2306
Posts: 74
Joined: Thu Nov 17, 2011 11:51 am

Re: separate vector for each column in a matrix

Postby Nau2306 » Sun Dec 18, 2011 11:04 am

Thanks a lot :)


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests