[R] Fiting a trend + periodic signal

Mohammed Ouassou ouamoh at statkart.no
Thu Aug 12 12:16:46 CEST 2010


Dear all,
I have a time series and I like to fit S(t) = T(t) + P(t) 

 T(t) = Linear Trend =  a + bt 
 P(t) = Periodic Signal = sum(Ai*cos(wt) + Bi*sin(wt) ) for i=1,...,3.



Thanks in advance,

Best  regards,



More information about the R-help mailing list