linearTimeTrend#
- swordfish.function.linearTimeTrend()#
Calculate the moving linear regression for X.
- Parameters:
- Returns:
A tuple with 2 elements, alpha (the Linear regression intercept LINEARREG_INTERCEPT) and beta (the linear regression slope LINEARREG_SLOPE).
- Return type: