Graph of a vector

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

ellenneln
Posts: 5
Joined: Mon Feb 11, 2013 5:51 am

Graph of a vector

Postby ellenneln » Mon Feb 11, 2013 5:55 am

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

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: Graph of a vector

Postby trubador » Mon Feb 11, 2013 7:06 am

Code: Select all

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

ellenneln
Posts: 5
Joined: Mon Feb 11, 2013 5:51 am

Re: Graph of a vector

Postby ellenneln » Wed Feb 13, 2013 3:21 am

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


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests