Endogenous Spatial Regression and Delineation of Submarkets: A New Framework with Application to Housing Markets · Study