[R] Fit non-linear regressor
Bernardo Rangel Tura
tura at centroin.com.br
Fri Jan 9 19:35:41 CET 2004
Hi R masters,
Sorry for first mensage, this is orignal text...
y<-c(2.8150,3.5239,4.0980,4.5845,5.0709,5.4824,5.8427,6.3214,6.7349,7.3651)
x<-c(37,42,47,52,57,62,67,72,77,82)
I need fit R and A in y=f(x)=R*exp(A*x), with minimize sd= sqrt(SRR/(n-2)) where SRR is Sum of the Square of the Residuals
and n is number of data points (in this case 10)
How do I make this?
Thanks in advance
Bernardo Rangel Tura, MD, MSc
National Institute of Cardiology Laranjeiras
Rio de Janeiro Brazil
More information about the R-help
mailing list