DiscreteResults.predict()

statsmodels.discrete.discrete_model.DiscreteResults.predict DiscreteResults.predict(exog=None, transform=True, *args, **kwargs) Call self.model.predict with self.params as the first argument. 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 d

TransfTwo_gen.rvs()

statsmodels.sandbox.distributions.transformed.TransfTwo_gen.rvs TransfTwo_gen.rvs(*args, **kwds) Random variates of given type. Parameters: arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information). loc : array_like, optional Location parameter (default=0). scale : array_like, optional Scale parameter (default=1). size : int or tuple of ints, optional Defining number of random variates (default=1). Retu

ARIMA.from_formula()

statsmodels.tsa.arima_model.ARIMA.from_formula classmethod ARIMA.from_formula(formula, data, subset=None, *args, **kwargs) Create a Model from a formula and dataframe. Parameters: formula : str or generic Formula object The formula specifying the model data : array-like The data for the model. See Notes. subset : array-like An array-like object of booleans, integers, or index values that indicate the subset of df to use in the model. Assumes df is a pandas.DataFrame args : extra argum

TransfTwo_gen.isf()

statsmodels.sandbox.distributions.transformed.TransfTwo_gen.isf TransfTwo_gen.isf(q, *args, **kwds) Inverse survival function at q of the given RV. Parameters: q : array_like upper tail probability arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional location parameter (default=0) scale : array_like, optional scale parameter (default=1) Returns: x : ndarray or scalar Qu

RegressionResults.remove_data()

statsmodels.regression.linear_model.RegressionResults.remove_data RegressionResults.remove_data() remove data arrays, all nobs arrays from result and model This reduces the size of the instance, so it can be pickled with less memory. Currently tested for use with predict from an unpickled results and model instance. Warning Since data and some intermediate results have been removed calculating new statistics that require them will raise exceptions. The exception will occur the first time an

ACSkewT_gen.var()

statsmodels.sandbox.distributions.extras.ACSkewT_gen.var ACSkewT_gen.var(*args, **kwds) Variance of the distribution Parameters: arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information) loc : array_like, optional location parameter (default=0) scale : array_like, optional scale parameter (default=1) Returns: var : float the variance of the distribution

ACSkewT_gen.entropy()

statsmodels.sandbox.distributions.extras.ACSkewT_gen.entropy ACSkewT_gen.entropy(*args, **kwds) Differential entropy of the RV. Parameters: arg1, arg2, arg3,... : array_like The shape parameter(s) for the distribution (see docstring of the instance object for more information). loc : array_like, optional Location parameter (default=0). scale : array_like, optional Scale parameter (default=1).

static GEEResults.split_centered_resid()

statsmodels.genmod.generalized_estimating_equations.GEEResults.split_centered_resid static GEEResults.split_centered_resid() Returns the residuals centered within each group. The residuals are returned as a list of arrays containing the centered residuals for each cluster.

static RegressionResults.HC1_se()

statsmodels.regression.linear_model.RegressionResults.HC1_se static RegressionResults.HC1_se() [source] See statsmodels.RegressionResults

IRAnalysis.plot_cum_effects()

statsmodels.tsa.vector_ar.irf.IRAnalysis.plot_cum_effects IRAnalysis.plot_cum_effects(orth=False, impulse=None, response=None, signif=0.05, plot_params=None, subplot_params=None, plot_stderr=True, stderr_type='asym', repl=1000, seed=None) Plot cumulative impulse response functions Parameters: orth : bool, default False Compute orthogonalized impulse responses impulse : string or int variable providing the impulse response : string or int variable affected by the impulse signif : float