From a446401d03a886286d41e4f81d9791023837287a Mon Sep 17 00:00:00 2001 From: dmichalowicz Date: Mon, 23 May 2016 16:40:22 -0400 Subject: [PATCH] DOC: Regression factor docstring fix --- zipline/pipeline/factors/technical.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/zipline/pipeline/factors/technical.py b/zipline/pipeline/factors/technical.py index d148677d..057e6471 100644 --- a/zipline/pipeline/factors/technical.py +++ b/zipline/pipeline/factors/technical.py @@ -341,15 +341,19 @@ class RollingLinearRegressionOfReturns(CustomFactor, SingleInputMixin): which regressions are computed. This factor is designed to return five outputs: - - alpha, a factor that computes the intercepts of each regression. - - beta, a factor that computes the slopes of each regression. - - r_value, a factor that computes the correlation coefficient of each - regression. - - p_value, a factor that computes, for each regression, the two-sided - p-value for a hypothesis test whose null hypothesis is that the slope - is zero. - - stderr, a factor that computes the standard error of the estimate of - each regression. + + - alpha, a factor that computes the intercepts of each regression. + - beta, a factor that computes the slopes of each regression. + - r_value, a factor that computes the correlation coefficient of each + regression. + - p_value, a factor that computes, for each regression, the two-sided + p-value for a hypothesis test whose null hypothesis is that the slope is + zero. + - stderr, a factor that computes the standard error of the estimate of each + regression. + + For more help on factors with multiple outputs, see + :class:`zipline.pipeline.factors.CustomFactor`. Example -------