The legalization affects both the demand and the supply in the residential housing market," says University of Mississippi economics professor Cheng Cheng, one of the authors of a study on how legalizing retail marijuana in Colorado has given a lift to local real estate.