statsmodels.stats.proportion.binom_tost statsmodels.stats.proportion.binom_tost(count, nobs, low, upp) [source] exact TOST test for one proportion using binomial distribution Parameters: count : integer or array_like the number of successes in nobs trials. nobs : integer the number of trials or observations. low, upp : floats lower and upper limit of equivalence region Returns: pvalue : float p-value of equivalence test pval_low, pval_upp : floats p-values of lower and upper one-
statsmodels.tsa.arima_model.ARMAResults.hqic static ARMAResults.hqic() [source]
statsmodels.discrete.discrete_model.NegativeBinomialResults.llnull static NegativeBinomialResults.llnull()
statsmodels.genmod.families.family.InverseGaussian.fitted InverseGaussian.fitted(lin_pred) Fitted values based on linear predictors lin_pred. Parameters: lin_pred : array Values of the linear predictor of the model. dot(X,beta) in a classical linear model. Returns: mu : array The mean response variables given by the inverse of the link function.
statsmodels.discrete.discrete_model.DiscreteModel.information DiscreteModel.information(params) Fisher information matrix of model Returns -Hessian of loglike evaluated at params.
Time Series Filters Link to Notebook GitHub In [1]: from __future__ import print_function import pandas as pd import matplotlib.pyplot as plt import statsmodels.api as sm In [2]: dta = sm.datasets.macrodata.load_pandas().data In [3]: index = pd.Index(sm.tsa.datetools.dates_from_range('1959Q1', '2009Q3')) print(index) <class 'pandas.tseries.index.DatetimeIndex'> [1959-03-31, ..., 2009-09-30] Length: 203, Freq: None, Timezone: None In [4]:
statsmodels.discrete.discrete_model.CountResults.llr_pvalue static CountResults.llr_pvalue()
statsmodels.regression.linear_model.GLS.score GLS.score(params) Score vector of model. The gradient of logL with respect to each parameter.
statsmodels.duration.hazard_regression.PHReg.information PHReg.information(params) Fisher information matrix of model Returns -Hessian of loglike evaluated at params.
statsmodels.tsa.kalmanf.kalmanfilter.KalmanFilter.geterrors classmethod KalmanFilter.geterrors(y, k, k_ar, k_ma, k_lags, nobs, Z_mat, m, R_mat, T_mat, paramsdtype) [source] Returns just the errors of the Kalman Filter
Page 21 of 224