# Some Notes for Phil on Modeling Housing Markets

Given all the stuff being discussed on Gelman's blog about the housing market, here's some ideas I had about how one might formulate a continuous version of the model (rather than say an agent based version).

First, let's talk about how many houses are being rented and how many people are renting them, as a function of price. Let's posit an important component of the model, which is the frequency distribution of houses renting for price r at time t. Now let's also posit some variables for the total number of houses, the average number of Bedrooms per house renting for r, and the average number of people per bedroom in houses renting for r (C is for crowding). Then we can describe the relevant population of the area as:

Now F(t,r) can change in several ways. First of all there can be some turnover. When there's turnover of a house currently renting for rent and it starts renting for then we have:

An integro-differential equation, with a kernel that describes the turnover transition of an existing apartment between different rents, and a function that describes how fast we're constructing housing and renting it out at price r, each changes in time.

Now, we'll imagine that the number of units actually on the market for a day or whatever is negligible (we don't have say 15 percent of all units empty ever for example). So we can talk about a turnover rate for volume of transactions at time t, price r. This defines a kind of spot price distribution. There's no one spot price, because there's no "universal apartment". Different locations and different qualities, and different sizes produce different market rental spot prices. But if then at time t, some volume is available at price r.

There is a relationship between the kernel and the transaction volume , namely that the total number of apartments transitioning from anywhere into price r, plus the new sales, is the volume:

and also, there is a relationship between and namely:

This more or less describes the dynamics of the supply, at least, if you posit specific forms for the function, and some dynamics of the transition kernels and the building rate and soforth.

But, in order to get information about the transition kernels and the volume, etc, you need to have some information about demand, and for this you need to posit a demand for an apartment (or a bedroom?) at a given rent r. And this describes the reservoir of people who are waiting in the wings to scoop up an apartment if one becomes available at a given price. We should probably split it out as a component from inside our region, and from outside our region. From inside our region will help us determine how often people are leaving their apartments.

It's clear that the demand can be a function of the character of the population, as Phil says you can get more rich people demanding services and then increasing the demand and the lower end of r. So, there is feedback between statistics of the population, and the demand.

Now, I think we have a structure that we can start to build on, specific functional forms could be hypothesized and dynamics could be observed through solving integro-differential equations, perhaps by discretizing the system and doing sums. Probably we need a bit more than this, this isn't quite a complete closed model, but it's a good start for a structure if you wanted to go after this with a continuous statistical approach.