statsmodels.regression.rolling.RollingRegressionResults¶
-
class
statsmodels.regression.rolling.RollingRegressionResults(model, store: statsmodels.regression.rolling.RollingStore, k_constant, use_t, cov_type)[source]¶ Results from rolling regressions
Parameters: model : RollingWLS
Model instance
store : RollingStore
Container for raw moving window results
k_constant : bool
Flag indicating that the model contains a constant
use_t : bool
Flag indicating to use the Student’s t distribution when computing p-values.
cov_type : str
Name of covariance estimator
Attributes
cov_typeName of covariance estimator Methods
conf_int([alpha, cols])Construct confidence interval for the fitted parameters. cov_params()Estimated parameter covariance load(fname)Load a pickled results instance plot_recursive_coefficient([variables, …])Plot the recursively estimated coefficients on a given variable remove_data()Remove data arrays, all nobs arrays from result and model. save(fname[, remove_data])Save a pickle of this instance. Methods
conf_int([alpha, cols])Construct confidence interval for the fitted parameters. cov_params()Estimated parameter covariance load(fname)Load a pickled results instance plot_recursive_coefficient([variables, …])Plot the recursively estimated coefficients on a given variable remove_data()Remove data arrays, all nobs arrays from result and model. save(fname[, remove_data])Save a pickle of this instance. Properties
aicAkaike’s information criteria. bicBayes’ information criteria. bseThe standard errors of the parameter estimates. centered_tssThe total (weighted) sum of squares centered about the mean. cov_typeName of covariance estimator df_modelThe model degree of freedom. df_residThe residual degree of freedom. essThe explained sum of squares. f_pvalueThe p-value of the F-statistic. fvalueF-statistic of the fully specified model. k_constantFlag indicating whether the model contains a constant llfLog-likelihood of model mse_modelMean squared error the model. mse_residMean squared error of the residuals. mse_totalTotal mean squared error. nobsNumber of observations n. paramsEstimated model parameters pvaluesThe two-tailed p values for the t-stats of the params. rsquaredR-squared of the model. rsquared_adjAdjusted R-squared. ssrSum of squared (whitened) residuals. tvaluesReturn the t-statistic for a given parameter estimate. uncentered_tssUncentered sum of squares. use_tFlag indicating to use the Student’s distribution in inference.