KalmanFilter.R()

statsmodels.tsa.kalmanf.kalmanfilter.KalmanFilter.R classmethod KalmanFilter.R(params, r, k, q, p) [source] The coefficient matrix for the state vector in the observation equation. Its dimension is r+k x 1. Parameters: r : int In the context of the ARMA model r is max(p,q+1) where p is the AR order and q is the MA order. k : int The number of exogenous variables in the ARMA model, including the constant if appropriate. q : int The MA order in an ARMA model. p : int The AR order in an

KalmanFilter.geterrors()

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

IVRegressionResults.wald_test()

statsmodels.sandbox.regression.gmm.IVRegressionResults.wald_test IVRegressionResults.wald_test(r_matrix, cov_p=None, scale=1.0, invcov=None, use_f=None) Compute a Wald-test for a joint linear hypothesis. Parameters: r_matrix : array-like, str, or tuple array : An r x k array where r is the number of restrictions to test and k is the number of regressors. It is assumed that the linear combination is equal to zero. str : The full hypotheses to test can be given as a string. See the examples.

IVRegressionResults.t_test()

statsmodels.sandbox.regression.gmm.IVRegressionResults.t_test IVRegressionResults.t_test(r_matrix, cov_p=None, scale=None, use_t=None) Compute a t-test for a each linear hypothesis of the form Rb = q Parameters: r_matrix : array-like, str, tuple array : If an array is given, a p x k 2d array or length k 1d array specifying the linear restrictions. It is assumed that the linear combination is equal to zero. str : The full hypotheses to test can be given as a string. See the examples. tuple

IVRegressionResults.summary()

statsmodels.sandbox.regression.gmm.IVRegressionResults.summary IVRegressionResults.summary(yname=None, xname=None, title=None, alpha=0.05) [source] Summarize the Regression Results Parameters: yname : string, optional Default is y xname : list of strings, optional Default is var_## for ## in p the number of regressors title : string, optional Title for the top table. If not None, then this replaces the default title alpha : float significance level for the confidence intervals Retu

IVRegressionResults.summary2()

statsmodels.sandbox.regression.gmm.IVRegressionResults.summary2 IVRegressionResults.summary2(yname=None, xname=None, title=None, alpha=0.05, float_format='%.4f') Experimental summary function to summarize the regression results Parameters: xname : List of strings of length equal to the number of parameters Names of the independent variables (optional) yname : string Name of the dependent variable (optional) title : string, optional Title for the top table. If not None, then this replac

IVRegressionResults.spec_hausman()

statsmodels.sandbox.regression.gmm.IVRegressionResults.spec_hausman IVRegressionResults.spec_hausman(dof=None) [source] Hausman?s specification test See also spec_hausman generic function for Hausman?s specification test

IVRegressionResults.save()

statsmodels.sandbox.regression.gmm.IVRegressionResults.save IVRegressionResults.save(fname, remove_data=False) save a pickle of this instance Parameters: fname : string or filehandle fname can be a string to a file path or filename, or a filehandle. remove_data : bool If False (default), then the instance is pickled without changes. If True, then all arrays with length nobs are set to None before pickling. See the remove_data method. In some cases not all arrays will be set to None. No

IVRegressionResults.remove_data()

statsmodels.sandbox.regression.gmm.IVRegressionResults.remove_data IVRegressionResults.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

IVRegressionResults.load()

statsmodels.sandbox.regression.gmm.IVRegressionResults.load classmethod IVRegressionResults.load(fname) load a pickle, (class method) Parameters: fname : string or filehandle fname can be a string to a file path or filename, or a filehandle. Returns: unpickled instance :