[R] overlaying qqnorm plots...

Jeff D. Hamann jeff_hamann at hamanndonald.com
Tue Nov 27 19:54:59 CET 2001


I know this topic has had plenty of discussion in the last couple of days,
but....

I've been trying to compare the effects of different fitted methods for
systems of equations (OLS, SUR, 2SLS, 3SLS ) and would like to compare the
residual plots (easy) and the qqnorm/qqplot of the fits for the different
fitted methdos. For example,

qqnorm( residuals( lm( q ~ p + f + a ) ) )
par( new = TRUE )
qqnorm( residuals( tsls( q ~ p + d, ~ d + f + a ) ) )

The resulting plot contains the two qqnorm plots, and the x axis stays the
same. The y axis ("Sample Quantiles") scales for the different plots. I
would to fix the y axis (fix the quantiles values?) and plot the different
plots in different colors. Is that possible?

Thanks,
Jeff.

Jeff D. Hamann
Hamann, Donald and Associates
PO Box 1421
Corvallis, Oregon USA 97339-1421
Bus. 541-753-7333
Cell. 541-740-5988
jeff_hamann at hamanndonald.com
www.hamanndonald.com


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list