Danna Cruz
Danna L. Cruz
Profesora Asistente de Carrera
Universidad del Rosario
VicerrectorÃa de investigación y consultorÃa
Escuela de medicina
Sea un grafo \(\mathcal{G} = (\mathcal{V}, \mathcal{E})\) con vértices \(n\) donde cada vértice representa uno de los componentes del vector \(\boldsymbol{\theta} = (\theta_1, \theta_2, \dots, \theta_n)\) y las aristas conectan nodos que tienen algún tipo de asociación. Un GMRF supone que \(\boldsymbol{\theta} = (\theta_1, \theta_2, \dots, \theta_n)^{t} \sim N (\boldsymbol {\mu}, \boldsymbol{\boldsymbol{\Sigma}})\) y que las aristas del grafo conectan nodos \(i\) y \(j\) si y solo si \(\theta_i \not\perp \theta_j | \boldsymbol {\theta}_{- ij}\), es decir, si \(\theta_i\) es independiente de \(\theta_{j}\), dados los componentes de \(\boldsymbol{\theta}\) excepto \(\theta_i\) y \(\theta_j\).
Si \(\boldsymbol{\theta} \sim N(\boldsymbol{\mu}, \boldsymbol{ Q})\), entonces para \(i\neq j\),
\[ \theta_i \perp \theta_j | \boldsymbol{\theta}_{-ij} \Leftrightarrow Q_{ij}=0. \]
Un vector aleatorio \(\boldsymbol{\theta}=(\theta_1, \theta_2, \dots, \theta_n)^{t} \in \mathbb{R}^{n}\) es llamado GMRF correspondiente a un grafo \(\mathcal{G}=(\mathcal{V}, \mathcal{E})\) con media \(\boldsymbol{\mu}\) y matriz de precisión \(\boldsymbol{ Q} >0\), si y solamente si la función de densidad de probabilidad de \(\boldsymbol{\theta}\) tiene la siguiente forma:
\[ \pi(\boldsymbol{\theta})=(2 \pi)^{-n/2}|\boldsymbol{ Q}|^{1/2}\exp\left(-\frac{1}{2} (\boldsymbol{\theta}-\boldsymbol{\mu})^{t} \boldsymbol{ Q}(\boldsymbol{\theta}-\boldsymbol{\mu}) \right), \]
donde la matriz \(\boldsymbol{ Q}\) cumple la siguiente condición: \[ Q_{ij}\neq 0 \Leftrightarrow \{i, j \}\in \mathcal{E}, \forall i \neq j. \]
Sea un grafo \(\mathcal{G}=(\mathcal{V}, \mathcal{E})\) que representa \(\boldsymbol{\theta}\), con media \(\boldsymbol{\mu}\) y matriz de precisión \(\boldsymbol{ Q}\) simétrica y definitiva positiva. Luego, la distribución de cada componente \(\theta_i\) de \(\boldsymbol{\theta}\), dado el vector \(\boldsymbol{\theta}_{-i}\) formado por todos los componentes de \(\boldsymbol{\theta}\), excepto \(\theta_{i}\) es una distribución normal tal que:
\[ E(\theta_i | \theta_{-i})=\mu_i-\frac{1}{Q_{ii}} \sum_{j: j\sim i} Q_{ij}(\theta_j - \mu_j) \]
\[ \text{Prec} (\theta_i | \theta_{-i}) = Q_{ii}, \] \[ Corr(\theta_i, \theta_j | \boldsymbol{\theta}_{-ij}) = -\frac{Q_{ij}}{\sqrt{Q_{ii}Q_{jj}}}, \,\,\,\,\, i \neq j, \]
donde \(i\sim j\) denota que el nodo \(j\) es vecino de nodo \(i\).
Sea un grafo \(\mathcal{G}=(\mathcal{V}, \mathcal{E})\) con \(n\) vértices \(\mathcal{V}\) que representa al vector \(\boldsymbol{\theta}=(\theta_1, \theta_2, \dots, \theta_n)\) y \(\mathcal{E}\) el conjunto de aristas que conecta dos vértices \(\theta_i\) e \(\theta_j\). AsÃ,
\[ f(\theta_i | \boldsymbol{\theta}_{-i})=f(X_i | \boldsymbol{\theta}_{j \sim i}), \]
con \(\boldsymbol{\theta}_{j \sim i}\) el vector formado por todos los componentes de \(\boldsymbol{\theta}\) quienes son vecinos de \(i\).
Considere:
Una región espacial que está dividida en subregiones \(n\) indexadas por enteros \(1, 2, \dots, n\).
Dotada de un sistema de vecindad \(\{V_i: i: 1, \dots, n\}\),
\[ V_{i} =\{j: \text{subregiones i y j que comparten borde}\}, \]
para \(i \in \{1, 2, \dots, n\}\).
Entonces las distribuciones condicionales completas para efectos aleatorios dados por \(\boldsymbol{\theta}=\theta_i | \theta_{-i}\), \(i = 1, \dots, n\) son:
\[ \theta_i | \theta_{-i} \sim N(\mu_i + \rho \overline{\theta_i}, \frac{\sigma ^2} {d _i} ), \] donde: \(\overline{\theta_i}=\sum_{\mathcal{E} } (d_i^{ \mathcal{G}})^{-1} (\theta_j)\) y \(\mathcal{E }=\{(i,j) \in E(\mathcal{G}): j \sim i \}\) es el conjunto de aristas que pertenecen al grafo \(\mathcal{G}\).
Sea la matriz de adyacencia:
\[ A = \begin{cases} 0, \,\,\,\,\,\text{si}\,\,\,\,\,i =j\\ 1, \,\,\,\,\,\text{si}\,\,\,\,\,i \sim j\\ 0, \,\,\,\,\,\text{si}\,\,\,\,\,i \not\sim j\\ \end{cases} \]
tome \(M = diag\{d_1 , d_2 , \dots, d_n \}\).
\[ \boldsymbol{\theta} \sim N(\boldsymbol{0}, \sigma^2 \boldsymbol{\Sigma} ), \]
donde \(\boldsymbol{\Sigma}= \sigma ^{2} (M -\rho A )^{-1}\). Para que la matriz de covarianza sea definida positiva, es necesario que \(\rho <\frac{1}{\lambda_1}\) donde \(\lambda_1\) es el valor propio más pequeño de la matriz \(M ^{-1/2} A M^{-1/2}\).
## OBJECTID SCACODIGO SCATIPO SCANOMBRE
## 0 1 002605 0 BOLONIA
## 1 2 005103 0 SAN MIGUEL
## 2 3 005615 0 LA SOLEDAD NORTE
## 3 4 205318 2 SAN BERNARDINO XVIII
## 4 5 008104 0 LA PERSEVERANCIA
## 5 6 008109 0 SAN MARTIN
## GLOBALID Shape_Leng Shape_Area
## 0 {2A535970-1BC4-4BDE-BE28-45C6A0EF1F6C} 2822.0357 136874.8
## 1 {9AC3041D-B72E-4C53-A969-00AA1F8F0B50} 2091.4844 247110.2
## 2 {19209EE3-4C37-4214-8A63-D9CB4FBECE38} 2175.3285 283351.2
## 3 {51A8B7DD-DAC9-4377-9865-53D24E70BB9F} 941.3076 55498.3
## 4 {B7BE793E-AAB1-44D6-A3E4-FCD2F749AB96} 1407.0933 104365.6
## 5 {B31AA042-875A-47D2-904C-066C6EFF6C42} 1625.5442 138656.9