5. SAR and CAR#
5.1. Covariance Matrix#
Before dive into
SARandCAR, we need to introduceCovariance Matrixin 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 variablesand thespatial lag of the dependent variable. * Thespatial lagis a weighted average of neighboring observations, with weights typically based on geographic distance or connectivity.
\(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#
Rearrange the SAR model
Assume \(e\) ~ \(N(0,\sigma^2 I)\)