Three essays in real estate markets