Skip to content

Fitting a Harmonic Function to Time Series Data

2 messages · ashz, David Scott

#
Dear All,

I have some time series data where X=month and Y=nutrient concentration (I
can have several concentration data for one month). Is there a way to fit
for it an Harmonic Function. Is there a package, script,etc which I can use?

Thx
 


--
View this message in context: http://r.789695.n4.nabble.com/Fitting-a-Harmonic-Function-to-Time-Series-Data-tp3901266p3901266.html
Sent from the R help mailing list archive at Nabble.com.
#
On 14/10/2011 1:00 a.m., ashz wrote:
Possibly there is this functionality in Rob Hyndman's forecast package. 
See this post by him:
http://robjhyndman.com/researchtips/longseasonality/
which has some code which should also be of use.

David Scott


_________________________________________________________________
David Scott	Department of Statistics
		The University of Auckland, PB 92019
		Auckland 1142,    NEW ZEALAND
Phone: +64 9 923 5055, or +64 9 373 7599 ext 85055
Email:	d.scott at auckland.ac.nz,  Fax: +64 9 373 7018