search for: abhyuday

Displaying 2 results from an estimated 2 matches for "abhyuday".

2005 May 30
3
Piecewise Linear Regression
...0,75.00,100.00,100.00) y = c(0.328,0.395,0.321,0.239,0.282,0.230,0.273,0.347,0.211,0.210,0.259,0.186,0.301,0.270,0.252,0.247,0.277,0.229,0.225,0.168,0.202) there are two change points. so the fitted curve should look like \ \ /\ \/ \ \ \ How do I do this in R ? Thank you, Abhyuday
2007 Nov 14
0
Piecewise Linear Regression
...t this can be controlled by the choice of lambda in the qss function, for example, try: fit <- rqss(y ~ qss(x,lambda=3) plot(fit,col="red") which gives a fit like you suggest might be reasonable with only three segments. ... some text removed ... On May 30, 2005, at 6:38 PM, Abhyuday Mandal wrote: > Hi, > > I need to fit a piecewise linear regression. > > x = c > (6.25,6.25,12.50,12.50,18.75,25.00,25.00,25.00,31.25,31.25,37.50,37.50 > ,50.00,50.00,62.50,62.50,75.00,75.00,75.00,100.00,100.00) > y = c > (0.328,0.395,0.321,0.239,0.282,0.230,0.2...