Page 1 of 1

Vector in EViews

Posted: Wed Aug 19, 2015 2:35 am
by loulouviews
Hi everybody,

I'm quite puzzled with the use of vectors in EViews as I didn't find how to do these two things :
- how to get the length of a vector (@len is for strings) ?
- How can I create a vector and assign a list of values to it ? writing something like

Code: Select all

vector(4) myVector=(1,2,3,4)
is not working.

Thanks a lot for your replies !!

Btw, I'm using EViews 8 Enterprise.

Loulouviews

Re: Vector in EViews

Posted: Wed Aug 19, 2015 7:07 am
by EViews Gareth

Code: Select all

!length = @rows(myvector) vector(4) myvector myvector.fill 1, 2, 3, 4

Re: Vector in EViews

Posted: Thu Sep 03, 2015 3:37 am
by loulouviews
Thanks for your reply !

Loulouviews