Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: daixieit

Python Startup Guide

PSTAT 160A: Applied Stochastic Processes



The general recommendation is that you use Anaconda distribution to install both Python and Jupyter Notebook application.

• Anaconda https://www.anaconda.com/download/: Contains the latest Python distribution and the ability to use Jupyter Notebook.

• A tutorial on Jupyter Notebook can be found at https://www.datacamp.com/community/ tutorials/tutorial-jupyter-notebook#gs.Ph4a0_8.

One good way to get started is to read and do the examples at http://hplgit.github.io/bumpy/ doc/pub/._basics000.html.

Includes how to evaluate mathematical functions, how to print, how to use for-loops, while-loops, lists, arrays, and using packages like numpy, matplotlib.pyplot, and math.

If you are a video person and not familiar with Python, you may want to consider watching some LinkedIn learning videos (it’s free if you link your LinkedIn account to your UCSB email address). You can follow the link at https://www.linkedin.com/learning/python-data-analysis-2/ smoothing-time-series?autoplay=true&u=57119945 for a tutorial from installation to the re- quired knowledge for the class.  Don’t let it scare you, we are not doing computer science in this class so the programming knowledge that you need is the bare minimum.

Resources/Manuals for frequencly used packages:

• NumPy: https://docs.scipy.org/doc/numpy/index.html#.

• Matplotlib: https://matplotlib.org/index.html