Skip to content

Instantly share code, notes, and snippets.

View jstac's full-sized avatar
👻
thinking

John Stachurski jstac

👻
thinking
View GitHub Profile
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"id": "8177b07c",
"metadata": {},
"outputs": [],
"source": [
"from sympy.matrices import Matrix, eye, ones"

Weekly schedule

Items to be tested each Monday morning and each Friday morning will include

  • 5 minute visual inspection of org site, lecture site, cheat sheets and notebooks sites.
@jstac
jstac / Untitled.ipynb
Created July 9, 2018 20:31
Interpolation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jstac
jstac / .vimrc
Created January 25, 2016 14:15
A basic vimrc
""""""""""""""""""""""""""""""""""""""""""""""""""
" A basic vimrc
"
""""""""""""""""""""""""""""""""""""""""""""""""""
set background=dark " or light, you choose
set showmode " show the mode
set bs=2 " backspace over everything
set hlsearch " highlight search matches
set textwidth=78
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""
Generates estimates of the stationary distribution of a an optimal growth model with
Markov shocks discretized according to Tauchen's method. Estimates are via the
empirical distribution. Requires the quantecon package, which can be installed via
pip. See http://quant-econ.net/py/getting_started.html#the-quantecon-package
"""
import numpy as np
import matplotlib.pyplot as plt
import quantecon as qe