OptionalalphaSmoothing factor, with 0 < alpha < 1; a larger alpha gives recent rows more weight. Give exactly one of com, span, halflife and alpha.
OptionalcomCenter of mass c, giving alpha = 1 / (1 + c). Must be positive. Give exactly one of com, span, halflife and alpha.
OptionalhalflifeHalf-life h in rows, giving alpha = 1 - exp(-ln(2) / h). Must be positive. Give exactly one of com, span, halflife and alpha.
OptionalinterceptFit an intercept b0. Without one, the line goes through the origin and r2 is the uncentered R-squared.
Number of regressors k. The operator takes k + 1 inputs, y first, and returns k + 3 outputs, plus 1 with an intercept.
OptionalspanSpan s in rows, giving alpha = 2 / (s + 1). Must be greater than 1. Give exactly one of com, span, halflife and alpha.
The settings of EwMultiRegression by name, for
EwMultiRegression({ ... }).