5. SAR and CAR#

5.1. Covariance Matrix#

  • Before dive into SAR and CAR, we need to introduce Covariance Matrix in detail

5.1.1. What’s Covariance?#

  • Covariance measures the joint variability of two random variables. If the greater values of one variable mainly correspond with the greater values of the other, the covariance is positive. In contrast, if the greater values of one correspond with the lower values of the other, the covariance is negative.

6. Simultaneous Autoregressive Regression (SAR)#

6.1. Overview#

  • SAR models the dependent variable based on both the independent variables and the spatial lag of the dependent variable. * The spatial lag is a weighted average of neighboring observations, with weights typically based on geographic distance or connectivity.

\[ Y=\rho WY+X\beta+e \]
  • \(Y\) is the dependent variable.

  • \(ρ\) is the spatial autoregressive parameter.

  • \(W\) is the spatial weights matrix, defining the relationship between each pair of observations in terms of spatial proximity.

  • \(X\) are the independent variables.

  • \(β\) are the coefficients for the independent variables.

  • \(ϵ\) is the error term, assumed to be normally distributed.

6.2. Estimating \(\rho\) using MLE#

  1. Rearrange the SAR model

\[ (I-\rho W)Y=X\beta + e \to Y = (1-\rho W)^{-1} X\beta + (1-\rho W)^{-1}e \]
  1. Assume \(e\) ~ \(N(0,\sigma^2 I)\)