{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Asset replacement model\n", "\n", "**Randall Romero Aguilar, PhD**\n", "\n", "This demo is based on the original Matlab demo accompanying the Computational Economics and Finance 2001 textbook by Mario Miranda and Paul Fackler.\n", "\n", "Original (Matlab) CompEcon file: **demddp02.m**\n", "\n", "Running this file requires the Python version of CompEcon. This can be installed with pip by running\n", "\n", " !pip install compecon --upgrade\n", "\n", "Last updated: 2021-Oct-01\n", "
\n | Age of Machine | \nAction | \n
---|---|---|
Year | \n\n | \n |
0 | \n1 | \nkeep | \n
1 | \n2 | \nkeep | \n
2 | \n3 | \nkeep | \n
3 | \n4 | \nreplace | \n
4 | \n1 | \nkeep | \n
5 | \n2 | \nkeep | \n
6 | \n3 | \nkeep | \n
7 | \n4 | \nreplace | \n
8 | \n1 | \nkeep | \n
9 | \n2 | \nkeep | \n
10 | \n3 | \nkeep | \n
11 | \n4 | \nreplace | \n
12 | \n1 | \nkeep | \n