Top Posts
Categories
- KDB (6)
- Pricing (4)
- Q (17)
- Q Idioms (3)
- Regression (3)
- Regular Expressions (3)
- Time Series (1)
-
Join 18 other subscribers
Archives
Tag Cloud
Blog Stats
- 73,304 hits
Tag Archives: Regression
Exponential Smoothing in q/KDB+
The formula for exponential smoothing is : S(1) = Y(0) S(t) = Alpha * Y(t) + (1-Alpha) S(t-1) 1) The corresponding solution in Q is : es:{{(x*z)+(1-x)*y}[x]\[y]} where, x is the smoothing factor(Alpha) and y is the list containing the … Continue reading