statsmodels.tsa.ar_model.AutoRegResults.save

AutoRegResults.save(fname, remove_data=False)

Save a pickle of this instance.

Parameters:
fname{str, handle}

A string filename or a file handle.

remove_databool

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.

Notes

If remove_data is true and the model result does not implement a remove_data method then this will raise an exception.


Last update: Oct 12, 2024