Skip to content
Prev 172576 / 398525 Next

best fit line

On Mar 4, 2009, at 1:22 PM, anujgoel wrote:

            
That is virtually impossible to define rigorously. The "best fit"  
would go through all the points precisely, the extreme form of  
overfitting, but the mathematical result would not be informative at  
all. Where did these data come from? What domain of science are you  
working on? You want a result that incorporates the relationships  
known to exist in your domain of investigation and summarizes the data  
without overfitting. I am being intentionally vague in what follows  
because this looks like homework.
Not really. Looks rather "hyperbolic", so you might think about the  
formula for hyperbola and then use the lm function.
The predict functions are used for this purpose. Consult you  
documentation.
?predict