[R] Problem with ols in quantreg package

From: <AndiBuck_at_gmx.de>
Date: Thu 25 May 2006 - 20:40:59 EST


Hello everybody!

I am currently using the quantreg package on R 2.2.1. for my diploma thesis and want to create plots with plot.summary.rqs, which should work like this:

Usage:

     plot.summary.rqs(x, nrow=3, ncol=2, alpha = 0.1, ols = TRUE, ...)

Arguments:

       x: an object produced by rq() fitting

    nrow: rows in mfrow

    ncol: columns in mfrow

   alpha: alpha level of confidence bands

     ols: if TRUE, plot ols coefs and their error band

     ...: optional arguments to plot

But I don't get the plotting of the ordinary least squares coefficients and error bands for my data... It also doesn't work if I create phantasy data like this:

x<-rnorm(100)
y<-rnorm(100)/2
z<-rnorm(100)+2.5

qr<-rq(x~y+z , tau=c(0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9)) plot.summary.rqs(summary(qr),alpha=0.1,ols=TRUE)

Can anybody help me out?
Thank you!
Andreas

-- 


Bis zu 70% Ihrer Onlinekosten sparen: GMX SmartSurfer!
      Kostenlos downloaden: http://www.gmx.net/de/go/smartsurfer

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu May 25 20:51:46 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Thu 25 May 2006 - 22:10:18 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.