Understanding the cost and value of the real estate market