Graph of panel data estimated equation

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Graph of panel data estimated equation

Postby carmomi » Mon Mar 07, 2011 2:01 am

Hi,

Having estimated a couple of functions with panel data - 11 cross sections, 15 time periods=165 observations - I would like to produce the graph for the estimated functions where the Y axis shows the value of the dependent variable and the X axis shows:
a) the values for the independent variable (when the estimated function has only 1 independent variable)
b) the values for the resulting sum of independent variables (when the estimated function has the form Y=c1+c2*X1+c3*X2

So far when I try to produce the graph I only manage to have the X axis displaying the number of observation (from 1 to 165...) and not the value of X.

Many thanks in advance for any explanation that can help me to solve this issue!!

Best,
MC

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Re: Graph of panel data estimated equation

Postby carmomi » Mon Mar 07, 2011 2:03 am

By the way, I am using eviews student version 6.
MC

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Graph of panel data estimated equation

Postby EViews Glenn » Mon Mar 07, 2011 10:30 am

Forecast from your estimated equation...that will get you the fitted value for Y.

Then do a scatter plot of your X against Y.

carmomi
Posts: 22
Joined: Wed Feb 16, 2011 3:36 am

Re: Graph of panel data estimated equation

Postby carmomi » Tue Mar 08, 2011 11:23 am

Dear Glenn,

Thank you very much for the hint. It happens that I still can not manage to produce the graph. The problem
is the x axis, which continues to show the order (number) of the observation rather than the values of x. In addition, the values the x axis are not in crescent order which makes the graphic really strange. I attach the output of the forecast so you can better understand.
I would be extremely grateful if could help me.
Thanks
Miguel
Attachments
print forecast.doc
output forecast - panel model
(109 KiB) Downloaded 364 times

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Graph of panel data estimated equation

Postby EViews Glenn » Tue Mar 08, 2011 3:30 pm

You're simply showing the forecast graph (which obviously isn't what you want).

What you need to do is create a group containing your X variable and the TOTAL_COSTF series (in that order). Then open the group and display a scatterplot of the group.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests