Put estimation values in graph

For questions regarding programming in the EViews programming language.

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

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Put estimation values in graph

Postby terrya » Sat Nov 19, 2011 3:54 pm

I'm using EV7.2 latest version.

An example: I create a scatterplot, including the fitted y-value, for a linear relationship. I want to put either the estimated equation or one of the coefficients or the R2 into the graph. But I can't find a way of programming this. Each thing that I thought was possible just gives me a string not the equation or the numerical value of the coefficients or R2.

Is is possible to do this?

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Put estimation values in graph

Postby startz » Sat Nov 19, 2011 4:08 pm

Something like

Code: Select all

string s = @str(eq01.@r2) g.addtext {s}

terrya
Posts: 107
Joined: Wed Aug 26, 2009 2:37 pm

Re: Put estimation values in graph

Postby terrya » Sat Nov 19, 2011 4:29 pm

Thanks - works.

I felt it was something easy (and, hence, difficult to work out!) or impossible (implausible)

R. Jassy
Posts: 5
Joined: Fri Nov 11, 2011 6:31 am

Re: Put estimation values in graph

Postby R. Jassy » Fri Jul 13, 2012 12:41 am

Hi
I need help, i have a seasonal graph type and want to add the values to the means, but don't know how?
I am not familiar with eviews commands or programming

thank you.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests