Re: [R] lm() and dffits

2008-08-31 Thread Dieter Menne
Ranney, Steven montana.edu> writes: > 1) fit a simple lm(LW~LL) > 2) calculate the dffits for those data points > 3) remove those data points that are 2*sqrt(p/n) (where p=the number of > parameters and n=number of data points; p=3 in a linear model, correct? > Intercept, slope, and error term

[R] lm() and dffits

2008-08-29 Thread Ranney, Steven
All - My question is a bit involved, so bear with me. I have some data that looks like: LakeLL LW 81 2.176091259 1.342422681 81 2.176091259 1.414973348 81 2.176091259 1.447158031 81 2.181843588 1.414973348 81 2.181843588 1.447158031 81 2.