Page 1 of 1
vectors to matrix
Posted: Fri Aug 26, 2011 10:52 am
by jolly
Hello,
I have to wectors and I want to group them into matrix. How can I do it?
Thanks
Re: vectors to matrix
Posted: Fri Aug 26, 2011 10:53 am
by EViews Gareth
Make a matrix of the correct size, then use the colplace function to put your vectors into the matrix.
Re: vectors to matrix
Posted: Fri Aug 26, 2011 11:06 am
by jolly
thank you. And another question. when i try to use yours function. it's said that one of my vectors values are not numerical. How I should convert them to numerical?
Re: vectors to matrix
Posted: Fri Aug 26, 2011 11:31 am
by EViews Gareth
@val
Re: vectors to matrix
Posted: Fri Aug 26, 2011 12:05 pm
by jolly
suppose, mu vector is MM and I shoul convert him. so how it's decribe with function @val. ?
vectors to matrix
Posted: Fri Aug 26, 2011 12:06 pm
by EViews Gareth
If Mu is a vector, it, by definition, already contains numerical data.
Re: vectors to matrix
Posted: Sun Sep 18, 2011 8:10 pm
by stevecsp
Hi, eviews.
I would also like to use colplace function to insert a column vector in the the matrix. However, it requires me to insert a column vector with the same number of rows as the matrix.
So what if some of my column vectors is shorter than the the matrix? How can I insert them into the "larger" matrix? Thank you.
Re: vectors to matrix
Posted: Sun Sep 18, 2011 9:18 pm
by EViews Gareth
matplace
Re: vectors to matrix
Posted: Mon Sep 26, 2011 1:30 am
by stevecsp
Thanks a lot. It works