Landis, R Matthew | 2 May 17:40
Favicon

Re: [R-sig-eco] segmented quantile regression and rqss

A simpler option might be to try the lsp function in Design.  It seems to get along with quantreg OK. For
example, try:

data(engel)
attach(engel)
fit <- rq(foodexp ~ lsp(income, 3000), tau = 0.5)
plot(income, foodexp)
lines(lowess(income, fitted(fit)))

Matt Landis

****************************************************
R. Matthew Landis, Ph.D.
Dept. Biology
Middlebury College
Middlebury, VT 05753

tel.: 802.443.3484
**************************************************


>-----Original Message-----
>From: r-sig-ecology-bounces@...
>[mailto:r-sig-ecology-bounces@...] On Behalf Of
>Stephen B. Cox
>Sent: Friday, May 02, 2008 10:33 AM
>To: Griffith.Michael@...
>Cc: r-sig-ecology@...
>Subject: Re: [R-sig-eco] segmented quantile regression and rqss
>
(Continue reading)


Gmane