Data and Code for "Quality Differentiation and Spatial Clustering among Restaurants"
In the accompanying folders, we provide data and computer code that can be used to replicate the results in our article. The "Data" folder contains various data files that serve as inputs for the analyses done in Matlab, R, and Stata. The sources of these data are explained in the article. In the "Computer Code" folder, there are three groups of programmes: i) Matlab code to execute all theoretical computations and produce various plots in the article, ii) R code to execute all statistical tests appertaining to the spatial analysis, and iii) Stata code to replicate all regression results. The "City Maps.pdf" file supplements Figure 1 in our article by showing the location of top-rated and bottom-rated restaurants across all the 96 cities in our sample.