|
Body weight prediction based on irregular measurements over five weeks.
Green is the predicted path in the next ten days. |
Exponential smoothing is a technique that can be applied to time series data, either to produce smoothed data for presentation, or to make forecasts. The time series data themselves are a sequence of observations. The observed phenomenon may be an essentially random process, or it may be an orderly, but noisy, process. Whereas in the simple moving average the past observations are weighted equally, exponential smoothing assigns exponentially decreasing weights over time.
[http://en.wikipedia.org/wiki/Exponential_smoothing]
I applied
Exponential smoothing to the time series I obtained from my livestrong.com recordings. Of course I have the highest motivation to beware this noble technique from being wrong.
Find all the R code and data below.
1 comment:
Prediction update:ideal body weight ETA 6th August 2011, based on linear regression
Coefficients:
(Intercept) x.df$dates
2951.7272 -0.1894
http://www.wolframalpha.com/input/?i=+84-+x+*+0.1894+%3D75
http://www.wolframalpha.com/input/?i=47+days+since+20th+june
Post a Comment