Skip to content

Instantly share code, notes, and snippets.

Avatar
👻
thinking

John Stachurski jstac

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

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.
View Untitled.ipynb
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 Jan 25, 2016
A basic vimrc
View .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
View aiyagari_policies.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View og_ecdf.py
"""
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