Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[UTF8]{ctexart} | |
\usepackage{zhlipsum} | |
\usepackage{markdown} | |
\markdownSetup{ | |
renderers = { | |
link = {#1}, % Render a link as the link label. | |
emphasis = {\emph{#1}}, % Render emphasis using `\emph`. | |
}, | |
hybrid = true, | |
fencedCode=true, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lazy implementation of John Rust's Nested Fixed Point (NFXP) algorithm. | |
# Based on https://notes.quantecon.org/submission/5c4906d9f68373000f919cd0 | |
# Download first the Aguirregabiria and Mira NPL code from here: http://individual.utoronto.ca/vaguirre/wpapers/program_code_survey_joe_2008.html | |
import time | |
import numpy as np | |
import pandas as pd | |
from datetime import date | |
from statsmodels.base.model import GenericLikelihoodModel | |
from scipy import stats |