Conditionally Autoregressive Models for House Price Data: Insights From a Comparative Simulation Study

Authors
Affiliations

Indira Puteri Kinasih

Universiti Brunei Darussalam

Universitas Islam Negeri Mataram

Universiti Brunei Darussalam

Elvynna Leong

Universiti Brunei Darussalam

Modified

May 6, 2025

Other Formats
Abstract

The modelling of property prices has been extensively studied in econometrics, with widely used approaches including generalised linear regression and geo- graphically weighted regression. These models commonly address local spatial correlations observed in property price data. However, despite its potential to capture spatial effects, the Conditional Autoregressive (CAR) model remains underutilised for this purpose. This study examines the robustness and predictive power of the CAR model, comparing it with established spatial models across three different datasets generation. An illustrative case study on Lombok house price data is also included. Simulation results showed that the CAR model demon- strates a distinct advantage, achieving lower bias and variability compared to other spatial regression models, effectively capturing neighbourhood-based spa- tial relationships, and exhibiting strong predictive power across various scenarios. In the Lombok case study, the CAR model outperformed other models, providing more precise estimates for property-related factors such as land size and built- up area. The results confirm that CAR’s spatial framework enables a nuanced analysis of property values across regions, enhancing accuracy in predictive mod- els. This study also reveals the distinct strengths and limitations of each model, offering insights into their predictive accuracy and applicability across diverse real estate contexts.

Keywords

Conditional auto-regressive, simultaneous auto-regressive, geograpichally weighted regression, Property prices, Neighbourhood structure

Introduction

Real estate valuation represents a complex challenge, requiring a nuanced understanding of spatial dynamics and interdependencies within property markets. Traditional valuation methods often overlook these spatial dimensions, resulting in incomplete predictions and less effective policy interventions (Pagourtzi et al. (2003), Droj, Kwartnik-Pruc, and Droj (2024), McCord et al. (2014)). In response, spatial regression models have emerged as powerful tools to address these shortcomings by explicitly incorporating spatial relationships into the analysis of property prices (Stewart Fotheringham and Park (2018), Yang et al. (2019), Soltani et al. (2021)).

Among the various spatial regression models, Geographically Weighted Regression (GWR) is particularly prominent in property price research. Known for its capacity to capture local variations in property prices, GWR addresses spatial heterogeneity by allowing coefficients to vary across different locations. Significant studies, such as those by Sisman and Aydinoglu (2022), Soltani et al. (2021), Brunsdon, Fotheringham, and Charlton (1996), Yu (2007), and Lu, Charlton, and Fotheringham (2011), have highlighted its effectiveness in revealing spatially varying relationships between property values and various explanatory factors, including structural and neighbourhood characteristics, locational attributes, and socio-economic variables.

Spatial Autoregressive (SAR) models account for spatial dependence in the dependent variable by including a spatial lag parameter (\(\rho\)), which measures the influence of neighboring values. This makes SAR well-suited for data where values are directly impacted by nearby areas or points, such as house prices influenced by surrounding properties. However, SAR relies on a global spatial structure, which can limit its ability to capture localised patterns. Additionally, according to Golgher and Voss (2016) and LeSage and Pace (2014) the interdependence created by the spatial lag term introduces feedback effects, where values influence each other in a looping manner, making the interpretation of coefficients more complex.

Conditional autoregressive (CAR) models, in contrast, are designed to handle more localised spatial dependencies effectively, compare to SAR. They assume values at a location are conditionally dependent on neighboring areas, defined through an adjacency matrix \(\mathbf{W}\). This approach models spatial dependence via a spatial random effect, \(\phi\), which captures the influence of neighboring areas on the value at a specific location (Banerjee, Carlin, and Gelfand (2014)). CAR models are particularly suited for areal data, such as aggregated district-level statistics, where spatial autocorrelation is prominent. Unlike GWR, CAR does not require exact point coordinates and provides better handling of spatial heterogeneity than SAR. Its ability to model finer localised effects through \(\phi\) makes CAR a preferred choice for applications like district-level property price analysis, public health studies, or crime mapping (De Oliveira (2012)).

This study is motivated by the need to address the spatial intricacies that characterise real estate markets. Properties located near each other often share similar price trends, influenced by common amenities, and neighbourhood attributes. Incorporating spatial dependencies into property valuation allows spatial regression models to provide a deeper insight into market dynamics than traditional methods. It explores the theoretical basis, methodological structures, and practical uses of the GWR, SAR, and CAR models within house price modelling. Through a comparative analysis of these models, we aim to clarify their respective advantages, limitations, and appropriateness for enhancing the accuracy and detail of property market assessments, with a particular focus on the distinct context of Lombok, Indonesia.

The paper begins with a literature review on spatial regression techniques for modeling property prices. Section 3 outlines the theoretical foundations of spatial autoregressive models, including GLM, GWR, SAR, CAR, and their multilevel variants. Section 4 provides a comparative analysis of these models across three artificial study regions, evaluating their predictive accuracy and robustness. Section 5 applies these models to Lombok house price data, demonstrating their efficacy in capturing spatial patterns and improving real estate market insights.

Study region

In the spatial modelling, the study region \(\mathcal{S}\) is typically divided into \(K\) distinct non-overlapping geographic units, denoted as \(\mathcal{S}_k\) for \(k = 1, 2, \dots, K\). Each geographic unit \(\mathcal{S}_k\) is associated with a target variable \(y_k\) and a set of explanatory factors represented as a vector \(\mathbf{x}_k\).

In this study, the artificial study region was constructed to facilitate model simulations and analysis. This synthetic region serves as a spatial representation. The dataset consists of a simple feature (sf) collection. It spans a bounding box from longitude 116.0355 to 116.5 and latitude -8.500079 to -8.000057, using the WGS 84 coordinate reference system (CRS). The geometry type is polygon, indicating that each feature is a polygonal area, with 216 polygons in total. Each polygon is defined by two attributes: area, representing the size in square units, and geometry, specifying the polygon’s boundaries with longitude and latitude coordinates. The artificial study region is illustrated in Figure 1.

Figure 1: Artificial study region used for simulation analysis, consisting of 216 non-overlapping polygonal areas. Each area represents a distinct spatial unit for modelling and analysis, providing a controlled environment to evaluate spatial models’ performance

Another specific ingredient in spatial modelling is the existence of \(W\) matrix, also known as the spatial weights matrix. It encodes the spatial relationships between areas in a study region. The weight matrix visually shows how different regions are connected to each other, indicating their neighbourhood relationships (Morris et al. (2019)). To demonstrate this concept, let’s take a simple example of a map with 5 regions \((A, B, C, D, E)\), as visualised in Figure 2.

Figure 2: Illustration of neighbourhood structure. The figure depicts a simplified spatial configuration where each numbered area represents a distinct spatial unit, demonstrating how neighbouring relationships can be defined for spatial modelling purposes.

From the Figure 2 we can derive an adjacency matrix which represents the neighborhood structure of five spatial units labeled \(A\) to \(E\). Each entry 1 indicates a direct adjacency (areas share a common border), while 0 denotes no direct connection. For example, Area \(A\) is adjacent to all other areas (\(B\), \(C\), \(D\), and \(E\)), whereas Area \(B\) is only adjacent to \(A\) and \(C\). This neighbourhood configuration captures a clear spatial interaction pattern among the areas, which forms the basis for constructing a spatial weight matrix, commonly denoted as the \(\mathbf{W}\) matrix

\[ \mathbf{W} = \begin{array}{cccccc} & A & B & C & D & E \\ A & 0 & 1 & 1 & 1 & 1\\ B & 1 & 0 & 1 & 0 & 0\\ C & 1 & 1 & 0 & 1 & 0\\ D & 1 & 0 & 1 & 0 & 1\\ E & 1 & 0 & 0 & 1 & 0\\ \end{array} \hspace{2.5cm} \mathbf{D} = \begin{array}{cccccc} & A & B & C & D & E \\ A & 4 & 0 & 0 & 0 & 0\\ B & 0 & 2 & 0 & 0 & 0\\ C & 0 & 0 & 3 & 0 & 0\\ D & 0 & 0 & 0 & 3 & 0\\ E & 0 & 0 & 0 & 0 & 2\\ \end{array} \]

Later on, in the modelling stage, we will also need to construct a diagonal matrix \(\boldsymbol{D}\). It is an \(N \times N\) matrix where each diagonal element \(d_{ii}\) denotes the number of neighbours of region. while all non-diagonal elements are zero. This matrix is essential in spatial econometric models because it captures the local neighbourhood structure of each region. In the context of Geographically Weighted Regression (GWR), Spatial Autoregressive (SAR), and Conditional Autoregressive (CAR) models, \(\boldsymbol{D}\) plays a pivotal role in defining spatial relationships and dependencies among different regions.

For instance, in SAR and CAR models, the diagonal matrix \(\boldsymbol{D}\) aids in incorporating spatial lag and error components by appropriately weighting the influence of neighbouring regions (Wall (2004), Ver Hoef et al. (2018)). In GWR, this matrix assists in locally calibrating the model by reflecting the density and connectivity of regions (Brunsdon, Fotheringham, and Charlton (1996), Stewart Fotheringham and Park (2018)). In this case, \(\mathbf{D}\) indicates that region \(A\) has 4 neighbours, regions \(C\) and \(D\) each have 3 neighbours, and region \(B\) and \(E\) has 2 neighbours.

Figure 3: Neighbourhood structure of the artificial region. This figure illustrates the spatial connectivity between polygons in the artificial study region, where each line represents a defined neighbour relationship based on spatial adjacency

In relation to our artificial study region, Figure 3 illustrates the connections between areas, represented by vertices or centroids for each area and nodes connecting them to each other. This visualisation highlights the spatial adjacency structure within the region.

Spatial regression model

When discussing spatial regression, it’s crucial to comprehend the basic notion of linear regression. In classical linear regression, the relationship between the dependent variable \(y\) and the \(x_1,x_2, \dots, x_p\) independent variables is expressed as

\[ y = \beta_0 + \beta_1x_1 + \dots + \beta_p x_p + \varepsilon \tag{1}\]

This formulation assumes a global relationship between the variables, where the coefficients \(\beta_1,\beta_2, \dots, \beta_p\) are constant across the entire study area. In many spatial datasets, relationships between variables may exhibit spatial variation. For example, in the case of property pricing, a consistent rates of change assumption may not hold true universally. For example, the house price increase for an extra bedroom is often thought to be fixed across all locations. However, local customs or knowledge may actually dictate these rates, rather than a universal utility assigned to each commodity. For instance, in neighbourhoods with families, where extra space is highly valued, the perceived value of an additional bedroom may be greater compared to areas with singles or elderly couples, for whom extra space may not be as desirable.

Geographically Weighted Regression (GWR)

Brunsdon, Fotheringham, and Charlton (1996) developed GWR which is one such technique that extends classical linear regression by allowing coefficients to vary spatially. It allows for the estimation of local relationships between a response variable and predictor variables. It is particularly useful for exploring spatial non-stationarity and identifying spatially varying relationships across different locations. The GWR model can be expressed as:

\[ y_i(s) = \beta_{0}(s) + \sum_{k=1}^p \beta_k(s)x_{ik}(s) + \varepsilon(s), \\ i = 1,\dots, n \tag{2}\]

Equation 2 represents a spatial regression model where \(\mathbf{y}(s)\) is the dependent variable at location \(s\). The term \(\beta_{0}(s)\) is the spatially varying intercept, while \(\sum_{k=1}^p \beta_k(s)\mathbf{x_k}(s)\) represents the spatially varying coefficients for the independent variables \(\mathbf{x_k}(s)\). \(\varepsilon(s)\) denotes the error term, capturing unexplained variation at location \(s\)

Using a weighted least squares approach to calibrate regression models allows different weights to be assigned to different observations, influencing the estimated parameters. In ordinary least squares, the goal is to minimize the sum of squared differences between predicted and actual \(y\) values. Weighted least squares, however, apply a weighting factor \(w\) to each squared difference, making some prediction inaccuracies more significant. If \(w\) is a diagonal matrix of weights, the estimated coefficients are given by Equation 3:

\[ \beta(s) = (\boldsymbol{x}^T \boldsymbol{W}(s) \boldsymbol{x})^{-1} \boldsymbol{x}^T \boldsymbol{W}(s) \boldsymbol{y} \tag{3}\]

This method allows GWR to address spatial heterogeneity by emphasizing observations near the location of interest, thereby improving the accuracy and relevance of local model estimates.

The estimation of GWR parameters involves fitting a separate regression equation for each location in the study area. Various estimation techniques can be employed, including ordinary least squares (OLS), weighted least squares (WLS), and maximum likelihood estimation (MLE). These techniques aim to optimize the model parameters to minimize the differences between the observed and predicted values of the dependent variable.

Simultaneously Autoregressive (SAR) Models

While GWR focuses on capturing localised spatial heterogeneity by allowing coefficients to vary across space, SAR take a different approach by explicitly modelling spatial dependencies through a spatial lag. The SAR model is a spatial econometric model used to analyse spatial dependencies and relationships among observations in a geographic space (Anselin and Griffith (1988)). It is widely employed in various fields, such as regional economics, environmental studies, and urban planning. SAR is a type of spatial autoregressive model involving a simultaneous equation framework to capture spatial interactions.

The general form of SAR model can be expressed as follows

\[ y(s) = \rho \sum_{s'} w(s,s') y(s') + \sum_{k=1}^p \beta_k x_k(s) + \varepsilon(s) \tag{4}\]

where \(\mathbf{Y}\) is the vector of observed values for the dependent variable, \(W\) is the spatial weights matrix, \(\rho\) is the spatial autoregressive coefficient, \(X\) is the matrix of observed values for exogenous variables, \(\beta\) is the vector of coefficients, and \(\boldsymbol{\varepsilon} \sim N(0,\sigma^2)\) is the vector of error terms. Estimation of the SAR model parameters is typically done using statistical techniques such as maximum likelihood estimation (MLE) or generalised method of moments (GMM). The joint distribution of \(\mathbf{Y}\) can be written as

\[ \mathbf{Y} \sim \mathcal{N}\left( \left( I - \rho W \right)^{-1} X\beta, \, \sigma^2 \left( I - \rho W \right)^{-1} \left( I - \rho W^T \right)^{-1} \right) \tag{5}\]

Extensions of the SAR model include the Spatial Lag Model, the Spatial Error Model, and the Spatial Durbin Model (Elhorst et al. (2014)), each incorporating distinct assumptions regarding the spatial configuration of the errors (Elhorst, Lacombe, and Piras (2012); Anselin (2013)). These extensions provide flexibility to account for different types of spatial dependencies and can be chosen based on the specific spatial relationships and hypotheses under investigation.

The SAR model, with its various specifications, provides a flexible framework to account for spatial dependencies and explore the spatial dynamics of observed phenomena. Researchers often choose between these models based on the nature of the spatial relationships in their data and the specific hypotheses they aim to test. The SAR model is a valuable tool for understanding spatial interdependence and making informed policy and planning decisions in diverse spatial contexts

Conditional Autoregressive (CAR) Models

CAR models are a class of spatial statistical models used to analyze spatially structured data. The general formulation of a CAR model can be expressed as:

\[ y(s) = \sum_{k=1}^p \beta_k x_k(s) + \varepsilon(s) + \phi(s) \tag{6}\]

Here, \(\boldsymbol{\varepsilon} \sim N(0, \sigma_{\varepsilon}^2)\) while \(\boldsymbol{\phi}\) is a specific component in CAR model that has a role as spatial effect. It is also common to mention \(\boldsymbol{\phi}\) as a CAR priors. It is a type of Gaussian Markov random field (Rue and Held (2005)), capture spatial autocorrelation by ensuring that values at nearby locations are more similar than those further apart (Lee (2013)). This can be expressed in a general term

\[ \boldsymbol{\phi}\sim N(0,\sigma_{\phi}^2\boldsymbol{Q}^{-1}) \tag{7}\]

where \(\boldsymbol{Q}\) is a precision matrix that may be singular (intrinsic model). \(\boldsymbol{Q}\) controls the spatial autocorrelation structure of the random effects, and is based on a non-negative symmetric \(n \times n\) neighbourhood or weight matrix \(\boldsymbol{W}\).

Together with the spatial weights matrix \(\boldsymbol{W}\), the prior information are crucial components of CAR models. The choice of \(\boldsymbol{W}\) determines the spatial structure of the model, while the priors for the variance parameters and the spatial random effects influence the model’s ability to capture spatial dependencies. Commonly used priors for the variance parameters include inverse-gamma distributions, which provide flexibility and can be tuned to reflect prior beliefs about the scale of variability in the data. The prevailing approach typically involves a binary representation using geographical adjacency, where \(w_{ki} = 1\) if areal units \((S_k,S_i)\) have a mutual boundary (denoted \(k\sim i\), and is zero otherwise). This specification forces \((\phi_k,\phi_i)\) relating to geographically adjacent areas (that is \(w_{ki} = 1\)) to be correlated. On the other hand, random effects associated with areas that are not adjacent are independent of each other, provided we know the values of the other random effects.

A CAR prior was introduced by Leroux, Lei, and Breslow (2000) and Stern and Cressie (1999) to model diverse levels of spatial autocorrelation. In this type of prior, a single collection of random effects is utilised and its primary objective is to model spatial data, with a specific focus on dealing with spatial relationships and auto-correlation between data points. This model is especially proficient in the task of smoothing data and detecting spatial patterns within data set. The random effect \(\boldsymbol\phi_k\) structured as follow:

\[ \phi_k|\boldsymbol{\phi}_{-k}, \mathbf{W},\rho, \sigma_{\phi}^2 \sim N\left(\frac{\rho\sum_{i=1}^Kw_{ki}\phi_i}{A},\frac{\sigma_{\phi}^2}{A}\right) \tag{8}\]

where \(A = \rho\sum_{i=1}^Kw_{ki}+1-\rho\). Note that when \(\rho = 1\), the prior forms an intrinsic CAR prior (Besag, York, and Mollié 1991), indicating full spatial dependency. Conversely, when \(\rho = 0\), \(A = 1\) it means that there will be no \(W\) matrix role in the model, and it will become a comman random effect. In other words, the model reduces to a generalised linear model.

When handling \(i\) observations within each area \(k\), Equation 9 closely resembles Equation 2 in the GWR model, with the exception of the \(\phi\) component. It is usually called multilevel CAR models

\[ y_i(s) = \sum_{k=1}^p \beta_k x_{ki}(s) + \varepsilon_i(s) + \phi(s) \tag{9}\]

The Bayesian approach to CAR models entails defining prior distributions for all model parameters, such as the regression coefficients \(\beta\), variance parameters \(\sigma_{\varepsilon}^2\) and \(\sigma_{\phi}^2\), and spatial random effects \(\phi_k\). Subsequently, Bayesian inference techniques like Markov Chain Monte Carlo (MCMC) are employed to derive posterior distributions of these parameters. This method facilitates the integration of prior knowledge and offers a versatile framework for quantifying uncertainty.

In general, Table 1 below summarises the key elements utilised in the GWR, SAR, and CAR models:

Table 1: Comparison of Model Elements Across GWR, SAR, and CAR

Comparative Analysis of GLM, SAR, and CAR

This section focuses on generating spatially autocorrelated property price data, exploring two distinct data generation frameworks: one using a CAR specification and another without spatial autocorrelation (non-CAR). The analysis is conducted within an artificially constructed study area using key property covariates: land size, building size, number of bedrooms, and number of bathrooms. The generated datasets are then employed to examine spatial dependencies in property prices and are analysed using a suite of models including GLM, SAR, and CAR.

The experiment design

The experiment begins by creating a dataset based on the defined study region. The idea is to generate covariates that hypothetically can explain price of a property. It basically consist of property structural characteristics such as land size, building size, number of bedrooms, and number of bathrooms. To represent real-world data, each polygon contains multiple observations.

To generate the covariates, the first step involves creating area-level data with a specific spatial pattern, referred to as the housing density for the study region. The spatial pattern implies that certain areas or polygons will have a higher housing density than others. In this case, the central horizontal region of the study area is set to has a higher housing density, mirroring the housing distribution found on the island of Lombok. Although this density will not be directly utilized in the model simulation, it serves as a critical foundation for determining the spatial distribution of observation points across each polygon. In areas with higher density, a greater number of observation points are generated, which aligns with the notion that densely populated regions typically have more residential developments, thereby increasing the number of properties available for sale. Across the 216 polygons, a total of 4,314 observation points were generated. The number of observations per polygon varies from 5 to 56 points, reflecting the density in each area. Figure 4 illustrate how each polygon has multiple observations and they are distributed according to a specific pattern.

Figure 4: Artificial study region with observation points. The points represent data locations within each polygon, simulating real-world spatial observations for the purpose of model analysis and validation.

Following this, covariates were generated using mvrnorm() for each observation point, creating a dataset for further analysis. Table 2 provides a brief slice of the covariates’ structure.

Table 2: Slice of generated dataset as covariates for simulations

By employing artificially generated covariates and an artificially constructed study region, we developed three distinct property price datasets, each based on a different spatial model: CAR, a combination of CAR and SAR, and GWR. The true parameter values for this purpose are \(\boldsymbol{\beta} = \begin{bmatrix} 1 & 0.9 & 0.7 & 0.5 & 0.3 \end{bmatrix}\), \(\sigma_{\phi}^2 = 0.2\), \(\sigma_{\phi}^2 = 0.6\) and \(\rho = 0.6\). Whereas beta values for GWR dataset is generated using a beta function, which is a function of coordinate points. The matrix \(\mathbf{W}\) was derived from the neighbourhood structure of an artificial study region using the functions poly2nb() and nb2mat(). Data generation for \(SAR + CAR\) employs a slightly different strategy. In addition to being generated per area simultaneously using the joint distribution of \(\mathbf{Y}\) as in Equation 5, information about the spatial effect \(\boldsymbol{\phi}\) is also added at the end of the process. Therefore, we refer to it as \(SAR + CAR\) data.

Each data generation resulting two types of datasets: area-level and point-level. These datasets were then modelled using six linear regression approaches, comprising both classical and spatial regression models: GLM, SAR, and CAR for area-level data, and GWR, GLMM, and multilevel CAR for point-level data. Simulations were conducted \(sim = 1000\) times. From each simulation, coefficients, parameters, and fitted values were extracted, allowing for the computation of bias and RMSE values for robustness and prediction power analysis.

Robustness and power prediction analysis

The bias values are summarised in Table 6 and Table 7. It shows that the models exhibit varying levels of accuracy across the different parameters and datasets. Figure 5 presents the bias estimates of regression coefficients for different modelling approaches, separated by data type: (a) area-level data and (b) point-level data. Each panel corresponds to a data-generating mechanism (CAR, GWR, or SAR+CAR), and bias values are shown with 95% confidence intervals.

(a) Bias values by method and dataset type for area-level data
(b) Bias values by method and dataset type for point-level data
Figure 5: Bias estimates comparison of six different methods across datasets generated under CAR, GWR, and SAR+CAR frameworks. Each method’s performance is visualised for \(\beta_1\), \(\beta_2\), \(\beta_3\), and \(\beta_4\), highlighting variations in bias and the effectiveness of each model in addressing spatial dependencies.

For area-level data (Figure 5 (a)), CAR model consistently produces the lowest bias across all coefficients and data-generating scenarios. This confirms its ability to recover true parameter values under spatial dependency, even when data is aggregated. The SAR model displays higher variability and often substantial bias, especially in CAR-generated datasets, suggesting model misspecification when the true structure is localised (as in CAR). GLM, which ignores spatial effects, performs reasonably in some settings but often underperforms compared to CAR.

In the point-level setting (Figure 5 (b)), the mlvCAR model shows superior performance, achieving minimal bias across all coefficients and data-generating mechanisms. This reflects its strength in modeling spatial dependencies while accounting for multilevel data structure (i.e., multiple observations within areas). GLMM performs moderately well but tends to show slightly higher bias than mlvCAR. In contrast, GWR, despite being designed for point-level spatial variation, yields higher bias, especially under SAR+CAR structures. This suggests GWR’s limitation when spatial heterogeneity is not smooth or when model assumptions are violated.

Table 3: RMSE values across different datasets

Moreover, Table 3 provide insights into model accuracy at different spatial levels. For area-level data, the models GLM, SAR, and CAR are compared, with the CAR model consistently achieving the lowest RMSE. This suggests that CAR is more effective at capturing spatial dependencies at the area level. For point-level data, the models GLMM, GWR, and mlvCAR are evaluated, with mlvCAR showing the lowest RMSE across all datasets. This indicates that mlvCAR is particularly well-suited for handling detailed spatial variations at the point level. Overall, these results highlight the strengths of CAR and mlvCAR in reducing error within their respective spatial contexts, underscoring their potential utility in spatial modeling applications.

Applications in Lombok house prices dataset

In this section, we apply the simulated models to property price data on Lombok Island, Indonesia. Lombok is located in the eastern part of Indonesia, specifically between latitudes -8.9° and -8.1°, and longitudes 115.9° and 116.6°.

Figure 6: Lombok neighbour structure at the sub-district (Kecamatan) level. This figure illustrates the spatial neighbour structure of sub-districts on Lombok Island. The red lines represent the connections between neighbouring sub-districts based on adjacency relationships, overlaid on a base map.

Lombok comprises five districts (kota/kabupaten), 53 sub-districts (kecamatan), and 608 villages (desa/kelurahan), representing three successive levels of administrative division. Mataram District, despite its small area compared to other districts in Lombok, is the most urbanized and economically active area on the island, characterized by dense residential clusters with relatively homogeneous housing specifications. In adjacent districts such as West Lombok and Central Lombok, housing developments have expanded, particularly to accommodate commuters working in Mataram. The coastal areas of West Lombok, including Batu Layar and Sekotong, exhibit villa-style housing commonly associated with tourism, resulting in generally higher property prices. A similar pattern is found in North Lombok, where mountainous terrain limits development, but tourism-driven demand has led to villa-style housing near popular destinations. East Lombok, by contrast, remains more isolated due to its distance from Mataram. Housing in this district tends to serve primarily the local population, with limited signs of external investment or tourism-driven development. Additionally, the southern part of Central Lombok (Pujut) has seen emerging residential and real estate activity following the construction of the international MotoGP circuit.

In this study, the sub-district level is used as the spatial unit of analysis, as illustrated in Figure 6. The key variables of interest include property price, land size, built-up area, number of bedrooms, and number of bathrooms.

Data Collection

Data were collected from multiple online sources. Property prices and their associated characteristics were harvested using web-scraping techniques from three leading Indonesian property trading platforms, https://www.lamudi.co.id/, https://www.99.co/, and https://www.rumah123.com/. The accuracy of the web-scraped data was ensured by cross-referencing it with official datasets, performing checks for missing or inconsistent entries, and validating key variables through sample comparisons with manually collected data. From this process, the initial dataset comprised 1,188 entries, with 9 variables, including village, prices, land-size, built-up area, number of bedrooms, number of bathrooms, floors, property type/category, and furnishing status.

Further, we conducted several preprocessing steps. First, we filtered the dataset by removing irrelevant variables, including floors, furnishing status, and category. It was then subsequently filtered to retain only properties with plausible characteristics: land area between 90 and 800 square meters, built-up size between 70 and 600 square meters, a maximum of 6 bedrooms, and a maximum 5 bathrooms. These thresholds were applied to ensure the data reflect realistic and context-appropriate housing characteristics in Lombok, based on common residential patterns and local housing norms. This step was essential to enhance the validity of the analysis by excluding outliers or potentially erroneous entries. Following this procedure, the dataset was refined to comprise a total of 576 observations. A summary of the key variables is presented in Table 4. Notably, the distribution of property prices is skewed and does not exhibit a bell-shaped curve, which motivates the inclusion of a log-transformed price variable in the analysis.

Table 4: Summary statistics of house prices dataset (\(N = 576\), NA = 4%), including variables such as prices and its logscale value, land area(sqm), building area(sqm), number of beds, and number of baths

Next, we merged the cleaned dataset with spatial administrative data by matching sub-district and district names. This process resulted in a dataset containing 598 entries. Compared to the previous dataset, which consisted of 576 observations, this indicates that 22 sub-districts did not have any property data available—meaning that property sales in those areas were not recorded on the online property listing platform used as the data source.

To address missing values, we used the mice package (Van Buuren and Groothuis-Oudshoorn (2011)), which performs multiple imputation by chained equations (MICE). This approach iteratively fills in missing data by modeling each variable with missing values as a function of other variables in the dataset. By generating multiple imputed datasets, it accounts for the uncertainty inherent in missing data. In our case, we specified 10 iterations and generated 10 imputed datasets. A fixed random seed was used to ensure the results were reproducible. The imputed datasets were then pooled to obtain final estimates for subsequent analyses. The imputed values were then reintegrated into the main dataset, replacing the original missing entries. This process resulted in a final dataset that was complete and ready for subsequent analysis using the selected spatial models.

In addition to the point-level dataset, which contains individual property listings, the imputed dataset was also aggregated to the sub-district level by calculating the mean values of key variables. This aggregation produced an area-level dataset, allowing the analysis to be conducted at both the individual and administrative levels. These two levels of data granularity provide complementary perspectives for evaluating the performance of spatial models in capturing local property market dynamics.

Moreover, as GWR requires spatial coordinates for each observation, we addressed this by generating random points around the centroid of each sub-district using the st_sample() function. The number of points generated matched the number of observations in each area, and each was positioned within a 0.5 km radius of the centroid to maintain a realistic spatial distribution while preserving the local context. This strategy allowed us to simulate plausible spatial locations for property transactions in the absence of precise geolocation data. Importantly, we applied the same bandwidth in the GWR model fitting to ensure consistency. By preserving the area-level grouping structure, this approach supports a fair comparison with the previous method.

Model Implementation & Analysis

The cleaned and completed Lombok dataset was then fitted to the model. Equation Equation 10 presents the proposed model specification, which serves as the fixed formula applied consistently across all analyses

\[ \text{logprices} \sim \text{land}_{\text{std}} + \text{building}_{\text{std}} + \text{beds}_{\text{std}} + \text{baths}_{\text{std}} \tag{10}\]

Standardization of the predictors ensures that the resulting coefficients are on a comparable scale, facilitating meaningful interpretation and comparison across different modeling approaches. We conducted model fitting on the area-level data, with detailed results provided in the Appendix (Table 8). However, this method does not provide optimal parameter estimates because data aggregation can reduce variability and obscure spatial details essential for capturing local effects. To address this, we used point-level data to apply three different models: GLMM, GWR, and multilevel CAR.

The results presented in Table 5 provide a comprehensive evaluation of each model’s performance in capturing both the structural and spatial characteristics of the property market in Lombok.

Table 5: Point-level Model Comparison

Here, Table 5 compares parameter estimates and fit criteria for three models: GLMM, GWR, and multilevel CAR. Significant coefficients are marked with an asterisk (*). Key determinants like land-size and built-up area have positive, significant effects across models, while the number of bedrooms shows only minor, varying effects, indicating model-specific differences in capturing this variable’s influence. Only the multilevel CAR model includes the spatial parameter \(\rho\), with a significant estimate of 0.48, showing the model’s ability to account for spatial dependence. Variance components \(\sigma_{\varepsilon}^2\) (residual) and \(\sigma_{\phi}^2\) are also detailed, with both terms are significant. Fit criteria (AIC, WAIC, and Log-likelihood) suggest mlvCAR and GWR may better capture local spatial variation, with mlvCAR balancing spatial structure and precision.

(a) \(\phi\) values
(b) Aggregate price data (log scale)
Figure 7: Heatmap of aggregated price data and phi values in each Lombok sub-district

Figure 7 (a) and Figure 7 (b) respectively present spatial heatmaps illustrating the distribution of estimated spatial random effects (\(\phi\)) from the CAR model and the average log-transformed house prices per sub-district accross Lombok island. It can be seen that both plots in Figure 7 exhibit similar spatial patterns, with high and low values clustering in comparable regions. Note that they do not have to be identical, as \(\phi\) represents the spatially structured residual component after accounting for covariates, whereas the log-transformed prices reflect the observed aggregated market values. Nonetheless, their resemblance suggests that some of the spatial variability in house prices is being effectively captured by the spatial random effects.

Because the model uses log-transformed prices, \(\phi\) has multiplicative interpretation on the original price scale. For instance, if \(\phi = 0.57\) for a given sub-district, then after accounting for covariates, properties in that area are estimated to be approximately \(\exp(0.57) \approx 1.76\) or 76% more expensive than average. Similarly, a sub-district with \(\phi = -0.2\), this suggests that properties in that area are approximately 18% less expensive than average, since \(\exp(-0.2) \approx 0.82\). Note that the 95% credible interval of \(\phi\) can be interpreted similarly by exponentiating the lower and upper bounds, yielding a multiplicative uncertainty range for the price deviation.

Results and Discussion

The findings from simulation consistently indicate that both the CAR and mlvCAR model outperform the other models in capturing spatial dependencies. This is evidenced by lower RMSE values and reduced bias across various dataset scenarios, highlighting the CAR model’s robustness. In datasets with strong spatial structures, such as those generated under \(CAR\) and \(SAR + CAR\) conditions, the CAR model achieves substantially lower RMSE values compared to GLM and SAR, suggesting its effectiveness in handling localised spatial variations.

In the context of house price modelling, it is common to encounter multiple sales observations within a single area, yet precise coordinates for each sale are often unavailable. Obtaining precise geographic coordinates in real-world datasets is often challenging due to limitations in data collection, privacy concerns, or the aggregation of data into broader administrative units. This limitation renders point-level approaches, such as GWR, less effective. With multiple observations available for each area, models like mlvCAR offer a more practical and accurate solution, effectively capturing spatial dependencies at an area level without requiring precise point-level locations.

The results underscore the importance of using models that explicitly account for spatial dependencies in fields like property valuation, where spatial heterogeneity plays a significant role. The superior performance of the CAR model, particularly in datasets with strong spatial structure, suggests that it may be a more reliable choice for applications where local spatial variations are critical. The findings align with previous studies (Y. Wang and Kockelman (2013), Soroori, Moghaddam, and Salehi (2019), Zeng and Huang (2014), Guelat and Kéry (2018)) indicating that CAR models are better suited for managing spatial autocorrelation and heterogeneity, especially when spatial dependencies are strong.

Spatial maps of the estimated random effects \(\phi\) from the CAR model offer further insight into the spatial structure of housing prices across Lombok Island. These effects represent residual spatial patterns after accounting for structural covariates like land size, building size, and number of rooms. Such interpretability supports the use of CAR models not only for improved prediction but also for spatial diagnostics. The visual comparison of \(\phi\) values and aggregated log-transformed prices (as shown in Figure 7) highlights spatial patterns that may warrant further investigation—such as clusters of residual over- or under-prediction in West and East Lombok respectively. These patterns underscore the added value of CAR-type models in revealing latent geographic effects.

These findings also echo the limitations of GWR when precise coordinates are lacking, affirming the relevance of area-level approaches. Moreover, while we use a binary adjacency matrix for consistency, we recognise that the choice of spatial weight \(\mathbf{W}\) may influences model performance. Future studies should explore alternative specifications such as row-standardized or distance-decay matrices to assess their impact on robustness and interpretability.

Additionally, while the spatial dependence parameter \(\rho\) is estimated as part of the model fitting, its variability across simulations suggests that further sensitivity analyses—especially under different fixed \(\rho\) values—could shed light on model stability in different spatial contexts.

Additionally, the limitations of point-level models such as GWR in the absence of precise location data highlight a practical challenge in spatial modeling. When only area-level data is available, the use of models like mlvCAR becomes essential, as it allows for spatial analysis without the need for detailed coordinates, thus expanding the applicability of spatial models in real-world settings. These insights suggest potential for further exploration of the CAR and mlvCAR models in various domains, especially in urban planning, real estate, and other fields where spatial relationships impact outcomes. Future research could examine the use of CAR and mlvCAR models with different spatial resolutions or apply these models to other datasets with varying levels of spatial dependency to further validate their effectiveness.

In summary, this study highlights the importance of explicitly modeling spatial dependence in house price analysis. CAR and mlvCAR models emerge as practical and theoretically sound options, especially when high-resolution spatial data are unavailable. Future research may extend these models to finer spatial scales, incorporate additional spatial diagnostics, or apply them in other domains where spatial heterogeneity significantly influences outcomes.

Supplementary information

Not applicable

Acknowledgments

Not applicable

Declarations

  • Funding
  • Competing interests

No, I declare that the authors have no competing interests as defined by Springer, or other interests that might be perceived to influence the results and/or discussion reported in this paper.

  • Ethics approval
  • Consent to participate
  • Consent for publication
  • Availability of data and materials
  • Code availability
  • Authors’ contributions

Appendix

Bias values for Area-level Data

Table 6: Mean ± SD values for bias across different area-level datasets and parameters. This table presents the mean and standard deviation (SD) of bias values across area-level datasets (CAR, SAR + CAR, GWR) and spatial models (GLM, SAR, CAR), with \(nsim = 1000\). This is also act as numerical representation of fig. 5 (top panel)
Table 7: Mean ± SD values for bias across different point-level datasets and parameters. This table presents the mean and standard deviation (SD) of bias values across point-level datasets (CAR, SAR + CAR, GWR) and spatial models (GLM, SAR, CAR), with \(nsim = 1000\). This is also act as numerical representation of fig. 5 (bottom panel)

Model Comparison for area-level data

Table 8: This table compares the performance of GLM, SAR, and CAR models on area-level data. It reports parameter estimates (with 95% confidence intervals), spatial parameters (\(\rho\)), variances (\(\nu^2\), \(\tau^2\)), and model fit criteria (AIC, DIC, WAIC, LMPL, log-likelihood). The results highlight each model’s capability to capture spatial dependencies and variability

Example of beta-values in GWR model

Figure 8: Spatial variation of \(\beta\) values generated using a custom beta function. The color gradient represents the magnitude of \(\beta\) values across the artificial study region, highlighting localised patterns and heterogeneity. The visualisation demonstrates the spatially varying coefficient structure modeled in the study

References

References

Anselin, Luc. 2013. Spatial Econometrics: Methods and Models. Vol. 4. Springer Science & Business Media.
Anselin, Luc, and Daniel A Griffith. 1988. “Do Spatial Effecfs Really Matter in Regression Analysis?” Papers in Regional Science 65 (1): 11–34.
Banerjee, Sudipto, Bradley P Carlin, and Alan E Gelfand. 2014. Hierarchical Modeling and Analysis for Spatial Data. CRC press.
Beguería, Santiago, and Yolanda Pueyo. 2009. “A Comparison of Simultaneous Autoregressive and Generalized Least Squares Models for Dealing with Spatial Autocorrelation.” Global Ecology and Biogeography 18 (3): 273–79.
Besag, Julian, Jeremy York, and Annie Mollié. 1991. “Bayesian Image Restoration, with Two Applications in Spatial Statistics.” Annals of the Institute of Statistical Mathematics 43 (March): 1–20. https://doi.org/10.1007/BF00116466.
Bottero, Marta, Marina Bravi, Giulio Mondini, and Antonio Talarico. 2017. “Buildings Energy Performance and Real Estate Market Value: An Application of the Spatial Auto Regressive (SAR) Model.” Appraisal: From Theory to Practice: Results of SIEV 2015, 221–30.
Brunsdon, Chris, A Stewart Fotheringham, and Martin E Charlton. 1996. “Geographically Weighted Regression: A Method for Exploring Spatial Nonstationarity.” Geographical Analysis 28 (4): 281–98.
Cellmer, Radosław, Aneta Cichulska, and Mirosław Bełej. 2020. “Spatial Analysis of Housing Prices and Market Activity with the Geographically Weighted Regression.” ISPRS International Journal of Geo-Information 9 (6): 380. https://doi.org/10.3390/ijgi9060380.
Cellmer, Radosław, Katarzyna Kobylińska, and Mirosław Bełej. 2019. “Application of Hierarchical Spatial Autoregressive Models to Develop Land Value Maps in Urbanized Areas.” ISPRS International Journal of Geo-Information 8 (4): 195.
De Oliveira, Victor. 2012. “Bayesian Analysis of Conditional Autoregressive Models.” Annals of the Institute of Statistical Mathematics 64: 107–33.
Droj, Gabriela, Anita Kwartnik-Pruc, and Laurențiu Droj. 2024. “A Comprehensive Overview Regarding the Impact of GIS on Property Valuation.” ISPRS International Journal of Geo-Information 13 (6): 175.
Elhorst, J Paul et al. 2014. Spatial Econometrics: From Cross-Sectional Data to Spatial Panels. Vol. 479. Springer.
Elhorst, J Paul, Donald J Lacombe, and Gianfranco Piras. 2012. “On Model Specification and Parameter Space Definitions in Higher Order Spatial Econometric Models.” Regional Science and Urban Economics 42 (1-2): 211–20.
Fix, Miranda J, Daniel S Cooley, and Emeric Thibaud. 2021. “Simultaneous Autoregressive Models for Spatial Extremes.” Environmetrics 32 (2): e2656.
Golgher, André Braz, and Paul R Voss. 2016. “How to Interpret the Coefficients of Spatial Models: Spillovers, Direct and Indirect Effects.” Spatial Demography 4: 175–205.
Guelat, J., and M. Kéry. 2018. “Effects of Spatial Autocorrelation and Imperfect Detection on Species Distribution Models.” Methods in Ecology and Evolution 9: 1614–25. https://doi.org/10.1111/2041-210X.12983.
Lee, Duncan. 2013. “CARBayes: An r Package for Bayesian Spatial Modeling with Conditional Autoregressive Priors.” Journal of Statistical Software 55 (13): 1–24. https://doi.org/10.18637/jss.v055.i13.
Leroux, Brian G, Xingye Lei, and Norman Breslow. 2000. “Estimation of Disease Rates in Small Areas: A New Mixed Model for Spatial Dependence.” In Statistical Models in Epidemiology, the Environment, and Clinical Trials, 179–91.
LeSage, James P., and R. Kelley Pace. 2014. “Interpreting Spatial Econometric Models.” In Handbook of Regional Science, edited by Manfred M. Fischer and Peter Nijkamp, 1535–52. Berlin, Heidelberg: Springer Berlin Heidelberg. https://doi.org/10.1007/978-3-642-23430-9_91.
Lu, Binbin, Martin Charlton, and A Stewart Fotheringham. 2011. “Geographically Weighted Regression Using a Non-Euclidean Distance Metric with a Study on London House Price Data.” Procedia Environmental Sciences 7: 92–97.
McCord, Michael, Peadar T Davis, Martin Haran, David McIlhatton, and John McCord. 2014. “Understanding Rental Prices in the UK: A Comparative Application of Spatial Modelling Approaches.” International Journal of Housing Markets and Analysis 7 (1): 98–128.
Morris, Mitzi, Katherine Wheeler-Martin, Dan Simpson, Stephen J Mooney, Andrew Gelman, and Charles DiMaggio. 2019. “Bayesian Hierarchical Spatial Models: Implementing the Besag York Mollié Model in Stan.” Spatial and Spatio-Temporal Epidemiology 31 (November): 100301. https://doi.org/10.1016/j.sste.2019.100301.
Pagourtzi, Elli, Vassilis Assimakopoulos, Thomas Hatzichristos, and Nick French. 2003. “Real Estate Appraisal: A Review of Valuation Methods.” Journal of Property Investment & Finance 21 (4): 383–401.
Rue, Havard, and Leonhard Held. 2005. Gaussian Markov Random Fields: Theory and Applications. Chapman; Hall/CRC.
Sarlas, Georgios, and Kay W Axhausen. 2015. “Localized Speed Prediction with the Use of Spatial Simultaneous Autoregressive Models.” In TRB 94th Annual Meeting Compendium of Papers. National Academy of Sciences.
Sisman, Suleyman, and Arif Cagdas Aydinoglu. 2022. “A Modelling Approach with Geographically Weighted Regression Methods for Determining Geographic Variation and Influencing Factors in Housing Price: A Case in Istanbul.” Land Use Policy 119 (August): 106183. https://doi.org/10.1016/j.landusepol.2022.106183.
Soltani, Ali, Christopher James Pettit, Mohammad Heydari, and Fatemeh Aghaei. 2021. “Housing Price Variations Using Spatio-Temporal Data Mining Techniques.” Journal of Housing and the Built Environment 36 (3): 1–29. https://doi.org/10.1007/s10901-020-09811-y.
Soroori, Emad, Abolfazl Mohammadzadeh Moghaddam, and M. Salehi. 2019. “Application of Local Conditional Autoregressive Models for Development of Zonal Crash Prediction Models and Identification of Crash Risk Boundaries.” Transportmetrica A: Transport Science 15: 1102–23. https://doi.org/10.1080/23249935.2018.1564801.
Stern, Hal, and Noel A Cressie. 1999. “Inference for Extremes in Disease Mapping.” John Wiley and Sons 11: 63–84.
Stewart Fotheringham, A, and Bumsub Park. 2018. “Localized Spatiotemporal Effects in the Determinants of Property Prices: A Case Study of Seoul.” Applied Spatial Analysis and Policy 11 (August): 581–98. https://doi.org/10.1007/s12061-017-9232-8.
Trojanek, Radoslaw, and Michal Gluszak. 2018. “Spatial and Time Effect of Subway on Property Prices.” Journal of Housing and the Built Environment 33 (October): 359–84. https://doi.org/10.1007/s10901-017-9569-y.
Van Buuren, Stef, and Karin Groothuis-Oudshoorn. 2011. “Mice: Multivariate Imputation by Chained Equations in r.” Journal of Statistical Software 45: 1–67.
Ver Hoef, Jay M, Erin E Peterson, Mevin B Hooten, Ephraim M Hanks, and Marie-Josèe Fortin. 2018. “Spatial Autoregressive Models for Statistical Inference from Ecological Data.” Ecological Monographs 88 (1): 36–59.
Wall, Melanie M. 2004. “A Close Look at the Spatial Structure Implied by the CAR and SAR Models.” Journal of Statistical Planning and Inference 121 (2): 311–24.
Wang, Chih-Hao, and Na Chen. 2020. “A Geographically Weighted Regression Approach to Investigating Local Built-Environment Effects on Home Prices in the Housing Downturn, Recovery, and Subsequent Increases.” Journal of Housing and the Built Environment 35: 1283–1302.
Wang, Yiyi, and K. Kockelman. 2013. “A Poisson-Lognormal Conditional-Autoregressive Model for Multivariate Spatial Analysis of Pedestrian Crash Counts Across Neighborhoods.” Accident; Analysis and Prevention 60: 71–84. https://doi.org/10.1016/j.aap.2013.07.030.
Yang, Linchuan, Jiangping Zhou, Oliver F Shyr, et al. 2019. “Does Bus Accessibility Affect Property Prices?” Cities 84 (January): 56–65. https://doi.org/10.1016/j.cities.2018.07.005.
Yu, Danlin. 2007. “Modeling Owner-Occupied Single-Family House Values in the City of Milwaukee: A Geographically Weighted Regression Approach.” GIScience & Remote Sensing 44 (3): 267–82.
Zeng, Q., and Helai Huang. 2014. “Bayesian Spatial Joint Modeling of Traffic Crashes on an Urban Road Network.” Accident; Analysis and Prevention 67: 105–12. https://doi.org/10.1016/j.aap.2014.02.018.

Citation

BibTeX citation:
@article{puteri kinasih2025,
  author = {Puteri Kinasih, Indira and Jamil, Haziq and Leong, Elvynna},
  title = {Conditionally {Autoregressive} {Models} for {House} {Price}
    {Data:} {Insights} {From} a {Comparative} {Simulation} {Study}},
  journal = {Manuscript in Submission},
  date = {2025},
  url = {https://indiraputeri-phd.github.io/CAR_simcomp/},
  langid = {en},
  abstract = {The modelling of property prices has been extensively
    studied in econometrics, with widely used approaches including
    generalised linear regression and geo- graphically weighted
    regression. These models commonly address local spatial correlations
    observed in property price data. However, despite its potential to
    capture spatial effects, the Conditional Autoregressive (CAR) model
    remains underutilised for this purpose. This study examines the
    robustness and predictive power of the CAR model, comparing it with
    established spatial models across three different datasets
    generation. An illustrative case study on Lombok house price data is
    also included. Simulation results showed that the CAR model demon-
    strates a distinct advantage, achieving lower bias and variability
    compared to other spatial regression models, effectively capturing
    neighbourhood-based spa- tial relationships, and exhibiting strong
    predictive power across various scenarios. In the Lombok case study,
    the CAR model outperformed other models, providing more precise
    estimates for property-related factors such as land size and built-
    up area. The results confirm that CAR’s spatial framework enables a
    nuanced analysis of property values across regions, enhancing
    accuracy in predictive mod- els. This study also reveals the
    distinct strengths and limitations of each model, offering insights
    into their predictive accuracy and applicability across diverse real
    estate contexts.}
}
For attribution, please cite this work as:
Puteri Kinasih, Indira, Haziq Jamil, and Elvynna Leong. 2025. “Conditionally Autoregressive Models for House Price Data: Insights From a Comparative Simulation Study.” Manuscript in Submission. https://indiraputeri-phd.github.io/CAR_simcomp/.