On Apr 23, 2012, at 12:53 PM, phillip03 wrote: > So how would I use the lm() to estimate b_0 and b_1 for example???? > > My Y_i and Y_j are data observations how does the lm() use my > data.frame ? Have your read "An Introduction to R". Section 11 would appear to cover all the needed topics. -- David Winsemius, MD West Hartford, CT