ECON-UA 370 Quantitative Econ With Python: Lecture 1: Introduction
ECON-UA 370 Quantitative Econ With Python: Lecture 1: Introduction
ECON-UA 370 Quantitative Econ With Python: Lecture 1: Introduction
Lecture 1: Introduction
January 2016
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
• Markov Chains
• ...
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Topic Schedule
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Course Website
Github1
https://github.com/mmcky/nyu-econ-370
1 . . . . . . . . . . . . . . . . . . . .
A great online collaborative tool when working with Git. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Requirements ...
• A laptop
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Week 1 Assignment
First Assignment
https://www.continuum.io/downloads
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Demo
Let’s have a look at some of the things you will learn in this course:
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Quick Survey
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Why Python?
Python is:
1. free
2. a full programming environment
3. easier to learn than some other languages
4. has a large package library
5. has a large community
6. ...
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
• Pro
• More packages are available in Python 2.7
• A lot of examples are written in Python 2.7 syntax.
• Con
• In maintenance mode - not getting new features as the language
develops over time.
• Pro
• Newest version which is the long term future of Python
• Most of the scientific stack has been ported to Python 3
• Con
• Sometimes want to use a library which has not been migrated to
Python 3 yet. (but can make use of conda environments if needed)
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Start with small programs and then move onto larger applications.
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Installation Guides
1. Linux2
2. OS X
3. Windows
2
Ubuntu and its derivatives are the most commonly. Linux Mint is used in the
. . . . . . . . . . . . . . . . . . . .
installation guide. . . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
Jupyter
Jupyter Demo
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
Exam Introduction Programming Python Installation Jupyter Quick Tests for Python Installation
. . . . . . . . . . . . . . . . . . . .