All Projects → QuantEcon → Lecture Source Py

QuantEcon / Lecture Source Py

Licence: bsd-3-clause
Source files for "Lectures in Quantitative Economics" -- Python version

Projects that are alternatives of or similar to Lecture Source Py

Pytorch Tutorials
Stars: ✭ 170 (-1.16%)
Mutual labels:  jupyter-notebook
Timesynth
A Multipurpose Library for Synthetic Time Series Generation in Python
Stars: ✭ 170 (-1.16%)
Mutual labels:  jupyter-notebook
Awesome Dl Projects
This is a collection of the code that accompanies the reports in The Gallery by Weights & Biases.
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Mlbox
Machine Learning Algorithms implementations
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Dog Project
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Pandas Tutorial
Material for the pandas tutorial at EuroScipy 2016
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Data science for all
Code and resources for my blog and articles to share Data Science and AI knowledge and learnings with everyone
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Amazon Sagemaker Architecting For Ml
Materials for a 2-day instructor led course on applying machine learning
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Self Driving Car
Self Driving Car development tools and technologies from GTA Robotics Community members
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Pdftableextract
PDFTableExtract
Stars: ✭ 172 (+0%)
Mutual labels:  jupyter-notebook
Data Science Tutorial
Code material for a data science tutorial
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Tensorflow Safari Course
Exercises and solutions to accompany my Safari course introducing TensorFlow.
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Psi4numpy
Combining Psi4 and Numpy for education and development.
Stars: ✭ 170 (-1.16%)
Mutual labels:  jupyter-notebook
Ipywebrtc
WebRTC for Jupyter notebook/lab
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Asrframe
An Automatic Speech Recognition Frame ,一个中文语音识别的完整框架, 提供了多个模型
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Udacity Machine Learning Nanodegree
All projects and lecture notes of the Udacity Machine Learning Engineer Nanodegree.
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook
Sort Google Scholar
Sorting Google Scholar search results based on the number of citations
Stars: ✭ 170 (-1.16%)
Mutual labels:  jupyter-notebook
Cinic 10
A drop-in replacement for CIFAR-10.
Stars: ✭ 172 (+0%)
Mutual labels:  jupyter-notebook
Ditching Excel For Python
Functionalities in Excel translated to Python
Stars: ✭ 172 (+0%)
Mutual labels:  jupyter-notebook
Sklearn pycon2013
Files for my scikit-learn tutorial at PyCon 2013
Stars: ✭ 171 (-0.58%)
Mutual labels:  jupyter-notebook

Lectures in Quantitative Economics: Source Files

This repository is being Archived.

The python lecture series has been moved into three different series

New repositories:

  1. Python Programming
  2. Introductory Quantitative Economics with Python
  3. Advanced Economics with Python

Python version

This repository contains

  • the rst source files for each python lecture in Quantitative Economics with Python, in directory source/rst

  • supporting Python code in source/_static/code/

  • supporting figures, PDFs and other static assets in source/_static.

Building notebooks

Jupinx should be used to build this set of lectures.

Style Guide - Writing Conventions

Mathematical Notation

Matrices always use square brackets. Use \begin{bmatrix} ... \end{bmatrix}

Sequences use curly brackets, such as \{ x_t \}_{t=0}^{\infty}

The use of align environments can be done using the \begin{algined} ... \end{aligned} as it is not a full math environment and works within the equation wrapping of sphinx.

"Independent and identically distributed" is abbreviated to "IID".

The headings should not use math-environment.

Labels must be written in all small alphabetical letters. Any special character should be avoided in labels except "dash" i.e "-"

All the cite key must use the default google scholar bibtex conventions.

Math lines contained in .. math:: directives should never start with + or - as they get interpreted as markdown. This is a temporary issue with nbconvert

Emphasis and Definitions

Use bold for definitions and italic for emphasis. For example,

  • A closed set is a set whose complement is open.
  • All consumers have identical endowments.

Titles and Headings

  • Capitalization of all words for all titles.

    Example “How it Works: Data, Variables and Names”

Adding References

Adding a Citation to a Lecture

To add a reference to the text of a QuantEcon lecture you need to use the :cite:<bibtex-label> directive.

For example

:cite:`StokeyLucas1989`, chapter 2

is rendered rendered in HTML and LaTex as:

[SLP89], chapter 2

Adding a new reference to QuantEcon

To add a new reference to the project, a bibtex entry needs to be added to lecture-source-py/source/_static/quant-econ.bib.

Sphinx and Restructured Text

Editing

The syntax of the source files is reStructuredText.

Here is a nice primer on how to write reStructuredText files.

Here is the documentation for the Jinja template syntax.

Helpful Links

Building Lectures on OS X

You will need to fetch the Liberation Mono fonts for this repository to build the LaTeX components.

brew tap homebrew/cask-fonts
brew cask install font-liberation-sans
brew cask install font-computer-modern

Converting notebooks to RST files

Sometimes it's convenient to write a lecture as a notebook and then convert to RST

This guide is provided by TJS and requires pandoc 2.6 or newer

(Use pandoc --version to test)

  1. This step is necessary only if you want to strip out dollar signs from maths

    • python latex_space_strip.py [myinputfile.ipynb] -o [myoutputfile.ipynb]
  2. To convert, use

    • pandoc [myfilenamenew.pynb] -f ipynb+tex_math_dollars -t rst -s -o [newfilename.rst]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].