BinaryResults.save(fname, remove_data=False)

save a pickle of this instance

  • 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.


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

© 2009–2012 Statsmodels Developers
© 2006–2008 Scipy Developers
© 2006 Jonathan E. Taylor
Licensed under the 3-clause BSD License.