search for: abfit

Displaying 1 result from an estimated 1 matches for "abfit".

Did you mean: nbfit
2007 Nov 06
1
How to find the zero (only the real solution) with the package polynom ?
...e to find the pair (a,b) so that a*b is the minimum but not from the points I measured but from the fit of the curve (I have more points that the ones given below but I fit only on this part because I know that the minimum a*b is in this interval). I thought doing it this way : - to fit a*b=f(a) abfit<-lm(ab ~ poly(a,8,raw=T)) - to use the package polynom to make the polynom library(polynom) polynomial(abfit$coefficients) 0.03537506 - 0.8506516*x + 8.302545*x^2 - 44.80418*x^3 + 144.2161*x^4 - 283.2458*x^5 + 331.1776*x^6 - 210.5144*x^7 + 55.86646*x^8 - to derive the polynom deriv(polynomial...