Poisson type regressin fit

kepler

New member
Joined
Jul 14, 2015
Messages
26
Good day,

I'm trying to do a best fit of a Poisson series to a very large pair of data.
The equations are of the type:

a + b*sin(c*x + d) + e + f*sin(g*x + h) + ....

I was thinking of make a first fit (with a + b*sin(c*x + d) ), recalculate, and do a 2nd fit (with e + f*sin(g*x + h) ), and so on.

I don't know if its the best solution.

My second problem is: how do I produce such alghoritm? Which is the formula for this best fit? The matrix, I mean, and the formulas for the 4 parameters (a,b,c and d).

Kind regards,

Kepler
 
Top