Skip to content
Prev 264901 / 398502 Next

Polynomial fitting

Thank you Gerrit for the quick reply! And yes, i'm Matti.

I can get the coeffs now, though i'm not sure whether i'm doing 
something wrong or whether poly is just not the right method for what 
i'm trying to find. I will look into this more closely and give it 
another try.

Is poly best for fitting on noisy data that's been generated by a 
polynomial and not that good for approximating an arbitrary function? I 
tried a least squares fitting with a web applet and got all exited 
because the approximation looked quite promising. I understand that R is 
designed mainly for statistical computing and may not be the best tool 
for my purposes. Before i look elsewhere i would like to ask if there is 
some other R method i should try, perhaps a least squares approximation?

Thank you for your help!

Matti Jokipii

08.07.2011 08:25, Gerrit Eichner kirjoitti: