Page 1 of 1

mtos error message

Posted: Wed Apr 27, 2011 5:02 pm
by eviewsnew
I have a vector a, and i try to use mtos to convert it to a series b. My code is:

series b
mtos(a, b).

the error message is below

An exclaimation mark in a yellow triangle, is not defined in "mtos(a,b)".

Do you have any clue? thanks!

Re: mtos error message

Posted: Wed Apr 27, 2011 6:06 pm
by EViews Gareth
Cannot replicate:

Code: Select all

create u 100 vector(100) a rnd(a) series b mtos(a,b)

Re: mtos error message

Posted: Thu Apr 28, 2011 10:16 am
by eviewsnew
Cannot replicate:

Code: Select all

create u 100 vector(100) a rnd(a) series b mtos(a,b)

Hi Gareth,

thanks for the reply. I tested your code. It does work. But in my case, I don't need to create any vector with random number. I have already a vector. I have a vector called ur_sa0, which comes from a matrix sa. Then I make a series from this u_sa0. My code is below:

vector ur_sa0 = @vec(@transpose(sa)) 'sa is a matrix
series ur_sa 'declare new series
mtos (ur_sa0, ur_sa) 'create series ur_sa from vector ur_sa0


I can open and see the vector ur_sa0. It is normal. But i still get the message: exclamation mark in yellow triangle is not defined in "mtos(ur_sa0, ur_sa)"

wonder what is not defined ? can you advise?

thanks!

Re: mtos error message

Posted: Thu Apr 28, 2011 11:01 am
by EViews Gareth
You have a space between mtos and the (.

Re: mtos error message

Posted: Thu Apr 28, 2011 1:53 pm
by eviewsnew
You have a space between mtos and the (.
Sorry, and thank you!