Skip to content

var_model docstring returns mismatch #3615

Closed

Description

@jbrockmendel

https://github.com/statsmodels/statsmodels/blob/master/statsmodels/tsa/vector_ar/var_model.py#L732

def forecast_interval(self, y, steps, alpha=0.05):
    """
    [...]
    Returns
    -------
    (lower, mid, upper) : (ndarray, ndarray, ndarray)
    """
    [...]
    return point_forecast, forc_lower, forc_upper

The tuple actually returned is (mid, lower, upper).

Activity

  1. jbrockmendel commented on Apr 27, 2017

    @jbrockmendel
    ContributorAuthor

    Note: a fix for this is now included in #3599. Is there a cherry-pick feature in the github web interface I don't know about? That'd be neat.

  2. added a commit that references this issue on Jun 4, 2017
    fe325bb
  3. added 2 commits that reference this issue on Jun 22, 2017
    15969e7
    daf220e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions