Description
Hi!
Can someone please help me understand how adjust = True
in the function ewma()
works mathematically?
I understand the idea of simple exponential smoothing and it's basic formula when adjust = FALSE
,
then alpha is constant, as in the equation:
When adjusted = True
then I assume that, alpha does not stay constant and it is adjusted "automatically".But what is the mathematical representaiton for such case? I've looked into Pandas documentation
http://pandas.pydata.org/pandas-docs/stable/computation.html#exponentially-weighted-moment-functions
and there it says that when it is adjusted, then the function uses this weights:
It is still not clear to me how this adjustment is working.
The only simple exponential method using an adaptive/adjusting alpha that I know of, is from Rob Hyndman's book: "Forecasting Methods and Application" .There I found a variation of the simple exponential smoothing (p.155-157), where alpha is adjusted automatically, called "adaptive-respose single exponential smoothing" (ARRSES). Unfortunately I got different results from each, so I guess this is not the one.
Does anybody know how to explain this specific case mathematically? or knows a good reference?
Thanks!