Talk:Multiple regression: Difference between revisions

further debate
(Respond)
(further debate)
Line 29:
 
:The thing that worried me was that there wasn't any code in there to determine whether the degree of the polynomial selected was justified. I had to hard-code the depth of polynomial to try in the example code. I ''think'' the fitting engine itself doesn't care; you can present any sampled function you want for fitting. (I suppose many of the other more-advanced statistics tasks have this same problem; they require an initial “and magic happens here” to have happened before you can make use of them.) —[[User:Dkf|Donal Fellows]] 13:47, 9 August 2009 (UTC)
 
:You can always fit any empirical data to a polynomial. This task is about fitting it to functions of a more general form (i.e., a different basis). For example, by selecting the functions <math>f_i</math> as sinusoids with appropriate frequencies, it should be possible to obtain Fourier coefficients (albeit less efficiently than with a dedicated FFT solver). I don't see how the code in the given solutions could be used to do that. --[[User:Sluggo|Sluggo]] 16:57, 9 August 2009 (UTC)
Anonymous user