EconBase
← Back to paper

Heterogeneous Regression Models for Clusters of Spatial Dependent Data

Extracted main text — title through conclusion, appendix excluded. This is what our citation measures are computed over, published so the extraction can be checked by eye.

66,888 characters · 14 sections · 38 citation commands

Rendered from LaTeX for readability, not typeset faithfully. Citation keys are highlighted; maths is left as source; figures, tables and equation environments are summarised rather than reproduced; unrecognised commands are greyed out so nothing is silently dropped. Email addresses are removed.

Heterogeneous Regression Models for Clusters of Spatial Dependent Data

abstractIn economic development, there are often regions that share similar economic characteristics, and economic models on such regions tend to have similar covariate effects. In this paper, we propose a Bayesian clustered regression for spatially dependent data in order to detect clusters in the covariate effects. Our proposed method is based on the Dirichlet process which provides a probabilistic framework for simultaneous inference of the number of clusters and the clustering configurations. The usage of our method is illustrated both in simulation studies and an application to a housing cost dataset of Georgia. keywords: Clustered Coefficients Regression, Dirichlet process, MCMC, Spatial Random Effects

Introduction

Spatial regression models have been widely applied in many different fields such as environmental science hu2018stat, biological science zhang2011bayesian, and econometrics brunsdon1996geographically to explore the relation between a response variable and a set of predictors over a region. One of the most important tasks for a spatial regression model is to capture the spatial dependent structure between a response variable and a set of covariates. cressie1992statistics proposed a spatial regression model with Gaussian process, where the spatial random effects are accounted for only by the intercepts. brunsdon1996geographically proposed a geographically weighted regression (GWR) model which assumed the existence of a spatially-dependent parameter surface, and used weighted local linear regression to estimate such parameter surface. An application of GWR in analyzing the impact of socio-economic factors on treated prevalence for mental disorders in Barcelona is presented in peres2015applying. The idea of GWR has been subsequently extended to the Cox model framework by xue2018geographically. In addition to mean-based regression, chasco2015heterogeneity used a spatial quantile regression technique to identify heterogeneities. From the Bayesian perspective, gelfand2003spatial incorporated Gaussian process to regression coefficients to build a model with spatially varying coefficients. autantbernard2019heterogeneous used a Bayesian heterogeneous spatial autoregressive model that allows for spatial variation variations in intercepts, covariate effects, and noise variances to study the knowledge production functions of different regions in order to set up their regional innovation strategy. The aforementioned works, however, all assumed that each location has its own set of regression parameters, which sometimes leads to excessive numbers of parameters, and subsequently overfitting. Cluster effects over the space of interest has not been taken into account.

Detection of heterogeneous covariate effects in many different fields, such as real estate applications, spatial econometrics, and environmental science are becoming of increasing research interest. For example, administrative divisions in a country, such as regions, provinces, states, or territories, often have different economic statuses and development patterns. More advanced divisions and less developed divisions could be put into separate clusters and analyzed. Such clustering information is of great interest to regional economics researchers. One of the most popular methods for spatial cluster detection is the scan statistic method kulldorff1995spatial, where a scan statistic is constructed via a likelihood ratio statistic to test the potential clusters. The usage of spatial scan statistics has been extended to studies of disease mapping, crime, and public health. Similar endeavor has also been made under the Bayesian and nonparametric Bayesian frameworks in pursuit of spatial homogeneity. li2015bayesian used nonparametric Bayesian method to detect cluster boundaries for areal data. Noticing that traditional methods may not work well with spatial missing data, panzera2016bayesian proposed using multiple imputation together with the Bayesian Interpolation method to analyze spatially clustered missing data, which addresses both spatial univariate and multivariate problems.

Most of the aforementioned frequentist and Bayesian approaches mainly focus on estimating cluster configurations of spatial response. Spatially varying patterns in the relationship between a set of covariates and the response is also an important topic that needs to be studied. bille2017twostep used a two-step approach where in the first step, spatial regimes of spatially varying parameters are identified, and in the second step estimated. Recently, methods for cluster detection of spatial regression coefficients have been proposed to detect the homogeneity of the covariates effects among subareas. li2019spatial incorporated spatial neighborhood information in a penalized approach to detect spatially clustered patterns in the regression coefficients.

Under the Bayesian framework, lawson2014prior explored the usage of multinomial priors in modeling clustered coefficients in the accelerated failure time model for survival data. As discussed by lawson2014prior, to infer the grouping level, complicated search algorithms in variable dimensional parameter space are needed, such as the reversible jump Markov chain Monte Carlo (MCMC) algorithm of green1995reversible, which assigns a prior on the number of clusters, and this number is updated at each iteration of an MCMC chain. Such algorithms are difficult to implement and automate, and are known to suffer from lack of scalability and mixing issues. Nonparametric Bayesian approaches, such as the Dirichlet process mixture model ferguson1973bayesian, offer choices to allow for uncertainty in the number of clusters, and provide an integrated probabilistic framework under which the number of clusters, the clustering configuration, and regression coefficients are simultaneously estimated.

In this paper, we propose a Bayesian spatial clustered linear regression model with {\textcolor{black}{Dirichlet process}} ferguson1973bayesian prior, which considers spatially dependent structure and clusters the covariate effects simultaneously. In addition, implementation of our proposed methods based on nimble de2017programming, a relatively new and powerful R package, is discussed. The model diagnostic technique, logarithm of the pseudo-marginal likelihood ibrahim2013bayesian, is introduced to assess the fitness of our proposed model. Our proposed Bayesian approach reveals interesting features of the state-level data of Georgia.

The remainder of the paper is organized as follows. In Section (ref), we develop a spatial clustered linear regression model with DP prior. In Section (ref), a MCMC sampling algorithm based on nimble and post MCMC inference are discussed. Extensive simulation studies are carried out in the next section. For illustration, our proposed methodology is applied to Georgia housing cost dataset in Section (ref). Finally, we conclude this paper with a brief discussion.

Methodology

In this section, a Bayesian spatial clustered linear model using {\textcolor{black}{DPMM}} is proposed for coefficient grouping in spatially dependent data. Based on the spatial regression model, spatially-varying coefficients are assigned with a nonparametric {\textcolor{black}{DP}} prior to achieve the goal of grouping.

Spatial Regression Model

The basic geostatistical model gelfand2016spatial for spatially dependent response at locations $\bm{s} = (s_1,\ldots, s_n)$ is denoted by

equation[equation omitted — 91 chars of source]

{\textcolor{black}{where $\bm{Y} = (Y(s_1),\ldots, Y(s_n))$ the $n$-dimensional vector of responses observed at the $n$ different locations, $\bm{X} =

pmatrix[pmatrix omitted — 63 chars of source]

$ is the~$n\times p$ matrix of covariates, $\bm{w} = (w(s_1),\ldots, w(s_n))$ is the vector of spatial random effects, which is assumed to follow a stationary Gaussian process whose covariance structure often depends on the geographical locations, and $\bm{\epsilon}\simMVN(\bm{0}, \sigma^2_y \bm{I})$}} adds the nugget effect \citep[{\textcolor{black}{see}} e.g., Chapter~6 of][]{carlin2014hierarchical}, which is usually a vector of white noise, {\textcolor{black}{with MVN denoting the multivariate normal distribution.}} Oftentimes,~$\bm{w}(\bm{s})$ is assumed to also follow a MVN. The above spatial regression model can also be rewritten as

equation*[equation* omitted — 229 chars of source]

where $\bm{\Sigma}_W$ {\textcolor{black}{is the covariance matrix of the spatial random effect vector $\bm{w}(\bm{s})$}}, and $\bm{I}$ denotes the identity matrix. Conditional on $\bm{X}$ and $\bm{w}$, entries in $\bm{Y}$ are independent. Conventionally, the covariance matrix is given as $\bm{\Sigma}_W = \sigma_w^2 \bm{H}$, where $\bm{H}$ is a matrix constructed using the great circle distance matrix, denoted as GCD, between different locations, i.e.,

equation*[equation* omitted — 142 chars of source]

and $\sigma_w^2$ is a scalar. There are three common weighting schemes for {\textcolor{black}{defining}} $\bm{H}$, including:

equation[equation omitted — 417 chars of source]

where $\phi$ is a tuning parameter that controls the spatial correlation. Larger value of $\phi$ indicates stronger correlation.

Another spatial regression model is the spatially varying coefficients model gelfand2003spatial:

eqnarray[eqnarray omitted — 93 chars of source]

where $X(s)$ is $p \times 1$ covariate vector at {\textcolor{black}{a certain}} location $s$, and $\widetilde{\bm{\beta}}(s)$ is assumed to follow a $p$-variate spatial process model. If we have observations $(Y(s_i),\bm{X}(s_i))$ for $i=1,\ldots, n$, they can be written into

equation*[equation* omitted — 79 chars of source]

where $\bm{Y}=(Y(s_1), \ldots, Y(s_n))^\top$, $\bm{X}^\top$ is an $n\times (np)$ block diagonal matrix which has the row vector $\bm{X}^\top(s_i)$ as its $i$-th diagonal entry, $\widetilde{\bm{\beta}} = (\widetilde{\bm{\beta}}(s_1)^\top, \ldots, \widetilde{\bm{\beta}}(s_n)^\top)^\top$, and $\bm{\epsilon}\sim \mbox{MVN}(\bm{0},\sigma^2\bm{I})$. gelfand2003spatial proposed the following hierarchical model:

equation[equation omitted — 327 chars of source]

where $\bm{\mu}_{\bm{\beta}}$ is a $p \times 1$ vector, $\bm{H}(\phi)$ is a $n\times n$ matrix measuring spatial correlations between the $n$ observed locations, $\bm{T}$ is a $p \times p$ covariance matrix associated with an observation vector at any spatial location, and $\otimes$ denotes the Kronecker product. {\textcolor{black}{In model (ref), $\bm{\beta}$ is constant over space, which means the covariate effects remain the same over all locations; model (ref) allows for different covariate effects over locations, but restrict the covariate effects to be determined by distances between pairs of locations as in (ref).}}

For many spatial economics data, however, some regions will share similar covariate effects regardless of their geographical distance. Taking China as an example, Beijing tends to have similar economic development pattern with Shanghai or Jiangsu ma2019nonparametric . The models in (ref) and (ref), however, do not take into account such inherent similarities in spatially dependent data.

Spatial Regression with Dirichlet Process Mixture Prior

Within the Bayesian framework, coefficient clustering can be accomplished using a Dirichlet process mixture model (DPMM) by nonparametrically linking the spatial response variable to covariates through cluster membership. Formally, a probability measure $G$ following a DP with a concentration parameter $\alpha$ and a base distribution $G_0$ is denoted by $G \sim \text{DP}(\alpha, G_0)$ if

equation[equation omitted — 119 chars of source]

where $(A_1, \cdots, A_r)$ are finite measurable partitions of the space $\Omega$. Several different formulations can be used for determining the DP. In this work, we use the stick-breaking construction proposed by sethuraman1994constructive for DP realization, which is given as

gather*[gather* omitted — 205 chars of source]

where $\theta_c$ is the $c$-th vector consisting of the possible values of the parameters of $G_0$, $\delta_{\theta_c}(\cdot)$ denotes a discrete probability measure concentrated at $\theta_c$ and is a notation short for $\delta(\theta = \theta_c)$, $\pi_c$ is the random probability weight between 0 and 1, and $\overset{\mbox{ind}}{\sim}$ indicates i.i.d..

For a DPMM, the observed data $y_i$ (for $i=1,\ldots, n$) follow an infinite mixture distribution, where a vector of latent allocation variables $\mathcal{Z}$ is introduced to enable explicit characterization of the clustering. Let $\mathcal{Z}_{n, k} = \big\{(z_1, \ldots, z_n) : z_i \in \{1, \ldots, k\}, 1 \le i \le n \big\}$ denote all possible clusterings of $n$ observations into $k$ clusters, where $z_i = c \in \{1, \ldots, k\}$ denotes the cluster assignment of the $i$th observation. Note that although theoretically $c$ can go to infinity, in practice, with $n$ observations in total, $k$ is capped at $n$, which can only happen when each observation is assigned to its own cluster. The DPMM can be written as

equation[equation omitted — 285 chars of source]

where $\bm{\pi} = (\pi_1,\ldots, \pi_c, \ldots)$. Adapting the DPMM to the spatial regression setting, we focus on the clustering of spatially-varying coefficients $\bm{\beta}(s) = (\bm{\beta}^\top(s_1), \cdots, \bm{\beta}^\top(s_n))^\top$, where $\bm{\beta}(s_i)$ is the $p$-dimensional coefficient vector for location $s_i$. In our setting, we assume that the $n$ parameter vectors can be clustered into $k$ groups, i.e., $\bm{\beta}(s_i) = \bm{\beta}_{z_i}\in\{\bm{\beta}_1,\ldots, \bm{\beta}_k\}$, then the model can be written as

align[align omitted — 506 chars of source]

Bayesian Inference

MCMC is used to draw samples from the posterior distributions of the model parameters. In this section we present the sampling scheme, the posterior inference of cluster belongings, and measurements to evaluate the estimation performance and clustering accuracy.

The MCMC Sampling Scheme

We present the main R function written using the nimble package de2017programming. The model is wrapped in a nimbleCode() function. For ease of exposition, we break it into separate snippets. The full code is available on GitHub with an example implementation. (link removed for blinding purposes, documentation submitted separately)

Define {\textcolor{black}{S}} as the number of locations. The following code represent Equation (ref). At each location, {\textcolor{black}{y[i]}} has a normal distribution with {\textcolor{black}{mu_y[i]}} and precision {\textcolor{black}{tau_y}}, which is equivalent to $1/\sigma_y^2$. A Gamma(1,1) prior is given to {\textcolor{black}{tau_y}}. The coefficient vector for location {\textcolor{black}{i}}, {\textcolor{black}{\texttt{b[i, 1:6]}}}, equals the coefficient vector estimated for the cluster it belongs to, represented by {\textcolor{black}{\texttt{latent[i]}}}, which follows a multinomial distribution with probability vector {\textcolor{black}{\texttt{zlatent[1:M]}}}, where {\textcolor{black}{\texttt{M}}} denotes the number of potential clusters.

knitrout\definecolor{shadecolor}{rgb}{0.965, 0.965, 0.965}\color{fgcolor}\begin{kframe} \begin{alltt} SLMMCode <- \textcolor[rgb]{0,0.267,0.4}{nimbleCode}(\{ \textcolor[rgb]{0,0.267,0.4}{for} (i in 1:S) \{ y[i] \textcolor[rgb]{0,0.267,0.4}{dnorm}(mu_y[i], tau = tau_y) mu_y[i] <- b[i, 1] * x1[i] + b[i, 2] * x2[i] + b[i, 3] * x3[i] + b[i, 4] * x4[i] + b[i, 5] * x5[i] + b[i, 6] * x6[i] + W[i] b[i, 1:6] <- bm[latent[i], 1:6] latent[i] \textcolor[rgb]{0,0.267,0.4}{dcat}(zlatent[1:M]) \} \end{alltt} \end{kframe}

{{0cm} The following code represent Equation (ref). {\textcolor{black}{H}} represents the matrix $\Sigma_W$, where {\textcolor{black}{phi}} is {\textcolor{black}{the}} tuning parameter $\phi$ in the exponential scheme in (ref) that controls spatial correlation. The random effects at locations 1 to {\textcolor{black}{S}} follow a multivariate normal distribution with {\textcolor{black}{mu_w[1:S]}} and precision matrix, which equals the product of $\sigma_w^2$, {\textcolor{black}{tau_w}}, and the inverse of {\textcolor{black}{H}}. {\textcolor{black}{\texttt{H}}} is defined as a function of a certain distance matrix {\textcolor{black}{\texttt{Dist}}}, which is passed into the function later as an argument of {\textcolor{black}{\texttt{SLMMConsts}}}. Here, the function is chosen to be the exponential scheme. The prior distribution of the bandwidth {\textcolor{black}{\texttt{phi}}} is specified to be a uniform distribution from 0 to a certain upper limit, denoted by {\textcolor{black}{\texttt{D}}}. The prior of {\textcolor{black}{\texttt{tau_w}}} is set to Gamma(1,1).}

knitrout\definecolor{shadecolor}{rgb}{0.965, 0.965, 0.965}\color{fgcolor}\begin{kframe} \begin{alltt} \textcolor[rgb]{0.4,0.067,0.067}{for} \textcolor[rgb]{0,0,0}{(j} \textcolor[rgb]{0.4,0.067,0.067}{in} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{:}\textcolor[rgb]{0,0,0}{S) \ \textcolor[rgb]{0.4,0.067,0.067}{for} \textcolor[rgb]{0,0,0}{(k} \textcolor[rgb]{0.4,0.067,0.067}{in} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{:}\textcolor[rgb]{0,0,0}{S) \ \textcolor[rgb]{0,0,0}{H[j, k]} \textcolor[rgb]{0,0,0.4}{\textbf{<-}} \textcolor[rgb]{0,0.267,0.4}{exp}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0,0,0}{\textbf{-}}\textcolor[rgb]{0,0,0}{Dist[j, k]}\textcolor[rgb]{0,0,0}{\textbf{/}}\textcolor[rgb]{0,0,0}{phi)} \textcolor[rgb]{0,0,0}{\}} \textcolor[rgb]{0,0,0}{\}} \textcolor[rgb]{0,0,0}{W[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S]} \textcolor[rgb]{0,0,0}{\textbf} \textcolor[rgb]{0,0.267,0.4}{dmnorm}\textcolor[rgb]{0,0,0}{(mu_w[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S],} \textcolor[rgb]{0,0,0.4}{prec} \textcolor[rgb]{0,0,0}{= prec_W[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S])} \textcolor[rgb]{0,0,0}{prec_W[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S]} \textcolor[rgb]{0,0,0.4}{\textbf{<-}} \textcolor[rgb]{0,0,0}{tau_w} \textcolor[rgb]{0,0,0}{\textbf{*}} \textcolor[rgb]{0,0.267,0.4}{inverse}\textcolor[rgb]{0,0,0}{(H[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S])} \textcolor[rgb]{0,0,0}{phi} \textcolor[rgb]{0,0,0}{\textbf} \textcolor[rgb]{0,0.267,0.4}{dunif}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{0}\textcolor[rgb]{0,0,0}{, D)} \textcolor[rgb]{0,0,0}{tau_w} \textcolor[rgb]{0,0,0}{\textbf} \textcolor[rgb]{0,0.267,0.4}{dgamma}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{)} \textcolor[rgb]{0,0,0}{mu_w[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0,0,0}{S]} \textcolor[rgb]{0,0,0.4}{\textbf{<-}} \textcolor[rgb]{0,0.267,0.4}{rep}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{0}\textcolor[rgb]{0,0,0}{, S)} \end{alltt} \end{kframe}

{{0cm} The distribution of $\bm{\beta}$ for each location $s_i$ is defined next. They each come from a multivariate normal distribution with mean {\textcolor{black}{mu_bm}} and covariance matrix {\textcolor{black}{var_bm}}, which is a diagonal matrix with all diagonal entries being {\textcolor{black}{1/tau_bm}}. The inverse variance term, {\textcolor{black}{tau_bm}}, is again given a Gamma(1,1) prior, and the entries in the mean vector are all given independent standard normal priors. }

knitrout\definecolor{shadecolor}{rgb}{0.965, 0.965, 0.965}\color{fgcolor}\begin{kframe} \begin{alltt} \textcolor[rgb]{0.4,0.067,0.067}{for} \textcolor[rgb]{0,0,0}{(k} \textcolor[rgb]{0.4,0.067,0.067}{in} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{:}\textcolor[rgb]{0,0,0}{M) \ \textcolor[rgb]{0,0,0}{bm[k,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{:}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{]} \textcolor[rgb]{0,0,0} \textcolor[rgb]{0,0.267,0.4}{dmnorm}\textcolor[rgb]{0,0,0}{(mu_bm[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{:}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{],} \textcolor[rgb]{0,0,0.4}{cov} \textcolor[rgb]{0,0,0}{= var_bm[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{])} \textcolor[rgb]{0,0,0}{\}} \textcolor[rgb]{0,0,0}{var_bm[}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{]} \textcolor[rgb]{0,0,0.4}{\textbf{<-}} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{/}}\textcolor[rgb]{0,0,0}{tau_bm} \textcolor[rgb]{0,0,0}{\textbf{*}} \textcolor[rgb]{0,0.267,0.4}{diag}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0,0.267,0.4}{rep}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{))} \textcolor[rgb]{0,0,0}{tau_bm} \textcolor[rgb]{0,0,0}{\textbf} \textcolor[rgb]{0,0.267,0.4}{dgamma}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{)} \textcolor[rgb]{0.4,0.067,0.067}{\textbf{for}} \textcolor[rgb]{0,0,0}{(j} \textcolor[rgb]{0.4,0.067,0.067}{\textbf{in}} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{\textbf{:}}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{) \ \textcolor[rgb]{0,0,0}{mu_bm[j]} \textcolor[rgb]{0,0,0}{\textbf} \textcolor[rgb]{0,0.267,0.4}{dnorm}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{0}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{)} \textcolor[rgb]{0,0,0}{\}} \end{alltt} \end{kframe}

{{0cm} Finally for the model, the stick breaking process corresponding to Equations (ref) and (ref) is depicted.}

knitrout\definecolor{shadecolor}{rgb}{0.965, 0.965, 0.965}\color{fgcolor}\begin{kframe} \begin{alltt} zlatent[1:M] <- \textcolor[rgb]{0,0.267,0.4}{stick_breaking}(vlatent[1:(M - 1)]) \textcolor[rgb]{0,0.267,0.4}{for} (j in 1:(M - 1)) \{ vlatent[j] \textcolor[rgb]{0,0.267,0.4}{dbeta}(1, alpha) \} alpha \textcolor[rgb]{0,0.267,0.4}{dgamma}(1, 1) tau_y \textcolor[rgb]{0,0.267,0.4}{dgamma}(1, 1) \}) \end{alltt} \end{kframe}

{{0cm} With the full model defined, we next declare the data list, which is made up of the response {\textcolor{black}{Y}}, the covariates {\textcolor{black}{X[,1] to {\textcolor{black}{X[,6]}}}}{X[,6]}}}, and the matrix of distances {\textcolor{black}{Dist}}. The constants in the model also need to be supplied, including the number of locations {\textcolor{black}{S}}, the number of starting clusters {\textcolor{black}{M}}, and the upper endpoint {\textcolor{black}{\texttt{D}}} for the uniform distribution of bandwidth. In addition, the initial values are specified. Code to compile the model, supply the initial values, and invoke the MCMC process is included in the supplementary package.}

knitrout\definecolor{shadecolor}{rgb}{0.965, 0.965, 0.965}\color{fgcolor}\begin{kframe} \begin{alltt} \textcolor[rgb]{0,0,0}{SLMMdata} \textcolor[rgb]{0,0,0.4}{<-} \textcolor[rgb]{0,0.267,0.4}{list}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0,0,0.4}{y} \textcolor[rgb]{0,0,0}{= y,} \textcolor[rgb]{0,0,0.4}{x1} \textcolor[rgb]{0,0,0}{= X[,}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{],} \textcolor[rgb]{0,0,0.4}{x2} \textcolor[rgb]{0,0,0}{= X[,}\textcolor[rgb]{0.533,0,0.133}{2}\textcolor[rgb]{0,0,0}{],} \textcolor[rgb]{0,0,0.4}{x3} \textcolor[rgb]{0,0,0}{= X[,}\textcolor[rgb]{0.533,0,0.133}{3}\textcolor[rgb]{0,0,0}{],} \textcolor[rgb]{0,0,0.4}{x4} \textcolor[rgb]{0,0,0}{= X[,}\textcolor[rgb]{0.533,0,0.133}{4}\textcolor[rgb]{0,0,0}{],} \textcolor[rgb]{0,0,0.4}{x5} \textcolor[rgb]{0,0,0}{= X[,}\textcolor[rgb]{0.533,0,0.133}{5}\textcolor[rgb]{0,0,0}{],} \textcolor[rgb]{0,0,0.4}{x6} \textcolor[rgb]{0,0,0}{= X[,}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{],} \textcolor[rgb]{0,0,0.4}{Dist} \textcolor[rgb]{0,0,0}{= distmatrix)} \textcolor[rgb]{0,0,0}{SLMMConsts} \textcolor[rgb]{0,0,0.4}{<-} \textcolor[rgb]{0,0.267,0.4}{list}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0,0,0.4}{S} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{159}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0,0,0.4}{M} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{50}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0,0,0.4}{D} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{100}\textcolor[rgb]{0,0,0}{)} \textcolor[rgb]{0,0,0}{SLMMInits} \textcolor[rgb]{0,0,0.4}{<-} \textcolor[rgb]{0,0.267,0.4}{list}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0,0,0.4}{tau_y} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0,0,0.4}{latent} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0,0.267,0.4}{rep}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{, SLMMConsts}\textcolor[rgb]{0,0,0}{$}}\textcolor[rgb]{0,0,0}{S),} \textcolor[rgb]{0,0,0.4}{alpha} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{2}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0,0,0.4}{tau_bm} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0,0,0.4}{mu_bm} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0,0.267,0.4}{rnorm}\textcolor[rgb]{0,0,0}{(}\textcolor[rgb]{0.533,0,0.133}{6}\textcolor[rgb]{0,0,0}{),} \textcolor[rgb]{0,0,0.4}{phi} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0,0,0.4}{tau_w} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0,0,0.4}{vlatent} \textcolor[rgb]{0,0,0}{=} \textcolor[rgb]{0,0.267,0.4}{rbeta}\textcolor[rgb]{0,0,0}{(SLMMConsts}\textcolor[rgb]{0,0,0}{\textbf{$}\textcolor[rgb]{0,0,0}{M} \textcolor[rgb]{0,0,0}{-} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{,} \textcolor[rgb]{0.533,0,0.133}{1}\textcolor[rgb]{0,0,0}{)} \textcolor[rgb]{0,0,0}{)} \end{alltt} \end{kframe}

Inference of MCMC results

The estimated parameters, together with the cluster assignments $\bm{z}$, are determined for each replicate from the best post burn-in iteration selected using the Dahl's method dahl2006model. dahl2006model proposed a least-square model-based clustering for estimating the clustering of observations using draws from a posterior clustering distribution. In this method, membership matrices for each iteration, $\bm{B}^{(1)},\ldots,\bm{B}^{(M)}$, where $M$ is the number of post-burn-in MCMC itertations, are calculated. The membership matrix for the $c$th iteration, $\bm{B}^{(c)}$ is defined as:

align[align omitted — 104 chars of source]

with $1()$ being the indicator function, $\bm{B}^{(c)}(i,j) \in \{0,1\}$ for all $i,j = 1,...,n$ and $c=1,\ldots, M$. Having $\bm{B}^{(c)}(i,j)=1$ means observations $i$ and $j$ are in the same cluster in the $c$th iteration. The average of $\bm{B}^{(1)},\ldots, \bm{B}^{(M)}$ can be calculated as

equation*[equation* omitted — 76 chars of source]

where $\sum$ here denotes element-wise summation of matrices. The $(i,j)$th entry of $\overline{\bm{B}}$ provides an empirical estimate of the probability for locations $i$ and $j$ to be in the same cluster.

Next we find the iteration that has the least squared distance to $\overline{\bm{B}}$ as:

align[align omitted — 145 chars of source]

where $\bm{B}^{(c)}(i,j)$ is the ($i,j$)th entry of $\bm{B}^{(c)}$, and $\overline{\bm{B}}(i,j)$ is the ($i,j$)th entry of $\overline{\bm{B}}$. An advantage of the least-squares clustering is the fact that information from all clusterings are utilized via the usage of the empirical pairwise probability matrix $\overline{\bm{B}}$. It is also intuitively appealing, as the average clustering is selected instead of formed via an external, ad hoc clustering algorithm.

Model Assessment

In the spatial regression model, the Gaussian process spatial structure {\textcolor{black}{$\bm{\Sigma_W} = \sigma_w^2 \bm{H}$}} can be constructed via several different weighting schemes including the aforementioned unity, exponential, and Gaussian schemes in (ref). In order to determine which weighting scheme is the most suitable for the data, a commonly used model comparison criterion, the logarithm of the pseudo-Marginal likelihood ibrahim2013bayesian, is applied. The LPML can be obtained through the conditional predictive ordinate (CPO) values. With $Y^*_{(-i)} = (Y_1,\ldots, Y_{i-1}, Y_{i+1},\ldots, Y_n)$ denoting the observations with the $i$th subject response deleted, CPO can be regarded as leave-one-out-cross-validation under Bayesian framework, and it estimates the probability of observing $Y_i$ in the future if after having already observed $Y^{*}_{(-i)}$. The CPO for the $i$th subject is calculated as:

equation[equation omitted — 218 chars of source]

where

equation*[equation* omitted — 238 chars of source]

and $c(Y^*_{(-i)})$ is the normalizing constant. Within the Bayesian framework, a Monte Carlo estimate of the CPO can be obtained as:

equation[equation omitted — 159 chars of source]

where $w_t(s_i)$ is calculated based on the sampled $\phi$ in the $t$-th iteration, and $\bm{\beta}_t(s_i)$ and $\sigma_{yt}^2$ are, respectively, the $t$-th iteration samples for $\bm{\beta}(s_i)$ and $\sigma_y^2$. An estimate of the LPML can subsequently be calculated as:

equation[equation omitted — 102 chars of source]

A model with a larger LPML value is preferred. In addition, $p_D$, the effective number of parameters, which can be used to measure the complexity of the model, is defined as

gather[gather omitted — 84 chars of source]

where $D = -2 \log f(\bm{y}(\bm{s})\mid\boldsymbol{\theta})$ is the deviance of the model, $\overline{D}$ is the posterior mean of deviance, $\overline{\boldsymbol{\theta}}$ is the posterior mean of the parameters and $D(\overline{\boldsymbol{\theta}})$ denotes deviance at posterior means.

Convergence Diagnostics

We use the Rand index rand1971objective to measure the accuracy of clustering. The RI is defined as

eqnarray*[eqnarray* omitted — 83 chars of source]

where $\mathcal{C}_1 = \{ X_1, \ldots, X_r \}$ and $\mathcal{C}_2 = \{Y_1, \ldots, Y_s\}$ are two partitions of $\{ 1, 2, \ldots, n\}$, and $a, b, c$ and $d$ respectively denote the number of pairs of elements of $\{1, 2, \ldots, n\}$ that are (a) in a same set in $\mathcal{C}_1$ and a same set in $\mathcal{C}_2$, (b) in different sets in $\mathcal{C}_1$ and different sets in $\mathcal{C}_2$, (c) in a same set in $\mathcal{C}_1$ but in different sets in $\mathcal{C}_2$, and (d) in different sets in $\mathcal{C}_1$ and a same set in $\mathcal{C}_2$. The RI ranges from 0 to 1 with a higher value indicating better agreement between the two partitions. In particular, $\mathrm{RI} = 1$ indicates that $\mathcal{C}_1$ and $\mathcal{C}_2$ are identical in terms of modulo labeling of the nodes.

Simulation Studies

In this section, we conduct simulation studies to assess the performance of the proposed methods under scenarios where there is no clustered covariate effect, and when there is indeed clustered covariate effect. All simulations are run on an institutional high performance computing cluster running Red Hat Enterprise Linux Server (release 6.7).

Simulation Without Clustered Covariate Effects

The spatial adjacency structure of counties in Georgia is used. As a starting point, to mimic the real dataset {\textcolor{black}{we use later}}, one observation is generated for each of the 159 counties. Six covariate vectors are generated for the 159 counties with each entry i.i.d. from $N(0,1)$, making a $159\times 6$ covariate matrix $\bm{X}$. The spatial random effects $\bm{w}$ are simulated based on the matrix of great circle distance (GCD) between county centroids. The great circle distances are obtained using the function distCosine(), and the centroids are calculated based on county polygons using the function centroid(), both provided by the R package geosphere Rpkg:geosphere. The GCD matrix is subsequently normalized to have a maximum value of 10 for ease in computation. and the response vector $\bm{Y}$ is generated as

equation*[equation* omitted — 70 chars of source]

where $\bm{X} = (X_1,\ldots, X_6)$, $\bm{w}\sim \text{MVN}(\bm{0}, \exp(-\mbox{GCD}/4))$, and $\bm{\epsilon} \sim \mbox{MVN}(\bm{0},\bm{I})$. Different values of $\bm{\beta}$ are used: $(1, 0, 1, 0, 0.5, 2)^\top$, $(2, 0, 1, 0, 4, 2)^\top$, and $(9, 0, -4, 0, 2, 5)^\top$, corresponding to scenarios where the signal is weak, moderate, and strong. For each of the three $\bm{\beta}$'s, the average parameter estimate denoted by $\overline{\widehat{\beta}}_{\ell,m}$ ($\ell = 1,\cdots,159$; $m=1,\cdots, 6$) in 100 simulations is calculated as

gather[gather omitted — 130 chars of source]

where $\widehat{\beta}_{\ell,m,r}$ denotes the posterior estimate for the $m$th coefficient of county $\ell$ in the $r$th replicate. The performance of these posterior estimates are evaluated by the mean absolute bias (MAB), the mean standard deviation (MSD), the mean of mean squared error (MMSE) and mean coverage rate (MCR) of the 95% highest posterior density (HPD) intervals in the following ways:

align[align omitted — 676 chars of source]

In each replicate, the MCMC chain length is set to be 50,000, with thinning 10 and the first 2,000 samples are discarded as burn-in, therefore we have 3,000 samples for posterior inference. The parameter $D$ for the uniform prior of bandwidth, i.e. $\phi$ in Equation (ref), is set to 100 such that the prior for bandwidth is also noninformative. In Table (ref) the average parameter estimates $\overline{\widehat{\beta}}_{\ell,m}$ are reported together with the four performance measures in Equations (ref),(ref), (ref) and (ref) are reported for the three settings. Under all three settings, the parameter estimates are highly close to the true underlying values, and have very small MAB, MSD and MMSE, while maintaining the MCR at close to 95% level. The RI's are all very close to or equal to 1, indicating that the clustering results are highly consistent and credible. It is worth noticing that, even when the signal is relatively weak, the clustering approach is quite precise.

table[table omitted — 1,498 chars of source]
figure[figure omitted — 250 chars of source]

Simulation with Clustered Covariate Effects

We consider an underlying setting where there exist clustered covariate effects. First we consider a setting where the clustered covariate effect is independent of spatial locations, i.e. where cluster belonging are set randomly. The 159 counties are randomly assigned to three clusters, visualized in Figure (ref)(a). There are, respectively, 51, 49, and 59 counties in the three clusters. Different parameter vectors are used for data generation in different clusters (see Table (ref)) to assess the estimation and clustering performance under different strengths of signals. The spatial random effect $\bm{W}$ is generated using the same setting as before. The performance measures are presented in Table (ref). In another scenario, a setting where the clustered covariate effect depends on spatial locations. Consider a partition of Georgia counties into three large regions, visualized in Figure (ref)(b). The same parameter vectors in Table (ref) are used for the three clusters under three settings. Corresponding performance measures are reported in Table (ref).

For each signal strength and each of the two settings, we randomly selected four replicates from the total of 100 replicates and visualize the results in the Online Supplement. It is no surprise that under both settings, the accuracy of clustering increases with the strengthening of signals. It can be seen from Supplemental Figures 1 and 4 that with weak true signals, the proposed approach suffers from over-clustering, which is a known property of Dirichlet process mixtures that the posterior does not concentrate at the true number of clusters miller2013simple. This over-clustering behavior, however, diminishes as the signals' strength increase. When the signals are strong, the RI reaches near 0.85, indicating that 85% of the time, two counties that belong to the same cluster are correctly put into the same cluster. Together with increase in RI is decrease in MCR, which is an inevitable result of incorporating more counties in each cluster. For each county, taking other counties that do not belong to this county's true cluster introduces bias in estimation.

table[table omitted — 486 chars of source]
table[table omitted — 1,299 chars of source]
table[table omitted — 1,335 chars of source]

Real Data Analysis

We consider analyzing influential factors for monthly housing cost in Georgia using the proposed methods. The dataset is available at \url{www.healthanalytics.gatech.edu}, with 159 observations corresponding to the 159 counties in Georgia. For each county, the dependent variable median monthly housing cost for all occupied housing units is observed. The independent variables considered here include: the percentage of adults aged 18 to 64 who are unemployed ($X_1$), the average total real and personal property taxes collected per person ($X_2$), the median home market value ($X_3$, in thousand dollars), the percentage of White race population ($X_4$), the median age ($X_5$), and size of a county's population ($X_6$, in thousands). Figure (ref) provides a visualization of the 6 covariates on the Georgia map. In the computation, the covariates are centered and scaled to have mean 0 and unit standard deviation. Also, following the common practice in economics to account for long-tailed distributions, we take the logarithm of monthly housing cost before fitting the model. The response variable is also centered and scaled, and therefore all models to follow are fitted without the intercept term.

figure[figure omitted — 172 chars of source]

We firstly apply the model assessment criteria, LPML, for selecting the best weighting scheme for the data. The LPML values for the unity weighting scheme, the exponential weighting scheme and the Gaussian weighting scheme are shown in Table (ref). From Table (ref) we can see that the model with exponential weighting scheme has the largest LPML value among the three candidate schemes, and is therefore preferred. To verify that there is indeed spatially varying covariate effects, we also fitted the spatially-varying coefficients model without clustering (ref) to the dataset. The model is also compared against a vanilla Bayesian regression, {\textcolor{black}{where no spatial effect is considered, and observations are treated as i.i.d. samples from the population. In this model, no spatial variation is assumed in the covariate effects $\bm{\beta}$, and the model reduces to the regular Bayesian linear regression.}}

The computation is performed on a desktop computer running Windows 10 Enterprise, with i7-8700K CPU @ 3.70GHz. The computing time as well as performance measure for these three models are recorded and presented in Table (ref). The proposed model takes around 650 seconds to run, followed by the spatially varying coefficients model, and then the spatially constant coefficients model. The LPML values of the first two models that allow for spatially varying coefficients are larger than the vanilla regression model, and the differences are not minor. This indicates that there indeed exist spatially varying covariate effect, and more flexible models are preferred. Comparing the LPML and $p_D$ for the first two models, it can be seen that the proposed model reduces $p_D$ and provides better fit to the data. Combining the conclusions from Tables (ref) and (ref), the proposed model with exponential weighting scheme for $\bm{W}(s)$ is fitted on the dataset.

table[table omitted — 287 chars of source]
table[table omitted — 382 chars of source]

A total of 3 clusters are identified. The cluster belongings of the 159 counties are visualized in Figure (ref), and their corresponding parameter estimates are presented in Table (ref). From Figure (ref) we can find that the cluster distribution is more similar with the spatial distributions of the covariates population size and median home market price. These two covariates also show great impact on cluster 1, the largest cluster we obtained from the model. For cluster 1, which includes most of the counties (124 out of 159), higher unemployment rates, higher median home market value, and larger population sizes are significant indicators of higher housing costs. For cluster 2 (26 out of 159), median home market value is also positively correlated with the monthly housing cost, while higher median age indicates lower housing cost. For cluster 3 (9 out of 159) median home market value turns out to be the only decisive factor and has significant increasing effect for housing cost. These results indicate that for most counties of Georgia, unemployment rates, median home market value and population size drive the variation of housing costs greatly. However, not all the counties have the same pattern. Housing costs of some counties are affected by median home market price and median age instead, and for a few counties, the housing costs are related to median home market value instead of the other covariates. This example here verifies the fact that the proposed model can detect the spatial clusters which share similar covariate effects.

figure[figure omitted — 177 chars of source]
table[table omitted — 901 chars of source]

Discussion

In this paper, we have proposed a Bayesian clustered coefficients linear regression model with spatial random effects to capture heterogeneity of regression coefficients. Multiple weighting schemes in modeling the spatial random effects have been proposed, and the corresponding Bayesian model selection criterion have been discussed. Compared to a vanilla regression model with no spatial random effect, allowing the covariate effects to be spatially varying provides better fit to the data, and more profound insight into heterogeneity in development at different locations. In addition, compared to observations made in ma2019bayesian, where each location is allowed to have its own set of parameter estimates, the clustering approach reduces the effective number of parameters without sacrificing the model goodness-of-fit. The usage of the method is illustrated both in simulation studies and an application to analysis of impacting factors for housing cost in Georgia.

A few topics beyond the scope of this paper are worth further investigation. In this paper, we only considered the full model that includes all covariates. Appropriate approaches for variable selection under a clustered regression context is worth investigating. The DPMM is used to get clustering information of regression coefficients. The posterior on the number of clusters is not consistent based on the DPMM. Such pattern have been observed in both our simulation studies, where there are some small clusters which only contain a few counties. Proposing a consistent prior geng2019probabilistic,hu2020bayesian for clustered regression coefficients is an important future work. In addition, extending our approach in non-gaussian model is an interesting topic. Considering spatial dependent structure for the regression coefficients zhao2020bayesian is devoted to future research.

thebibliography\bibitem[\citeauthoryear{Autant-Bernard and Le{S}age}{Autant-Bernard and Le{S}age}{2019}]{autantbernard2019heterogeneous} Autant-Bernard, C. and J. P. Le{S}age (2019). \newblock A heterogeneous coefficient approach to the knowledge production function. \newblock {\em Spatial Economic Analysis\/} {\em 14\/}(2), 196--218. \bibitem[\citeauthoryear{Bill\'{e}, Benedetti, and Postiglione}{Bill\'{e} et al.}{2017}]{bille2017twostep} Bill\'{e}, A. G., R. Benedetti, and P. Postiglione (2017). \newblock A two-step approach to account for unobserved spatial heterogeneity. \newblock {\em Spatial Economic Analysis\/} {\em 12\/}(4), 452--471. \bibitem[\citeauthoryear{Brunsdon, Fotheringham, and Charlton}{Brunsdon et al.}{1996}]{brunsdon1996geographically} Brunsdon, C., A. S. Fotheringham, and M. E. Charlton (1996). \newblock Geographically weighted regression: a method for exploring spatial nonstationarity. \newblock {\em Geographical Analysis\/} {\em 28\/}(4), 281--298. \bibitem[\citeauthoryear{Carlin, Gelfand, and Banerjee}{Carlin et al.}{2014}]{carlin2014hierarchical} Carlin, B. P., A. E. Gelfand, and S. Banerjee (2014). \newblock {\em Hierarchical Modeling and Analysis for Spatial Data}. \newblock Chapman and Hall/CRC. \bibitem[\citeauthoryear{Chasco and Gallo}{Chasco and Gallo}{2015}]{chasco2015heterogeneity} Chasco, C. and J. L. Gallo (2015). \newblock Heterogeneity in perceptions of noise and air pollution: A spatial quantile approach on the city of {M}adrid. \newblock {\em Spatial Economic Analysis\/} {\em 10\/}(3), 317--343. \bibitem[\citeauthoryear{Cressie}{Cressie}{1992}]{cressie1992statistics} Cressie, N. (1992). \newblock Statistics for spatial data. \newblock {\em Terra Nova\/} {\em 4\/}(5), 613--617. \bibitem[\citeauthoryear{Dahl}{Dahl}{2006}]{dahl2006model} Dahl, D. B. (2006). \newblock Model-based clustering for expression data via a {D}irichlet process mixture model. \newblock {\em {B}ayesian Inference for Gene Expression and Proteomics\/} {\em 4}, 201--218. \bibitem[\citeauthoryear{de Valpine, Turek, Paciorek, Anderson-Bergman, Lang, and Bodik}{de Valpine et al.}{2017}]{de2017programming} de Valpine, P., D. Turek, C. J. Paciorek, C. Anderson-Bergman, D. T. Lang, and R. Bodik (2017). \newblock Programming with models: writing statistical algorithms for general model structures with {NIMBLE}. \newblock {\em Journal of Computational and Graphical Statistics\/} {\em 26\/}(2), 403--413. \bibitem[\citeauthoryear{Ferguson}{Ferguson}{1973}]{ferguson1973bayesian} Ferguson, T. S. (1973). \newblock A {B}ayesian analysis of some nonparametric problems. \newblock {\em Annals of Statistics\/} {\em 1\/}(2), 209--230. \bibitem[\citeauthoryear{Gelfand, Kim, Sirmans, and Banerjee}{Gelfand et al.}{2003}]{gelfand2003spatial} Gelfand, A. E., H.-J. Kim, C. Sirmans, and S. Banerjee (2003). \newblock Spatial modeling with spatially varying coefficient processes. \newblock {\em Journal of the American Statistical Association\/} {\em 98\/}(462), 387--396. \bibitem[\citeauthoryear{Gelfand and Schliep}{Gelfand and Schliep}{2016}]{gelfand2016spatial} Gelfand, A. E. and E. M. Schliep (2016). \newblock Spatial statistics and {G}aussian processes: A beautiful marriage. \newblock {\em Spatial Statistics\/} {\em 18}, 86--104. \bibitem[\citeauthoryear{Geng, Bhattacharya, and Pati}{Geng et al.}{2019}]{geng2019probabilistic} Geng, J., A. Bhattacharya, and D. Pati (2019). \newblock Probabilistic community detection with unknown number of communities. \newblock {\em Journal of the American Statistical Association\/} {\em 114\/}(526), 893--905. \bibitem[\citeauthoryear{Green}{Green}{1995}]{green1995reversible} Green, P. J. (1995). \newblock Reversible jump {M}arkov chain {M}onte {C}arlo computation and {B}ayesian model determination. \newblock {\em Biometrika\/} {\em 82\/}(4), 711--732. \bibitem[\citeauthoryear{Hijmans}{Hijmans}{2017}]{Rpkg:geosphere} Hijmans, R. J. (2017). \newblock {\em {geosphere}: Spherical Trigonometry}. \newblock {R} package version 1.5-7. \bibitem[\citeauthoryear{Hu and Bradley}{Hu and Bradley}{2018}]{hu2018stat} Hu, G. and J. Bradley (2018). \newblock A {B}ayesian spatial-temporal model with latent multivariate log-gamma random effects with application to earthquake magnitudes. \newblock {\em Stat\/} {\em 7\/}(1), e179. \newblock e179 sta4.179. \bibitem[\citeauthoryear{Hu, Geng, Xue, and Sang}{Hu et al.}{2020}]{hu2020bayesian} Hu, G., J. Geng, Y. Xue, and H. Sang (2020). \newblock Bayesian spatial homogeneity pursuit of functional data: an application to the {U}.{S}. income distribution. \newblock {\em Arxiv\/}. \newblock Preprint. \bibitem[\citeauthoryear{Ibrahim, Chen, and Sinha}{Ibrahim et al.}{2013}]{ibrahim2013bayesian} Ibrahim, J. G., M.-H. Chen, and D. Sinha (2013). \newblock {\em {B}ayesian {S}urvival {A}nalysis}. \newblock Springer Science & Business Media. \bibitem[\citeauthoryear{Kulldorff and Nagarwalla}{Kulldorff and Nagarwalla}{1995}]{kulldorff1995spatial} Kulldorff, M. and N. Nagarwalla (1995). \newblock Spatial disease clusters: detection and inference. \newblock {\em Statistics in Medicine\/} {\em 14\/}(8), 799--810. \bibitem[\citeauthoryear{Lawson, Choi, and Zhang}{Lawson et al.}{2014}]{lawson2014prior} Lawson, A. B., J. Choi, and J. Zhang (2014). \newblock Prior choice in discrete latent modeling of spatially referenced cancer survival. \newblock {\em Statistical Methods in Medical Research\/} {\em 23\/}(2), 183--200. \bibitem[\citeauthoryear{Li and Sang}{Li and Sang}{2019}]{li2019spatial} Li, F. and H. Sang (2019). \newblock Spatial homogeneity pursuit of regression coefficients for large datasets. \newblock {\em Journal of the American Statistical Association\/}, 1--21. \bibitem[\citeauthoryear{Li, Banerjee, Hanson, and McBean}{Li et al.}{2015}]{li2015bayesian} Li, P., S. Banerjee, T. A. Hanson, and A. M. McBean (2015). \newblock {B}ayesian models for detecting difference boundaries in areal data. \newblock {\em Statistica Sinica\/} {\em 25\/}(1), 385--402. \bibitem[\citeauthoryear{Ma, Xue, and Hu}{Ma et al.}{2019a}]{ma2019bayesian} Ma, Z., Y. Xue, and G. Hu (2019a). \newblock Geographically weighted regression analysis for spatial economics data: a {B}ayesian recourse. \newblock Technical report, University of Connecticut. \bibitem[\citeauthoryear{Ma, Xue, and Hu}{Ma et al.}{2019b}]{ma2019nonparametric} Ma, Z., Y. Xue, and G. Hu (2019b). \newblock Nonparametric analysis of income distributions among different regions based on energy distance with applications to {C}hina {H}ealth and {N}utrition {S}urvey data. \newblock {\em Communications for Statistical Applications and Methods\/} {\em 26\/}(1), 57--67. \bibitem[\citeauthoryear{Miller and Harrison}{Miller and Harrison}{2013}]{miller2013simple} Miller, J. W. and M. T. Harrison (2013). \newblock A simple example of {D}irichlet process mixture inconsistency for the number of components. \newblock In {\em Advances in Neural Information Processing Systems}, pp.\ 199--206. \bibitem[\citeauthoryear{Panzera, Benedetti, and Postiglione}{Panzera et al.}{2016}]{panzera2016bayesian} Panzera, D., R. Benedetti, and P. Postiglione (2016). \newblock A {B}ayesian approach to parameter estimation in the presence of spatial missing data. \newblock {\em Spatial Economic Analysis\/} {\em 11\/}(2), 201--218. \bibitem[\citeauthoryear{Rand}{Rand}{1971}]{rand1971objective} Rand, W. M. (1971). \newblock Objective criteria for the evaluation of clustering methods. \newblock {\em Journal of the American Statistical Association\/} {\em 66\/}(336), 846--850. \bibitem[\citeauthoryear{Salinas-P\'{e}rez, Rodero-Cosano, Garc\'{i}a-Alonso, and Salvador-Carulla}{Salinas-P\'{e}rez et al.}{2015}]{peres2015applying} Salinas-P\'{e}rez, J. A., M. L. Rodero-Cosano, C. R. Garc\'{i}a-Alonso, and L. Salvador-Carulla (2015). \newblock Applying an evolutionary algorithm for the analysis of mental disorders in macro-urban areas: The case of {B}arcelona. \newblock {\em Spatial Economic Analysis\/} {\em 10\/}(3), 270--288. \bibitem[\citeauthoryear{Sethuraman}{Sethuraman}{1991}]{sethuraman1994constructive} Sethuraman, J. (1991). \newblock A constructive definition of {D}irichlet priors. \newblock {\em Statistica Sinica\/} {\em 4\/}(2), 639--650. \bibitem[\citeauthoryear{Xue, Schifano, and Hu}{Xue et al.}{2019}]{xue2018geographically} Xue, Y., E. D. Schifano, and G. Hu (2019). \newblock Geographically weighted {C}ox regression and its application to prostate cancer survival data in {L}ouisiana. \newblock {\em Geographical Analysis\/}. \newblock Forthcoming. \bibitem[\citeauthoryear{Zhang and Lawson}{Zhang and Lawson}{2011}]{zhang2011bayesian} Zhang, J. and A. B. Lawson (2011). \newblock {B}ayesian parametric accelerated failure time spatial model and its application to prostate cancer. \newblock {\em Journal of Applied Statistics\/} {\em 38\/}(3), 591--603. \bibitem[\citeauthoryear{Zhao, Yang, Dey, and Hu}{Zhao et al.}{2020}]{zhao2020bayesian} Zhao, P., H.-C. Yang, D. K. Dey, and G. Hu (2020). \newblock Bayesian spatial homogeneity pursuit regression for count value data. \newblock {\em Arxiv\/}. \newblock Preprint.