Skip to content

Commit

Permalink
DOC: Regression factor docstring fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmichalowicz committed May 23, 2016
1 parent 96ec1fd commit a446401
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions zipline/pipeline/factors/technical.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
-------
Expand Down

0 comments on commit a446401

Please sign in to comment.