Whether the presence of a college or hospital increases a home's value has to do with the institution's size and the ZIP code's population, says a new study by computer scientists. Colleges and hospitals do affect home prices and rents, but not always positively. Prices also rise and fall faster around these institutions, increasing the risk for investors.