Scatter plot with fitted regression line (not based on OLS)
Posted: Mon May 30, 2011 7:06 pm
In EViews, it is easy to estimate e.g. a median regression between x and y. However, I have not figured out how to make a scatter plot of the x and y observations, where the fitted values from the median regression line is plotted on top of these scattered observations.
I am only interested in a syntax solution (with no use of menus).
Thus in summary, what I want is to make a scatter plot between x and y where I can plot any line (I can figure out how to construct the fitted values).
I would be perfectly happy with a (not so very elegant) programming solution to the problem if there are no canned routines for this problem. I think that this is a relevant problem since scatter plots can often provide more information than many misspecification tests, especially when compared to the estimated regression line.
/Par
I am only interested in a syntax solution (with no use of menus).
Thus in summary, what I want is to make a scatter plot between x and y where I can plot any line (I can figure out how to construct the fitted values).
I would be perfectly happy with a (not so very elegant) programming solution to the problem if there are no canned routines for this problem. I think that this is a relevant problem since scatter plots can often provide more information than many misspecification tests, especially when compared to the estimated regression line.
/Par