Module Expr Str Import alias identifier ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If BoolOpOr CompareIs NameLoad NameLoad CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad orelse If CompareEq NameLoad Str body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad AttributeLoad NameLoad attr orelse Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr TupleLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr BinOpAdd AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad Num body Expr Str Assign NameStore IfExp NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr BinOpSub Num BinOpDiv NameLoad Num AttributeLoad NameLoad attr Assign NameStore BinOpSub AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Assign NameStore BinOpAdd AttributeLoad NameLoad attr BinOpMult NameLoad NameLoad Return Call AttributeLoad NameLoad attr TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str Num body Import alias identifier ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad Assign NameStore Call NameLoad Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad ExtSlice Slice Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad ExtSlice Slice Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad ExtSlice Slice Index Num Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad ExtSlice Slice Index Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad NameLoad body Expr Str If BoolOpAnd NameLoad Call NameLoad AttributeLoad NameLoad attr Str CompareIsNot NameLoad NameLoad body ImportFrom alias Assign NameStore Call NameLoad AttributeLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr NameLoad If CompareIsNot NameLoad NameLoad body If CompareIs NameLoad NameLoad body If Call NameLoad NameLoad Str body Assign NameStore AttributeLoad NameLoad attr orelse Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Num BoolOpOr CompareEq AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Num CompareEq SubscriptLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Index Num Num body Assign NameStore SubscriptLoad NameLoad ExtSlice Slice Index NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Str NameLoad If CompareIs NameLoad NameLoad body Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Str NameLoad If CompareIsNot NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareGt AttributeLoad NameLoad attr Num BoolOpOr CompareNotEq AttributeLoad NameLoad attr Num CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num SubscriptLoad AttributeLoad NameLoad attr Index Num body Raise Call NameLoad Str If CompareIs NameLoad NameLoad body Assign NameStore Dict Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad BinOpMult NameLoad AttributeLoad Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr attr attr Num Assign NameStore BinOpDiv AttributeLoad NameLoad attr NameLoad If CompareEq AttributeLoad NameLoad attr Str body Assign NameStore BinOpDiv SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign NameStore SubscriptLoad ListLoad Str Str Index AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad NameLoad keyword AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list
N/A N/A 
Created on Fri Dec 19 11:29:18 2014

Author: Josef Perktold
License: BSD-3

 N/A numpy np scipy stats PredictionResults N/A object N/A __init__ N/A N/A self predicted_mean var_pred_mean var_resid df dist row_labels N/A None None None N/A N/A N/A self predicted_mean predicted_mean N/A N/A self var_pred_mean var_pred_mean N/A N/A self df df N/A N/A self var_resid var_resid N/A N/A self row_labels row_labels N/A N/A N/A dist None N/A dist norm N/A N/A N/A self dist N/A stats norm N/A N/A self dist_args N/A N/A N/A N/A dist t N/A N/A N/A self dist N/A stats t N/A N/A self dist_args N/A N/A self df N/A N/A N/A self dist dist N/A N/A self dist_args N/A N/A se_obs N/A N/A self N/A N/A N/A N/A N/A np sqrt N/A N/A self var_pred_mean N/A self var_resid N/A property se_mean N/A N/A self N/A N/A N/A N/A N/A np sqrt N/A self var_pred_mean N/A property conf_int N/A N/A self obs alpha N/A False 0.05 N/A N/A 
        Returns the confidence interval of the value, `effect` of the constraint.

        This is currently only available for t and z tests.

        Parameters
        ----------
        alpha : float, optional
            The significance level for the confidence interval.
            ie., The default `alpha` = .05 returns a 95% confidence interval.

        Returns
        -------
        ci : ndarray, (k_constraints, 2)
            The array has the lower and the upper limit of the confidence
            interval in the columns.

         N/A se N/A obs N/A self se_obs N/A self se_mean N/A q N/A N/A N/A self dist ppf N/A 1 N/A alpha 2.0 N/A self dist_args N/A lower N/A N/A self predicted_mean N/A q se N/A upper N/A N/A self predicted_mean N/A q se N/A N/A N/A np column_stack N/A lower upper N/A summary_frame N/A N/A self what alpha N/A all 0.05 N/A N/A pandas pd statsmodels.compat.collections OrderedDict N/A ci_obs N/A N/A self conf_int alpha alpha obs True N/A ci_mean N/A N/A self conf_int alpha alpha obs False N/A to_include N/A OrderedDict N/A N/A to_include N/A mean N/A self predicted_mean N/A N/A to_include N/A mean_se N/A self se_mean N/A N/A to_include N/A mean_ci_lower N/A ci_mean N/A N/A N/A 0 N/A N/A to_include N/A mean_ci_upper N/A ci_mean N/A N/A N/A 1 N/A N/A to_include N/A obs_ci_lower N/A ci_obs N/A N/A N/A 0 N/A N/A to_include N/A obs_ci_upper N/A ci_obs N/A N/A N/A 1 N/A N/A self table to_include N/A res N/A N/A pd DataFrame to_include index N/A self row_labels columns N/A N/A to_include keys N/A res N/A N/A get_prediction N/A N/A self exog transform weights row_labels pred_kwds N/A None True None None None N/A N/A 
    compute prediction results

    Parameters
    ----------
    exog : array-like, optional
        The values for which you want to predict.
    transform : bool, optional
        If the model was fit via a formula, do you want to pass
        exog through the formula. Default is True. E.g., if you fit
        a model y ~ log(x1) + log(x2), and transform is True, then
        you can pass a data structure that contains x1 and x2 in
        their original form. Otherwise, you'd need to log the data
        first.
    weights : array_like, optional
        Weights interpreted as in WLS, used for the variance of the predicted
        residual.
    args, kwargs :
        Some models can take additional arguments or keywords, see the
        predict method of the model for the details.

    Returns
    -------
    prediction_results : instance
        The prediction results instance contains prediction and prediction
        variance and can on demand calculate confidence intervals and summary
        tables for the prediction of the mean and of new observations.

     N/A N/A transform N/A hasattr N/A self model formula N/A exog None N/A patsy dmatrix N/A exog N/A dmatrix N/A N/A N/A N/A self model data design_info builder exog N/A N/A exog None N/A N/A N/A row_labels None N/A N/A N/A hasattr exog index N/A N/A row_labels N/A exog index N/A N/A row_labels None N/A exog N/A N/A np asarray exog N/A N/A N/A N/A exog ndim 1 N/A N/A N/A N/A N/A self model exog ndim 1 N/A N/A N/A N/A N/A self model exog shape N/A 1 1 N/A N/A exog N/A exog N/A N/A N/A None N/A exog N/A N/A np atleast_2d exog N/A N/A exog N/A N/A self model exog N/A N/A weights None N/A N/A weights N/A getattr N/A self model weights None N/A N/A row_labels None N/A N/A row_labels N/A getattr N/A N/A self model data row_labels None N/A N/A weights None N/A N/A weights N/A N/A np asarray weights N/A N/A N/A N/A weights size 1 N/A N/A N/A weights ndim 1 N/A N/A N/A weights shape N/A 0 N/A N/A exog shape N/A 1 N/A N/A N/A ValueError weights has wrong shape N/A N/A pred_kwds None N/A N/A pred_kwds N/A N/A predicted_mean N/A N/A N/A self model predict N/A self params exog pred_kwds N/A covb N/A N/A self cov_params N/A var_pred_mean N/A N/A N/A exog N/A N/A N/A np dot covb N/A exog T T sum 1 N/A var_resid N/A N/A self scale weights N/A N/A N/A self cov_type fixed scale N/A N/A var_resid N/A N/A N/A self cov_kwds N/A scale weights N/A dist N/A N/A norm t N/A N/A self use_t N/A N/A PredictionResults predicted_mean var_pred_mean var_resid df N/A self df_resid dist dist row_labels row_labels N/A