Buying or investing in real estate used to feel part science, part gut instinct. Today, it’s becoming far more precise.…