The assumption here is that you already have jupyter, and python 3.9 installed on a Windows 10 platform.
If you do not have git installed, then follow the instructions at:
https://www.computerhope.com/issues/ch001927.htm
to install it.
Open a command window and move to the location of your python installation where you wish to install the latest version of statsmodels at git. This will contain the MSTL code created by @KishManani
In my case I have Python 3.9 at C:\python39
C:\Windows>cd ..
C:\>cd python39
C:\python39>
Check the versions of the following python 3.9 packages:
jupyterlab, matplotlib, numpy, pandas, seaborn
Versions of ALL my python 3.9 packages were obtained by:
C:\python39>pip list
and on my system I have:
jupyterlab = 3.4.3
matplotlib = 3.5.2
numpy = 1.23.0
pandas = 1.4.0
seaborn = 0.11.2
These worked fine for me. Now download and install the latest statsmodels from git (contains MSTL):
C:\python39>python -m pip install git+https://github.com/statsmodels/statsmodels.git
This may take a few minutes -- so be patient.
Finally, copy mstl_decomposition.ipynb at MSTL to where you have your jupyter notebooks and execute it in jupyter.
Th-tha-thats-all-folks :-)
The assumption here is that you already have jupyter, and python 3.9 installed on a Windows 10 platform.
If you do not have git installed, then follow the instructions at:
https://www.computerhope.com/issues/ch001927.htm
to install it.
Open a command window and move to the location of your python installation where you wish to install the latest version of statsmodels at git. This will contain the MSTL code created by @KishManani
In my case I have Python 3.9 at
C:\python39C:\Windows>cd ..C:\>cd python39C:\python39>Check the versions of the following python 3.9 packages:
jupyterlab, matplotlib, numpy, pandas, seaborn
Versions of ALL my python 3.9 packages were obtained by:
C:\python39>pip listand on my system I have:
These worked fine for me. Now download and install the latest statsmodels from git (contains MSTL):
C:\python39>python -m pip install git+https://github.com/statsmodels/statsmodels.gitThis may take a few minutes -- so be patient.
Finally, copy
mstl_decomposition.ipynbat MSTL to where you have your jupyter notebooks and execute it in jupyter.Th-tha-thats-all-folks :-)