An econometric model of the metropolitan housing market