Page 1 of 1

Graph of a vector

Posted: Mon Feb 11, 2013 5:55 am
by ellenneln
Hello,

I am using EViews since 1 month. I would like to know how you can create a graph from a vector in a program. So I have my vector v who has 5 elements and I would like to graph. Also I would like adding the dots for each point.

If I do :

graph _myGraphName.line v
graph _myGraphName.line {v}

It does not work. The first asks me for the series to graph, in the second {v} is not interpreted as a series. Could you please help me ?

Thanks
Luigi

Re: Graph of a vector

Posted: Mon Feb 11, 2013 7:06 am
by trubador

Code: Select all

freeze(mygraph) v.line freeze(mygraph) v.dot

Re: Graph of a vector

Posted: Wed Feb 13, 2013 3:21 am
by ellenneln
Thanks for your answer. I know that the question may seem stupid but I could not do that. Did you find the answer in the EViews documentation ? If so, could you please let me know what keywords did you use ?
Furthermore do you know a way to check if in EViews there is an error associated to a command. So if I do :

equation myEquationName.ls y c x1 .. xn

There is a way to know if this command will generate an error ? Maybe if the matrix is collinear ? If there isn't how can I build a matrix starting from the regressors ?

Can I build the matrix {x1 .. nx} and check if this is collinear. How can do that ?

Many thanks