Displaying 1 result from an estimated 1 matches for "tp22388118p22388118".
Did you mean:
tp22388117p22388117
2009 Mar 07
2
piecewise linear regression
...lm(percent~ year + I(year-1996):I(year <= 1996), weights=1/se,
subset=year>=1988, da=d);
points(d$year,predict(m,dafr(year=d$year)),type='l',lwd=2,col='red')
thanks very much
David Freedman
--
View this message in context: http://www.nabble.com/piecewise-linear-regression-tp22388118p22388118.html
Sent from the R help mailing list archive at Nabble.com.