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!
mtos error message
Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13331
- Joined: Tue Sep 16, 2008 5:38 pm
Re: mtos error message
Cannot replicate:
Code: Select all
create u 100
vector(100) a
rnd(a)
series b
mtos(a,b)
Follow us on Twitter @IHSEViews
Re: mtos error message
EViews Gareth wrote: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!
-
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13331
- Joined: Tue Sep 16, 2008 5:38 pm
Re: mtos error message
EViews Gareth wrote:You have a space between mtos and the (.
Sorry, and thank you!
Who is online
Users browsing this forum: No registered users and 44 guests