Imagine we have a set of data, with two variables, the first of which can be represented in polar co-ordinates (for example hour or day, or day of week). The second variable is a real valued and has some relationship with the first. The data might look something like the following:
I would like to fit a closed curve to this data, which maximises the likelihood of the data for the purpose of making predictions. I only have a single cycle of data, so I cannot do extract seasonal or trends through decomposition . What methods are recommended?
(p.s. I'm using R)
