{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Rent or Buy?\n", "\n", "If you have a small pile of money that you are thinking of dropping on the downpayment of a house, should you? This document runs a small stochastic simulation that will help you decide whether it makes sense to buy a house or to rent. \n", "\n", "Conventional wisdom says that you will save money in the long term if you buy a house (the thinking being that you don't \"waste\" money on rent, and that you \"build equity\" in the value of the house). However, as this notebook will demonstrate, things are a little more complicated.\n", "\n", "The two cases this notebook contrasts are:\n", "\n", "* Putting a large lump sum down on the downpaymnet of a house, and then paying monthly payments to pay off the remainder of your debt. Once the house is paid off, those monthly payments will instead be invested in an index fund.\n", "* Putting all the money that you would have put in a downpayment in an index fund, and then spending what you would have spent on monthly mortage payments on rent. \n", "\n", "Perhaps surprisngly, you will find that for many parameters, there is very little difference between the two scenarious, for the following simple reason:\n", "\n", "**Yes, the value of your house is going to go up. But the stock market is going to go up a lot faster**. \n", "\n", "This notebook allows you to play with the following parameters interactively:\n", "\n", "* **Starting Sum** This is the amount you have saved up. In the \"buying\" scenario, you put this all in your downpayment. In the \"renting\" scenario, you put this all in the stock market in an index fund. \n", "* **Cost of the house** \n", "* **Tax rate on the house**\n", "* **Interest rate** On your mortage\n", "* **Duration** Of your mortgage \n", "* **Fraction of monthly payment you are willing to pay as rent** Assuming you are renting\n", "* **Rent hike** Anticipated annual rent increase (percentage)" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "fb4501cf36d44b8f922c74b9b01ce250", "version_major": 2, "version_minor": 0 }, "text/plain": [ "HTML(value='
This amount is the what you have saved up, that you're willing to put down as downpayment for a…" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "a26aca8970f5430e83c72cd84729e13d", "version_major": 2, "version_minor": 0 }, "text/plain": [ "FloatText(value=100000.0, description='Starting $', step=10000.0)" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "application/vnd.jupyter.widget-view+json": { "model_id": "d302af17848748e4b49cd0acf56e1374", "version_major": 2, "version_minor": 0 }, "text/plain": [ "HTML(value='