statsmodels.regression.linear_model.OLSResults.load

classmethod OLSResults.load(fname)

Load a pickled results instance

Warning

Loading pickled models is not secure against erroneous or maliciously constructed data. Never unpickle data received from an untrusted or unauthenticated source.

Parameters:
fname{str, handle, pathlib.Path}

A string filename or a file handle.

Returns:
Results

The unpickled results instance.


Last update: Dec 14, 2023