To obtain the latest released version of statsmodels using pip: code example Example: To obtain the latest released version of statsmodels using pip: pip install statsmodels