| 1 | #LyX 1.5.3 created this file. For more info see http://www.lyx.org/ |
|---|
| 2 | \lyxformat 276 |
|---|
| 3 | \begin_document |
|---|
| 4 | \begin_header |
|---|
| 5 | \textclass amsbook |
|---|
| 6 | \begin_preamble |
|---|
| 7 | \usepackage{a4wide} |
|---|
| 8 | %\documentclass[spanish]{article} |
|---|
| 9 | \usepackage{babel} |
|---|
| 10 | \usepackage{a4wide} |
|---|
| 11 | \usepackage{varioref} |
|---|
| 12 | \usepackage{amssymb} |
|---|
| 13 | \usepackage{latexsym} |
|---|
| 14 | \usepackage{amssymb} |
|---|
| 15 | \usepackage{amsmath} |
|---|
| 16 | |
|---|
| 17 | \usepackage{graphics} |
|---|
| 18 | \usepackage{graphicx} |
|---|
| 19 | \usepackage{ulem} |
|---|
| 20 | \usepackage{color} |
|---|
| 21 | \usepackage{multicol} |
|---|
| 22 | \usepackage{longtable} |
|---|
| 23 | |
|---|
| 24 | %\usepackage{makeidx} |
|---|
| 25 | \usepackage{hyperref} |
|---|
| 26 | \makeindex |
|---|
| 27 | |
|---|
| 28 | \hypersetup{urlbordercolor=0 0 0,pdfborder=0 0 1 [3 2]} |
|---|
| 29 | \end_preamble |
|---|
| 30 | \language spanish |
|---|
| 31 | \inputencoding auto |
|---|
| 32 | \font_roman default |
|---|
| 33 | \font_sans default |
|---|
| 34 | \font_typewriter default |
|---|
| 35 | \font_default_family default |
|---|
| 36 | \font_sc false |
|---|
| 37 | \font_osf false |
|---|
| 38 | \font_sf_scale 100 |
|---|
| 39 | \font_tt_scale 100 |
|---|
| 40 | \graphics default |
|---|
| 41 | \paperfontsize default |
|---|
| 42 | \spacing single |
|---|
| 43 | \papersize default |
|---|
| 44 | \use_geometry false |
|---|
| 45 | \use_amsmath 1 |
|---|
| 46 | \use_esint 0 |
|---|
| 47 | \cite_engine basic |
|---|
| 48 | \use_bibtopic false |
|---|
| 49 | \paperorientation portrait |
|---|
| 50 | \secnumdepth 3 |
|---|
| 51 | \tocdepth 3 |
|---|
| 52 | \paragraph_separation indent |
|---|
| 53 | \defskip medskip |
|---|
| 54 | \quotes_language english |
|---|
| 55 | \papercolumns 1 |
|---|
| 56 | \papersides 1 |
|---|
| 57 | \paperpagestyle default |
|---|
| 58 | \tracking_changes false |
|---|
| 59 | \output_changes false |
|---|
| 60 | \author "" |
|---|
| 61 | \author "" |
|---|
| 62 | \end_header |
|---|
| 63 | |
|---|
| 64 | \begin_body |
|---|
| 65 | |
|---|
| 66 | \begin_layout Chapter |
|---|
| 67 | \begin_inset LatexCommand label |
|---|
| 68 | name "cha:El-bloque-ARIMA" |
|---|
| 69 | |
|---|
| 70 | \end_inset |
|---|
| 71 | |
|---|
| 72 | El bloque ARIMA |
|---|
| 73 | \end_layout |
|---|
| 74 | |
|---|
| 75 | \begin_layout Standard |
|---|
| 76 | En la simulación de Gibbs de un modelo ARMA se puede utilizar el método |
|---|
| 77 | de simulación univariante ARMS para obtener realizaciones de los parámetros |
|---|
| 78 | ARMA, si se fuerza a que los polinomios AR y MA estén factorizados en monomios |
|---|
| 79 | y binomios. |
|---|
| 80 | La matriz de covarianzas de un proceso ARMA genérico de longitud |
|---|
| 81 | \begin_inset Formula $m$ |
|---|
| 82 | \end_inset |
|---|
| 83 | |
|---|
| 84 | es una matriz de Toeplitz simétrica que es más densa cuanto más cerca de |
|---|
| 85 | la unidad estén las raÃces de la parte AR. |
|---|
| 86 | Para el caso MA puro es una matriz muy sparse de densidad aproximada |
|---|
| 87 | \begin_inset Formula $q/m$ |
|---|
| 88 | \end_inset |
|---|
| 89 | |
|---|
| 90 | . |
|---|
| 91 | En este artÃculo se describe una descomposición factorial de la matriz |
|---|
| 92 | de covarianzas en el caso ARMA general mediante matrices sparse que se |
|---|
| 93 | obtienen con coste computacional |
|---|
| 94 | \begin_inset Formula $O\left(n^{2}m\right)$ |
|---|
| 95 | \end_inset |
|---|
| 96 | |
|---|
| 97 | , en lugar del coste |
|---|
| 98 | \begin_inset Formula $O\left(m^{3}\right)$ |
|---|
| 99 | \end_inset |
|---|
| 100 | |
|---|
| 101 | del método de Cholesky denso, donde |
|---|
| 102 | \begin_inset Formula $n=\max\left(p,q\right)+1+p$ |
|---|
| 103 | \end_inset |
|---|
| 104 | |
|---|
| 105 | , siendo |
|---|
| 106 | \begin_inset Formula $p$ |
|---|
| 107 | \end_inset |
|---|
| 108 | |
|---|
| 109 | y |
|---|
| 110 | \begin_inset Formula $q$ |
|---|
| 111 | \end_inset |
|---|
| 112 | |
|---|
| 113 | los grados de los polinomios AR y MA respectivamente. |
|---|
| 114 | \end_layout |
|---|
| 115 | |
|---|
| 116 | \begin_layout Section |
|---|
| 117 | \begin_inset LatexCommand label |
|---|
| 118 | name "sub:ArmaBlock_Antecedentes" |
|---|
| 119 | |
|---|
| 120 | \end_inset |
|---|
| 121 | |
|---|
| 122 | Descripción |
|---|
| 123 | \end_layout |
|---|
| 124 | |
|---|
| 125 | \begin_layout Standard |
|---|
| 126 | Sea el proceso ARIMA |
|---|
| 127 | \end_layout |
|---|
| 128 | |
|---|
| 129 | \begin_layout Standard |
|---|
| 130 | \begin_inset Formula \begin{equation} |
|---|
| 131 | \begin{array}{c} |
|---|
| 132 | \begin{array}{c} |
|---|
| 133 | \phi\left(B\right)\triangle\left(B\right)w_{t}=\theta\left(B\right)e_{t}\end{array}\\ |
|---|
| 134 | e_{t}\sim N\left(0,\sigma^{2}\right)\\ |
|---|
| 135 | z_{t}=\triangle\left(B\right)w_{t}\\ |
|---|
| 136 | \deg\left(\phi\left(B\right)\right)=p\\ |
|---|
| 137 | \deg\left(\theta\left(B\right)\right)=q\\ |
|---|
| 138 | t=1\ldots m\end{array}\end{equation} |
|---|
| 139 | |
|---|
| 140 | \end_inset |
|---|
| 141 | |
|---|
| 142 | |
|---|
| 143 | \end_layout |
|---|
| 144 | |
|---|
| 145 | \begin_layout Standard |
|---|
| 146 | tal que los polinomios AR y MA se encuentran factorizados en monomios o |
|---|
| 147 | binomios de estacionalidades |
|---|
| 148 | \begin_inset Formula $s_{k}$ |
|---|
| 149 | \end_inset |
|---|
| 150 | |
|---|
| 151 | arbitrarias de la siguiente manera |
|---|
| 152 | \end_layout |
|---|
| 153 | |
|---|
| 154 | \begin_layout Standard |
|---|
| 155 | \begin_inset Formula \begin{equation} |
|---|
| 156 | \begin{array}{c} |
|---|
| 157 | \phi\left(B\right)=1-{\displaystyle \sum_{j=1}^{p}\phi_{j}B^{j}}={\displaystyle \prod_{k=1}^{K}\phi^{k}\left(B^{s_{k}}\right)}\\ |
|---|
| 158 | \theta\left(B\right)=1-{\displaystyle \sum_{j=1}^{q}\theta_{j}B^{j}}={\displaystyle \prod_{k=1}^{K}\theta^{k}\left(B^{s_{k}}\right)}\\ |
|---|
| 159 | \deg\left(\phi^{k}\left(B\right)\right)=p_{k}\\ |
|---|
| 160 | \deg\left(\theta^{k}\left(B\right)\right)=q_{k}\\ |
|---|
| 161 | \phi^{k}\left(B^{s_{k}}\right)=\begin{cases} |
|---|
| 162 | 1-\phi_{1}^{k}B^{s_{k}} & si\: p_{k}=1\\ |
|---|
| 163 | 1-\phi_{1}^{k}B^{s_{k}}-\phi_{2}^{k}B^{2s_{k}} & si\: p_{k}=2\end{cases}\\ |
|---|
| 164 | \theta^{k}\left(B^{s_{k}}\right)=\begin{cases} |
|---|
| 165 | 1-\theta_{1}^{k}B^{s_{k}} & si\: q_{k}=1\\ |
|---|
| 166 | 1-\theta_{1}^{k}B^{s_{k}}-\theta_{2}^{k}B^{2s_{k}} & si\: q_{k}=2\end{cases}\\ |
|---|
| 167 | p={\displaystyle \sum_{k=1}^{K}p_{k}s_{k}}\\ |
|---|
| 168 | q={\displaystyle \sum_{k=1}^{K}q_{k}s_{k}}\end{array}\end{equation} |
|---|
| 169 | |
|---|
| 170 | \end_inset |
|---|
| 171 | |
|---|
| 172 | |
|---|
| 173 | \end_layout |
|---|
| 174 | |
|---|
| 175 | \begin_layout Standard |
|---|
| 176 | El método ARMS |
|---|
| 177 | \begin_inset Foot |
|---|
| 178 | status open |
|---|
| 179 | |
|---|
| 180 | \begin_layout Standard |
|---|
| 181 | Ver |
|---|
| 182 | \begin_inset LatexCommand cite |
|---|
| 183 | key "ARMS-Gilks-Best-Tan" |
|---|
| 184 | |
|---|
| 185 | \end_inset |
|---|
| 186 | |
|---|
| 187 | |
|---|
| 188 | \end_layout |
|---|
| 189 | |
|---|
| 190 | \end_inset |
|---|
| 191 | |
|---|
| 192 | es capaz de simular cualquier distribución de probabilidad univariante |
|---|
| 193 | dada una función proporcional a la función de densidad y el intervalo de |
|---|
| 194 | dominio en el que se encuentra definida. |
|---|
| 195 | Normalmente se utiliza el logaritmo de la densidad salvo una constante |
|---|
| 196 | que ofrece la misma información con menos problemas numéricos. |
|---|
| 197 | \end_layout |
|---|
| 198 | |
|---|
| 199 | \begin_layout Section |
|---|
| 200 | \begin_inset LatexCommand label |
|---|
| 201 | name "sec:Distribución-condicionada-de-los-valores-iniciales-ARMA" |
|---|
| 202 | |
|---|
| 203 | \end_inset |
|---|
| 204 | |
|---|
| 205 | Distribución condicionada de los valores iniciales |
|---|
| 206 | \end_layout |
|---|
| 207 | |
|---|
| 208 | \begin_layout Standard |
|---|
| 209 | Para poder evaluar la ecuación en diferencias es preciso conocer |
|---|
| 210 | \begin_inset Formula $p$ |
|---|
| 211 | \end_inset |
|---|
| 212 | |
|---|
| 213 | valores iniciales del ruido |
|---|
| 214 | \begin_inset Formula \begin{equation} |
|---|
| 215 | \begin{array}{c} |
|---|
| 216 | z^{0}=\left\{ z_{t}\right\} _{t=1-p\ldots0}\end{array}\end{equation} |
|---|
| 217 | |
|---|
| 218 | \end_inset |
|---|
| 219 | |
|---|
| 220 | y |
|---|
| 221 | \begin_inset Formula $q$ |
|---|
| 222 | \end_inset |
|---|
| 223 | |
|---|
| 224 | valores iniciales de los residuos |
|---|
| 225 | \begin_inset Formula \begin{equation} |
|---|
| 226 | \begin{array}{c} |
|---|
| 227 | e^{0}=\left\{ e_{t}\right\} _{t=1-q\ldots0}\end{array}\in\mathbb{R}^{q}\end{equation} |
|---|
| 228 | |
|---|
| 229 | \end_inset |
|---|
| 230 | |
|---|
| 231 | |
|---|
| 232 | \end_layout |
|---|
| 233 | |
|---|
| 234 | \begin_layout Standard |
|---|
| 235 | De esta forma se puede escribir la ecuación en diferencias en notación matricial |
|---|
| 236 | \begin_inset Formula \begin{equation} |
|---|
| 237 | \begin{array}{c} |
|---|
| 238 | \left(\begin{array}{cccccccccc} |
|---|
| 239 | -\phi_{p} & \cdots & -\phi_{1} & 1 & 0 & & & \cdots & & 0\\ |
|---|
| 240 | \vdots & \ddots & \vdots & -\phi_{1} & \ddots & \ddots & & & & \vdots\\ |
|---|
| 241 | 0 & \cdots & -\phi_{p} & \vdots & -\phi_{1} & 1 & 0 & & & 0\\ |
|---|
| 242 | 0 & \cdots & 0 & -\phi_{p} & \cdots & -\phi_{1} & 1 & 0 & & 0\\ |
|---|
| 243 | 0 & \cdots & 0 & 0 & -\phi_{p} & \cdots & -\phi_{1} & 1 & \ddots & \vdots\\ |
|---|
| 244 | \vdots & & \vdots & \vdots & \ddots & \ddots & \ddots & \ddots & \ddots & 0\\ |
|---|
| 245 | 0 & \cdots & 0 & 0 & \cdots & 0 & -\phi_{p} & \cdots & -\phi_{1} & 1\end{array}\right)\cdot\left(\begin{array}{c} |
|---|
| 246 | z_{1-p}\\ |
|---|
| 247 | \vdots\\ |
|---|
| 248 | z_{0}\\ |
|---|
| 249 | z_{1}\\ |
|---|
| 250 | \vdots\\ |
|---|
| 251 | z_{m}\end{array}\right)\\ |
|---|
| 252 | \\=\\ |
|---|
| 253 | \\\left(\begin{array}{cccccccccc} |
|---|
| 254 | -\theta_{p} & \cdots & -\theta_{1} & 1 & 0 & & & \cdots & & 0\\ |
|---|
| 255 | \vdots & \ddots & \vdots & -\theta_{1} & \ddots & \ddots & & & & \vdots\\ |
|---|
| 256 | 0 & \cdots & -\theta_{p} & \vdots & -\theta_{1} & 1 & 0 & & & 0\\ |
|---|
| 257 | 0 & \cdots & 0 & -\theta_{p} & \cdots & -\theta_{1} & 1 & 0 & & 0\\ |
|---|
| 258 | 0 & \cdots & 0 & 0 & -\theta_{p} & \cdots & -\theta_{1} & 1 & \ddots & \vdots\\ |
|---|
| 259 | \vdots & & \vdots & \vdots & \ddots & \ddots & \ddots & \ddots & \ddots & 0\\ |
|---|
| 260 | 0 & \cdots & 0 & 0 & \cdots & 0 & -\theta_{p} & \cdots & -\theta_{1} & 1\end{array}\right)\cdot\left(\begin{array}{c} |
|---|
| 261 | e_{1-q}\\ |
|---|
| 262 | \vdots\\ |
|---|
| 263 | e_{0}\\ |
|---|
| 264 | z_{1}\\ |
|---|
| 265 | \vdots\\ |
|---|
| 266 | z_{m}\end{array}\right)\end{array}\end{equation} |
|---|
| 267 | |
|---|
| 268 | \end_inset |
|---|
| 269 | |
|---|
| 270 | |
|---|
| 271 | \end_layout |
|---|
| 272 | |
|---|
| 273 | \begin_layout Standard |
|---|
| 274 | Dividiendo el sistema en bloques se puede escribir como |
|---|
| 275 | \begin_inset Formula \begin{equation} |
|---|
| 276 | \begin{array}{c} |
|---|
| 277 | \left(\begin{array}{cc} |
|---|
| 278 | \Phi^{0} & \Phi\end{array}\right)\cdot\left(\begin{array}{c} |
|---|
| 279 | z^{0}\\ |
|---|
| 280 | z\end{array}\right)=\left(\begin{array}{cc} |
|---|
| 281 | \Theta^{0} & \Theta\end{array}\right)\cdot\left(\begin{array}{c} |
|---|
| 282 | e^{0}\\ |
|---|
| 283 | e\end{array}\right)\\ |
|---|
| 284 | \Phi^{0}=\left(\begin{array}{ccc} |
|---|
| 285 | -\phi_{p} & \cdots & -\phi_{1}\\ |
|---|
| 286 | \vdots & \ddots & \vdots\\ |
|---|
| 287 | 0 & \cdots & -\phi_{p}\\ |
|---|
| 288 | 0 & \cdots & 0\\ |
|---|
| 289 | 0 & \cdots & 0\\ |
|---|
| 290 | \vdots & & \vdots\\ |
|---|
| 291 | 0 & \cdots & 0\end{array}\right)\in\mathbb{R}^{m\times p}\wedge\Phi=\left(\begin{array}{ccccccc} |
|---|
| 292 | 1 & 0 & & & \cdots & & 0\\ |
|---|
| 293 | -\phi_{1} & \ddots & \ddots & & & & \vdots\\ |
|---|
| 294 | \vdots & -\phi_{1} & 1 & 0 & & & 0\\ |
|---|
| 295 | -\phi_{p} & \cdots & -\phi_{1} & 1 & 0 & & 0\\ |
|---|
| 296 | 0 & -\phi_{p} & \cdots & -\phi_{1} & 1 & \ddots & \vdots\\ |
|---|
| 297 | \vdots & \ddots & \ddots & \ddots & \ddots & \ddots & 0\\ |
|---|
| 298 | 0 & \cdots & 0 & -\phi_{p} & \cdots & -\phi_{1} & 1\end{array}\right)\in\mathbb{R}^{m\times m}\\ |
|---|
| 299 | \Theta^{0}=\left(\begin{array}{ccc} |
|---|
| 300 | -\theta_{p} & \cdots & -\theta_{1}\\ |
|---|
| 301 | \vdots & \ddots & \vdots\\ |
|---|
| 302 | 0 & \cdots & -\theta_{p}\\ |
|---|
| 303 | 0 & \cdots & 0\\ |
|---|
| 304 | 0 & \cdots & 0\\ |
|---|
| 305 | \vdots & & \vdots\\ |
|---|
| 306 | 0 & \cdots & 0\end{array}\right)\in\mathbb{R}^{m\times q}\wedge\Theta=\left(\begin{array}{ccccccc} |
|---|
| 307 | 1 & 0 & & & \cdots & & 0\\ |
|---|
| 308 | -\theta_{1} & \ddots & \ddots & & & & \vdots\\ |
|---|
| 309 | \vdots & -\theta_{1} & 1 & 0 & & & 0\\ |
|---|
| 310 | -\theta_{p} & \cdots & -\theta_{1} & 1 & 0 & & 0\\ |
|---|
| 311 | 0 & -\theta_{p} & \cdots & -\theta_{1} & 1 & \ddots & \vdots\\ |
|---|
| 312 | \vdots & \ddots & \ddots & \ddots & \ddots & \ddots & 0\\ |
|---|
| 313 | 0 & \cdots & 0 & -\theta_{p} & \cdots & -\theta_{1} & 1\end{array}\right)\in\mathbb{R}^{m\times m}\\ |
|---|
| 314 | z^{0}\in\mathbb{R}^{p}\wedge z\in\mathbb{R}^{p}\\ |
|---|
| 315 | e^{0}\in\mathbb{R}^{q}\wedge e\in\mathbb{R}^{q}\end{array}\end{equation} |
|---|
| 316 | |
|---|
| 317 | \end_inset |
|---|
| 318 | |
|---|
| 319 | o lo que es lo mismo |
|---|
| 320 | \begin_inset Formula \begin{equation} |
|---|
| 321 | \Phi^{0}\cdot z^{0}+\Phi\cdot z=\Theta^{0}\cdot e^{0}+\Theta\cdot e\end{equation} |
|---|
| 322 | |
|---|
| 323 | \end_inset |
|---|
| 324 | |
|---|
| 325 | |
|---|
| 326 | \end_layout |
|---|
| 327 | |
|---|
| 328 | \begin_layout Standard |
|---|
| 329 | De la última fórmula se deduce la siguiente expresión matricial con distribución |
|---|
| 330 | conocida |
|---|
| 331 | \end_layout |
|---|
| 332 | |
|---|
| 333 | \begin_layout Standard |
|---|
| 334 | \begin_inset Formula \begin{equation} |
|---|
| 335 | e=\Theta^{-1}\cdot\left(\Phi\cdot z+\Phi^{0}\cdot z^{0}-\Theta^{0}\cdot e^{0}\right)\sim N\left(0,\sigma^{2}I_{m}\right)\end{equation} |
|---|
| 336 | |
|---|
| 337 | \end_inset |
|---|
| 338 | |
|---|
| 339 | |
|---|
| 340 | \end_layout |
|---|
| 341 | |
|---|
| 342 | \begin_layout Standard |
|---|
| 343 | Si se define el vector conjunto de valores iniciales |
|---|
| 344 | \begin_inset Formula \begin{equation} |
|---|
| 345 | u=\left(\begin{array}{c} |
|---|
| 346 | z^{0}\\ |
|---|
| 347 | e^{0}\end{array}\right)\end{equation} |
|---|
| 348 | |
|---|
| 349 | \end_inset |
|---|
| 350 | |
|---|
| 351 | entonces, dados |
|---|
| 352 | \begin_inset Formula $\sigma^{2},\phi,\theta$ |
|---|
| 353 | \end_inset |
|---|
| 354 | |
|---|
| 355 | se tiene la siguiente regresión lineal |
|---|
| 356 | \end_layout |
|---|
| 357 | |
|---|
| 358 | \begin_layout Standard |
|---|
| 359 | \begin_inset Formula \begin{equation} |
|---|
| 360 | \begin{array}{c} |
|---|
| 361 | \Pi\cdot z=G\cdot u+e\\ |
|---|
| 362 | \Pi=\Theta^{-1}\Phi\\ |
|---|
| 363 | G=\Theta^{-1}\left(\begin{array}{cc} |
|---|
| 364 | -\Phi^{0}, & \Theta^{0}\end{array}\right)\end{array}u=\left(z^{0},e^{0}\right)\end{equation} |
|---|
| 365 | |
|---|
| 366 | \end_inset |
|---|
| 367 | |
|---|
| 368 | con lo que su distribución condicionada es |
|---|
| 369 | \begin_inset Formula \begin{equation} |
|---|
| 370 | u\begin{array}{c} |
|---|
| 371 | \left|\phi,\theta,\sigma^{2}\right.\sim N\left(\frac{1}{\sigma^{2}}\left(G^{T}\cdot G\right)^{-1}\cdot G^{T}\cdot\Pi\cdot z,\;\frac{1}{\sigma^{2}}\left(G^{T}\cdot G\right)^{-1}\right)\end{array}\end{equation} |
|---|
| 372 | |
|---|
| 373 | \end_inset |
|---|
| 374 | |
|---|
| 375 | |
|---|
| 376 | \end_layout |
|---|
| 377 | |
|---|
| 378 | \begin_layout Standard |
|---|
| 379 | Nótese que las matrices |
|---|
| 380 | \begin_inset Formula $\Phi^{0},\Theta^{0},\Phi,\Theta$ |
|---|
| 381 | \end_inset |
|---|
| 382 | |
|---|
| 383 | son matrices de Toeplitz triangulares por lo que las operaciones de productos |
|---|
| 384 | y resolución de sistemas lineales son desarrollables como ecuaciones en |
|---|
| 385 | diferencias. |
|---|
| 386 | \end_layout |
|---|
| 387 | |
|---|
| 388 | \begin_layout Section |
|---|
| 389 | \begin_inset LatexCommand label |
|---|
| 390 | name "sec:Distribución-condicionada-de-los-parámetros-ARMA" |
|---|
| 391 | |
|---|
| 392 | \end_inset |
|---|
| 393 | |
|---|
| 394 | Distribución condicionada de los parámetros ARMA |
|---|
| 395 | \end_layout |
|---|
| 396 | |
|---|
| 397 | \begin_layout Standard |
|---|
| 398 | Dados la varianza |
|---|
| 399 | \begin_inset Formula $\sigma^{2}$ |
|---|
| 400 | \end_inset |
|---|
| 401 | |
|---|
| 402 | , los valores iniciales |
|---|
| 403 | \begin_inset Formula $u$ |
|---|
| 404 | \end_inset |
|---|
| 405 | |
|---|
| 406 | y todos los parámetros ARMA salvo uno cualquiera de ellos, digamos |
|---|
| 407 | \begin_inset Formula $\vartheta$ |
|---|
| 408 | \end_inset |
|---|
| 409 | |
|---|
| 410 | , por el teorema de Bayes, el logaritmo de su densidad condicionada al resto |
|---|
| 411 | de parámetros es proporcional a la de los residuos resultantes de aplicar |
|---|
| 412 | la ecuación en diferencias para cada posible valor de dicho parámetro, |
|---|
| 413 | que tomando logaritmos es |
|---|
| 414 | \end_layout |
|---|
| 415 | |
|---|
| 416 | \begin_layout Standard |
|---|
| 417 | \begin_inset Formula \begin{equation} |
|---|
| 418 | \lg f\left(\vartheta\right)=Cte_{1}-\frac{m}{2}\lg2\pi\sigma^{2}-\frac{1}{2\sigma^{2}}e\left(\vartheta\right)^{T}e\left(\vartheta\right)=Cte-\frac{1}{2\sigma^{2}}e\left(\vartheta\right)^{T}e\left(\vartheta\right)\end{equation} |
|---|
| 419 | |
|---|
| 420 | \end_inset |
|---|
| 421 | |
|---|
| 422 | |
|---|
| 423 | \end_layout |
|---|
| 424 | |
|---|
| 425 | \begin_layout Standard |
|---|
| 426 | Dado un valor cualquiera de |
|---|
| 427 | \begin_inset Formula $\vartheta$ |
|---|
| 428 | \end_inset |
|---|
| 429 | |
|---|
| 430 | quedan completamente determinados los polinomios |
|---|
| 431 | \begin_inset Formula $\phi,\theta$ |
|---|
| 432 | \end_inset |
|---|
| 433 | |
|---|
| 434 | ; asà que es posible calcular los residuos, para lo cual no es preciso recurrir |
|---|
| 435 | a la fórmula del párrafo anterior, pues resulta evidente que es completamente |
|---|
| 436 | equivalente a despejar los residuos en la ecuación en diferencias del modelo |
|---|
| 437 | \end_layout |
|---|
| 438 | |
|---|
| 439 | \begin_layout Standard |
|---|
| 440 | \begin_inset Formula \begin{equation} |
|---|
| 441 | e_{t}={\displaystyle z_{t}-\sum_{j=1}^{p}\phi_{j}z_{t-j}+\sum_{j=1}^{q}\theta_{j}e_{t-j}}\end{equation} |
|---|
| 442 | |
|---|
| 443 | \end_inset |
|---|
| 444 | |
|---|
| 445 | que da un método de cálculo mucho más eficiente de los mismos. |
|---|
| 446 | \end_layout |
|---|
| 447 | |
|---|
| 448 | \begin_layout Standard |
|---|
| 449 | Si existe información a priori o de tipo latente sobre todos o algunos de |
|---|
| 450 | los parámetros |
|---|
| 451 | \begin_inset Formula $\vartheta$ |
|---|
| 452 | \end_inset |
|---|
| 453 | |
|---|
| 454 | , sólo es necesario poder escribirla en términos de una distribución normal |
|---|
| 455 | univariante |
|---|
| 456 | \begin_inset Formula \begin{equation} |
|---|
| 457 | \begin{array}{c} |
|---|
| 458 | \vartheta\sim N\left(\mu_{\vartheta},\sigma_{\vartheta}^{2}\right)\end{array}\end{equation} |
|---|
| 459 | |
|---|
| 460 | \end_inset |
|---|
| 461 | |
|---|
| 462 | |
|---|
| 463 | \end_layout |
|---|
| 464 | |
|---|
| 465 | \begin_layout Standard |
|---|
| 466 | En el caso de ser información a priori |
|---|
| 467 | \begin_inset Formula $\mu_{\vartheta}$ |
|---|
| 468 | \end_inset |
|---|
| 469 | |
|---|
| 470 | será constante y si es latente será el valor actual del correspondiente |
|---|
| 471 | hiperparámetro o combinación lineal de hiperparámetros. |
|---|
| 472 | Esto se traduce a una simple ampliación de los residuos estandarizados |
|---|
| 473 | |
|---|
| 474 | \begin_inset Formula \begin{equation} |
|---|
| 475 | \lg f\left(\vartheta\right)=Cte-\frac{1}{2\sigma^{2}}e\left(\vartheta\right)^{T}e\left(\vartheta\right)-\frac{1}{2}\left(\frac{\vartheta-\mu_{\vartheta}}{\sigma_{\vartheta}}\right)^{2}\end{equation} |
|---|
| 476 | |
|---|
| 477 | \end_inset |
|---|
| 478 | |
|---|
| 479 | |
|---|
| 480 | \end_layout |
|---|
| 481 | |
|---|
| 482 | \begin_layout Subsection |
|---|
| 483 | \begin_inset LatexCommand label |
|---|
| 484 | name "sub:Dominio-de-estacionariedad" |
|---|
| 485 | |
|---|
| 486 | \end_inset |
|---|
| 487 | |
|---|
| 488 | Dominio de estacionariedad de monomios y binomios |
|---|
| 489 | \end_layout |
|---|
| 490 | |
|---|
| 491 | \begin_layout Standard |
|---|
| 492 | Para poder aplicar el método ARMS es necesario además explicitar en qué |
|---|
| 493 | dominio es evaluable la función de densidad, lo cual en este caso consiste |
|---|
| 494 | en saber en qué intervalo es estacionario el factor polinomial al que pertenece |
|---|
| 495 | el parámetro |
|---|
| 496 | \begin_inset Formula $\vartheta$ |
|---|
| 497 | \end_inset |
|---|
| 498 | |
|---|
| 499 | de turno. |
|---|
| 500 | Basta recordar que un polinomio es estacionario si todas sus raÃces están |
|---|
| 501 | fuera del cÃrculo unidad. |
|---|
| 502 | En los casos de grado 1 y 2 se puede establecer esa condición de una forma |
|---|
| 503 | analÃtica. |
|---|
| 504 | \end_layout |
|---|
| 505 | |
|---|
| 506 | \begin_layout Standard |
|---|
| 507 | En un monomio de la forma |
|---|
| 508 | \begin_inset Formula $1-\alpha x$ |
|---|
| 509 | \end_inset |
|---|
| 510 | |
|---|
| 511 | esto se cumple sà y sólo sà |
|---|
| 512 | \end_layout |
|---|
| 513 | |
|---|
| 514 | \begin_layout Standard |
|---|
| 515 | \begin_inset Formula \begin{equation} |
|---|
| 516 | \begin{array}{c} |
|---|
| 517 | \alpha x-1=0\Longleftrightarrow x=\frac{1}{\alpha}\\ |
|---|
| 518 | \left\Vert x\right\Vert _{2}>1\Longleftrightarrow\left|\alpha\right|<1\end{array}\end{equation} |
|---|
| 519 | |
|---|
| 520 | \end_inset |
|---|
| 521 | |
|---|
| 522 | |
|---|
| 523 | \end_layout |
|---|
| 524 | |
|---|
| 525 | \begin_layout Standard |
|---|
| 526 | En un binomio de la forma |
|---|
| 527 | \begin_inset Formula $1-\beta x-\alpha x^{2}$ |
|---|
| 528 | \end_inset |
|---|
| 529 | |
|---|
| 530 | esto se cumple sà y sólo sà |
|---|
| 531 | \end_layout |
|---|
| 532 | |
|---|
| 533 | \begin_layout Standard |
|---|
| 534 | \begin_inset Formula \begin{equation} |
|---|
| 535 | \begin{array}{c} |
|---|
| 536 | \alpha x^{2}+\beta x-1=0\Longleftrightarrow x=\frac{-\beta\pm\sqrt{\beta^{2}+4\alpha}}{2\alpha}\\ |
|---|
| 537 | \left\Vert x\right\Vert _{2}>1\Longleftrightarrow\left\Vert \frac{-\beta\pm\sqrt{\beta^{2}+4\alpha}}{2\alpha}\right\Vert _{2}>1\end{array}\end{equation} |
|---|
| 538 | |
|---|
| 539 | \end_inset |
|---|
| 540 | |
|---|
| 541 | |
|---|
| 542 | \end_layout |
|---|
| 543 | |
|---|
| 544 | \begin_layout Standard |
|---|
| 545 | \begin_inset Float figure |
|---|
| 546 | placement h |
|---|
| 547 | wide false |
|---|
| 548 | sideways false |
|---|
| 549 | status open |
|---|
| 550 | |
|---|
| 551 | \begin_layout Standard |
|---|
| 552 | \begin_inset Caption |
|---|
| 553 | |
|---|
| 554 | \begin_layout Standard |
|---|
| 555 | \begin_inset LatexCommand label |
|---|
| 556 | name "fig:Gráfico-de-simulaciones-grado_2" |
|---|
| 557 | |
|---|
| 558 | \end_inset |
|---|
| 559 | |
|---|
| 560 | |
|---|
| 561 | \begin_inset Graphics |
|---|
| 562 | filename stationarity-pol-deg-2.PNG |
|---|
| 563 | scale 50 |
|---|
| 564 | |
|---|
| 565 | \end_inset |
|---|
| 566 | |
|---|
| 567 | |
|---|
| 568 | \end_layout |
|---|
| 569 | |
|---|
| 570 | \end_inset |
|---|
| 571 | |
|---|
| 572 | Gráfico de simulaciones de polinomios estacionarios de grado 2. |
|---|
| 573 | El sector parabólico inferior corresponde a las raÃces complejas y el resto |
|---|
| 574 | hacia arriba a las reales. |
|---|
| 575 | \end_layout |
|---|
| 576 | |
|---|
| 577 | \end_inset |
|---|
| 578 | |
|---|
| 579 | |
|---|
| 580 | \end_layout |
|---|
| 581 | |
|---|
| 582 | \begin_layout Standard |
|---|
| 583 | Si |
|---|
| 584 | \begin_inset Formula $4\alpha<\beta^{2}$ |
|---|
| 585 | \end_inset |
|---|
| 586 | |
|---|
| 587 | las raÃces son complejas conjugadas y su módulo es el mismo para ambas |
|---|
| 588 | |
|---|
| 589 | \begin_inset Formula \begin{equation} |
|---|
| 590 | \begin{array}{c} |
|---|
| 591 | \left\Vert \frac{-\beta\pm\boldsymbol{\mathrm{i}}\sqrt{-\left(\beta^{2}+4\alpha\right)}}{2\alpha}\right\Vert _{2}^{2}=\frac{\left|\beta\right|^{2}+\left|\beta^{2}+4\alpha\right|}{4\alpha^{2}}=\frac{\beta^{2}-\beta^{2}-4\alpha}{4\alpha^{2}}=\frac{-1}{\alpha}>1\Longleftrightarrow\alpha>-1\\ |
|---|
| 592 | -1<\alpha<\frac{\beta^{2}}{4}\end{array}\end{equation} |
|---|
| 593 | |
|---|
| 594 | \end_inset |
|---|
| 595 | |
|---|
| 596 | |
|---|
| 597 | \end_layout |
|---|
| 598 | |
|---|
| 599 | \begin_layout Standard |
|---|
| 600 | Si |
|---|
| 601 | \begin_inset Formula $4\alpha>\beta^{2}$ |
|---|
| 602 | \end_inset |
|---|
| 603 | |
|---|
| 604 | las raÃces son reales y su módulo puede ser distinto para cada una. |
|---|
| 605 | Las fronteras de la región se completan resolviendo las ecuaciones |
|---|
| 606 | \begin_inset Formula \begin{equation} |
|---|
| 607 | \begin{array}{c} |
|---|
| 608 | \frac{-\beta\pm\sqrt{\beta^{2}+4\alpha}}{2\alpha}=1\Longleftrightarrow\alpha=1-\beta\\ |
|---|
| 609 | \frac{-\beta\pm\sqrt{\beta^{2}+4\alpha}}{2\alpha}=-1\Longleftrightarrow\alpha=1+\beta\end{array}\end{equation} |
|---|
| 610 | |
|---|
| 611 | \end_inset |
|---|
| 612 | |
|---|
| 613 | Las condiciones de estacionariedad son por tanto las siguientes (ver figura |
|---|
| 614 | |
|---|
| 615 | \begin_inset LatexCommand ref |
|---|
| 616 | reference "fig:Gráfico-de-simulaciones-grado_2" |
|---|
| 617 | |
|---|
| 618 | \end_inset |
|---|
| 619 | |
|---|
| 620 | ): |
|---|
| 621 | \end_layout |
|---|
| 622 | |
|---|
| 623 | \begin_layout Itemize |
|---|
| 624 | Si |
|---|
| 625 | \begin_inset Formula $\vartheta=\alpha$ |
|---|
| 626 | \end_inset |
|---|
| 627 | |
|---|
| 628 | es un parámetro de un monomio |
|---|
| 629 | \begin_inset Formula $1-\alpha x$ |
|---|
| 630 | \end_inset |
|---|
| 631 | |
|---|
| 632 | entonces la anterior fórmula es evaluable en |
|---|
| 633 | \begin_inset Formula $\alpha\in\left(-1,1\right)$ |
|---|
| 634 | \end_inset |
|---|
| 635 | |
|---|
| 636 | |
|---|
| 637 | \end_layout |
|---|
| 638 | |
|---|
| 639 | \begin_layout Itemize |
|---|
| 640 | Si |
|---|
| 641 | \begin_inset Formula $\vartheta=\alpha$ |
|---|
| 642 | \end_inset |
|---|
| 643 | |
|---|
| 644 | es el parámetro de orden 2 de un binomio |
|---|
| 645 | \begin_inset Formula $1-\beta x-\alpha x^{2}$ |
|---|
| 646 | \end_inset |
|---|
| 647 | |
|---|
| 648 | entonces la región factible es en |
|---|
| 649 | \begin_inset Formula $\alpha\in\left(-1,1-\left|\beta\right|\right)$ |
|---|
| 650 | \end_inset |
|---|
| 651 | |
|---|
| 652 | |
|---|
| 653 | \end_layout |
|---|
| 654 | |
|---|
| 655 | \begin_layout Itemize |
|---|
| 656 | Si |
|---|
| 657 | \begin_inset Formula $\vartheta=\beta$ |
|---|
| 658 | \end_inset |
|---|
| 659 | |
|---|
| 660 | es el parámetro de orden 1 de un binomio |
|---|
| 661 | \begin_inset Formula $1-\beta x-\alpha x^{2}$ |
|---|
| 662 | \end_inset |
|---|
| 663 | |
|---|
| 664 | entonces es estacionario en |
|---|
| 665 | \begin_inset Formula $\beta\in\left(\alpha-1,1-\alpha\right)$ |
|---|
| 666 | \end_inset |
|---|
| 667 | |
|---|
| 668 | |
|---|
| 669 | \end_layout |
|---|
| 670 | |
|---|
| 671 | \begin_layout Standard |
|---|
| 672 | \begin_inset Float figure |
|---|
| 673 | placement H |
|---|
| 674 | wide false |
|---|
| 675 | sideways false |
|---|
| 676 | status open |
|---|
| 677 | |
|---|
| 678 | \begin_layout Standard |
|---|
| 679 | \begin_inset Caption |
|---|
| 680 | |
|---|
| 681 | \begin_layout Standard |
|---|
| 682 | \begin_inset LatexCommand label |
|---|
| 683 | name "fig:Gráfico-de-simulaciones-grado_3" |
|---|
| 684 | |
|---|
| 685 | \end_inset |
|---|
| 686 | |
|---|
| 687 | |
|---|
| 688 | \begin_inset Graphics |
|---|
| 689 | filename stationarity-pol-deg-3.PNG |
|---|
| 690 | scale 50 |
|---|
| 691 | |
|---|
| 692 | \end_inset |
|---|
| 693 | |
|---|
| 694 | |
|---|
| 695 | \end_layout |
|---|
| 696 | |
|---|
| 697 | \end_inset |
|---|
| 698 | |
|---|
| 699 | Gráfico de simulaciones de polinomios estacionarios de grado 3. |
|---|
| 700 | El dominio de estacionariedad no es una región conexa. |
|---|
| 701 | Fijado el coeficiente de grado 2 el de grado 3 no está delimitado en un |
|---|
| 702 | intervalo sino en la unión de dos intervalos inconexos y no se puede aplicar |
|---|
| 703 | el método ARMS |
|---|
| 704 | \end_layout |
|---|
| 705 | |
|---|
| 706 | \end_inset |
|---|
| 707 | |
|---|
| 708 | |
|---|
| 709 | \end_layout |
|---|
| 710 | |
|---|
| 711 | \begin_layout Standard |
|---|
| 712 | La razón por la que se obliga a disponer de factores de grado máximo 2 es |
|---|
| 713 | que la región de estacionariedad de un polinomio de grado 1 es simplemente |
|---|
| 714 | el intervalo |
|---|
| 715 | \begin_inset Formula $\left[-1,1\right]$ |
|---|
| 716 | \end_inset |
|---|
| 717 | |
|---|
| 718 | y para grado 2 es un triángulo, lo cual permite, una vez fijado uno de |
|---|
| 719 | los parámetros obtener el intervalo en el que el otro permanece en la región |
|---|
| 720 | de estacionariedad. |
|---|
| 721 | Para grados superiores las regiones son complicadas de definir analÃticamente |
|---|
| 722 | por lo que resulta bastante complicado fijar el intervalo de estacionariedad |
|---|
| 723 | de cada parámetro condicionado al resto (ver figura |
|---|
| 724 | \begin_inset LatexCommand ref |
|---|
| 725 | reference "fig:Gráfico-de-simulaciones-grado_3" |
|---|
| 726 | |
|---|
| 727 | \end_inset |
|---|
| 728 | |
|---|
| 729 | ). |
|---|
| 730 | |
|---|
| 731 | \end_layout |
|---|
| 732 | |
|---|
| 733 | \begin_layout Standard |
|---|
| 734 | Por el teorema fundamental del álgebra todo polinomio de coeficientes reales |
|---|
| 735 | es factorizable en monomios y binomios, por lo cual esta exigencia no supone |
|---|
| 736 | ninguna restricción en la clase de modelos. |
|---|
| 737 | Incuso es posible forzar la presencia de raÃces reales imponiendo la factorizac |
|---|
| 738 | ión en binomios si es que existe alguna razón de peso para pensar que debe |
|---|
| 739 | ser asÃ. |
|---|
| 740 | \end_layout |
|---|
| 741 | |
|---|
| 742 | \begin_layout Section |
|---|
| 743 | \begin_inset LatexCommand label |
|---|
| 744 | name "sub:Condicionamiento-a-los-ARMA" |
|---|
| 745 | |
|---|
| 746 | \end_inset |
|---|
| 747 | |
|---|
| 748 | Condicionamiento a los parametros ARMA |
|---|
| 749 | \end_layout |
|---|
| 750 | |
|---|
| 751 | \begin_layout Standard |
|---|
| 752 | El modelo ARIMA con función de transferencia lineal se puede escribir asà |
|---|
| 753 | \end_layout |
|---|
| 754 | |
|---|
| 755 | \begin_layout Standard |
|---|
| 756 | \begin_inset Formula \begin{equation} |
|---|
| 757 | \begin{array}{c} |
|---|
| 758 | \triangle\cdot Y=\triangle\cdot X\cdot\beta+z\\ |
|---|
| 759 | z\sim N\left(0,\sigma^{2}\Sigma\left(\phi,\theta,m\right)\right)\end{array}\end{equation} |
|---|
| 760 | |
|---|
| 761 | \end_inset |
|---|
| 762 | |
|---|
| 763 | |
|---|
| 764 | \end_layout |
|---|
| 765 | |
|---|
| 766 | \begin_layout Standard |
|---|
| 767 | donde |
|---|
| 768 | \begin_inset Formula \begin{equation} |
|---|
| 769 | \Sigma\left(\phi,\theta,m\right)=\left\{ \sigma_{i,j}\left(\phi,\theta\right)=\gamma_{i-j}\left(\phi,\theta\right)\right\} _{i,j=1\ldots m}\end{equation} |
|---|
| 770 | |
|---|
| 771 | \end_inset |
|---|
| 772 | |
|---|
| 773 | |
|---|
| 774 | \end_layout |
|---|
| 775 | |
|---|
| 776 | \begin_layout Standard |
|---|
| 777 | es la matriz de covarianzas de orden |
|---|
| 778 | \begin_inset Formula $m$ |
|---|
| 779 | \end_inset |
|---|
| 780 | |
|---|
| 781 | de la serie estandarizada |
|---|
| 782 | \begin_inset Formula $Z/\sigma$ |
|---|
| 783 | \end_inset |
|---|
| 784 | |
|---|
| 785 | , que depende exclusivamente de |
|---|
| 786 | \begin_inset Formula $\left(\phi,\theta,m\right)$ |
|---|
| 787 | \end_inset |
|---|
| 788 | |
|---|
| 789 | y es la matriz de Toeplitz generada por las autocovarianzas del proceso |
|---|
| 790 | ARMA |
|---|
| 791 | \begin_inset Formula \begin{equation} |
|---|
| 792 | \left\{ \gamma_{k}\left(\phi,\theta\right)=E\left[z_{t},z_{t-k}\right]\right\} _{k=0,1,2,\ldots}\end{equation} |
|---|
| 793 | |
|---|
| 794 | \end_inset |
|---|
| 795 | |
|---|
| 796 | |
|---|
| 797 | \end_layout |
|---|
| 798 | |
|---|
| 799 | \begin_layout Standard |
|---|
| 800 | que son los coeficientes del polinomio de retardo infinito simétrico |
|---|
| 801 | \begin_inset Formula \begin{equation} |
|---|
| 802 | \gamma\left(B+F\right)=\frac{\theta\left(B\right)\theta\left(F\right)}{\phi\left(B\right)\phi\left(F\right)}\end{equation} |
|---|
| 803 | |
|---|
| 804 | \end_inset |
|---|
| 805 | |
|---|
| 806 | |
|---|
| 807 | \end_layout |
|---|
| 808 | |
|---|
| 809 | \begin_layout Standard |
|---|
| 810 | Vista la matriz de covarianzas de una forma más gráfica quedarÃa asÃ: |
|---|
| 811 | \begin_inset Formula \begin{equation} |
|---|
| 812 | \Sigma\left(\phi,\theta,m\right)=\left(\begin{array}{ccccc} |
|---|
| 813 | \gamma_{0} & \gamma_{1} & \gamma_{2} & \cdots & \gamma_{m-1}\\ |
|---|
| 814 | \gamma_{1} & \gamma_{0} & \gamma_{1} & \ddots & \vdots\\ |
|---|
| 815 | \gamma_{2} & \gamma_{1} & \gamma_{0} & \ddots & \gamma_{2}\\ |
|---|
| 816 | \vdots & \ddots & \ddots & \ddots & \gamma_{1}\\ |
|---|
| 817 | \gamma_{m-1} & \cdots & \gamma_{2} & \gamma_{1} & \gamma_{0}\end{array}\right)\in\mathbb{R}^{m\times m}\end{equation} |
|---|
| 818 | |
|---|
| 819 | \end_inset |
|---|
| 820 | |
|---|
| 821 | |
|---|
| 822 | \end_layout |
|---|
| 823 | |
|---|
| 824 | \begin_layout Standard |
|---|
| 825 | Si se dispone de una descomposición simétrica como la de Cholesky |
|---|
| 826 | \begin_inset Formula \begin{equation} |
|---|
| 827 | \Sigma\left(\phi,\theta,m\right)=L\left(\phi,\theta,m\right)\cdot L^{T}\left(\phi,\theta,m\right)\end{equation} |
|---|
| 828 | |
|---|
| 829 | \end_inset |
|---|
| 830 | |
|---|
| 831 | ésta se podrá emplear para filtrar las matrices de input y output de la |
|---|
| 832 | regresión lineal, resolviendo sistemas lineales en |
|---|
| 833 | \begin_inset Formula $L\left(\phi,\theta,m\right)$ |
|---|
| 834 | \end_inset |
|---|
| 835 | |
|---|
| 836 | |
|---|
| 837 | \end_layout |
|---|
| 838 | |
|---|
| 839 | \begin_layout Standard |
|---|
| 840 | \begin_inset Formula \begin{equation} |
|---|
| 841 | \begin{array}{c} |
|---|
| 842 | Y^{'}=L^{-1}\left(\phi,\theta,m\right)\cdot\triangle\cdot Y\\ |
|---|
| 843 | X^{'}=L^{-1}\left(\phi,\theta,m\right)\cdot\triangle\cdot X\\ |
|---|
| 844 | e=L^{-1}\left(\phi,\theta,m\right)Z\end{array}\end{equation} |
|---|
| 845 | |
|---|
| 846 | \end_inset |
|---|
| 847 | |
|---|
| 848 | resultando la regresión lineal |
|---|
| 849 | \end_layout |
|---|
| 850 | |
|---|
| 851 | \begin_layout Standard |
|---|
| 852 | \begin_inset Formula \begin{equation} |
|---|
| 853 | \begin{array}{c} |
|---|
| 854 | Y^{'}=X^{'}\cdot\beta+e\\ |
|---|
| 855 | e\sim N\left(0,\sigma^{2}I\right)\end{array}\end{equation} |
|---|
| 856 | |
|---|
| 857 | \end_inset |
|---|
| 858 | |
|---|
| 859 | que permite realizar la simulación de los parámetros lineales y la varianza |
|---|
| 860 | condicionados a los parámetros ARMA. |
|---|
| 861 | \end_layout |
|---|
| 862 | |
|---|
| 863 | \begin_layout Standard |
|---|
| 864 | Efectuar la descomposición de Cholesky genérica tendrÃa complejidad cúbica |
|---|
| 865 | en el orden de la matriz |
|---|
| 866 | \begin_inset Formula $O\left(m^{3}\right)$ |
|---|
| 867 | \end_inset |
|---|
| 868 | |
|---|
| 869 | y aunque existen diferentes métodos de calcular la descomposición de Cholesky |
|---|
| 870 | con complejidades superlineales |
|---|
| 871 | \begin_inset Formula $O\left(m\cdot\lg^{2}m\right)$ |
|---|
| 872 | \end_inset |
|---|
| 873 | |
|---|
| 874 | , luego la matriz |
|---|
| 875 | \begin_inset Formula $L\left(\phi,\theta,m\right)$ |
|---|
| 876 | \end_inset |
|---|
| 877 | |
|---|
| 878 | no tiene ninguna estructura especial y la resolución de los sistemas referidos |
|---|
| 879 | tiene complejidad cuadrática |
|---|
| 880 | \begin_inset Formula $O\left(m^{2}\right)$ |
|---|
| 881 | \end_inset |
|---|
| 882 | |
|---|
| 883 | , lo cual supone tiempos de cálculo insoportables con apenas unos cientos |
|---|
| 884 | de datos. |
|---|
| 885 | \end_layout |
|---|
| 886 | |
|---|
| 887 | \begin_layout Standard |
|---|
| 888 | A continuación se presenta un método implÃcito de descomposición sintética |
|---|
| 889 | mucho más rápido de obtener los mismos resultados. |
|---|
| 890 | \end_layout |
|---|
| 891 | |
|---|
| 892 | \begin_layout Subsection |
|---|
| 893 | \begin_inset LatexCommand label |
|---|
| 894 | name "sub:Descomposición-sintética" |
|---|
| 895 | |
|---|
| 896 | \end_inset |
|---|
| 897 | |
|---|
| 898 | Descomposición sintética |
|---|
| 899 | \end_layout |
|---|
| 900 | |
|---|
| 901 | \begin_layout Paragraph* |
|---|
| 902 | Lema 1 |
|---|
| 903 | \end_layout |
|---|
| 904 | |
|---|
| 905 | \begin_layout Standard |
|---|
| 906 | Dada la descomposición de Cholesky de la matriz de covarianzas de orden |
|---|
| 907 | |
|---|
| 908 | \begin_inset Formula $m$ |
|---|
| 909 | \end_inset |
|---|
| 910 | |
|---|
| 911 | del proceso AR puro |
|---|
| 912 | \end_layout |
|---|
| 913 | |
|---|
| 914 | \begin_layout Standard |
|---|
| 915 | \begin_inset Formula \begin{equation} |
|---|
| 916 | \Sigma\left(\phi,1,m\right)=L\left(\phi,1,m\right)\cdot L^{T}\left(\phi,1,m\right)\end{equation} |
|---|
| 917 | |
|---|
| 918 | \end_inset |
|---|
| 919 | |
|---|
| 920 | la inversa de dicha descomposición |
|---|
| 921 | \begin_inset Formula $L^{-1}\left(\phi,1,m\right)$ |
|---|
| 922 | \end_inset |
|---|
| 923 | |
|---|
| 924 | para cualquier |
|---|
| 925 | \begin_inset Formula $m>n=\max\left(p,q\right)+1+p$ |
|---|
| 926 | \end_inset |
|---|
| 927 | |
|---|
| 928 | es de Toeplitz a partir de la fila |
|---|
| 929 | \begin_inset Formula $n$ |
|---|
| 930 | \end_inset |
|---|
| 931 | |
|---|
| 932 | por lo que es conocida sin coste adicional alguno sin más que repetir en |
|---|
| 933 | cada fila de |
|---|
| 934 | \begin_inset Formula $L^{-1}\left(\phi,1,n\right)$ |
|---|
| 935 | \end_inset |
|---|
| 936 | |
|---|
| 937 | los valores de la fila |
|---|
| 938 | \begin_inset Formula $n$ |
|---|
| 939 | \end_inset |
|---|
| 940 | |
|---|
| 941 | desplazados una columna hacia delante: |
|---|
| 942 | \begin_inset Formula \begin{equation} |
|---|
| 943 | L^{-1}\left(\phi,1,m\right)=\left(\begin{array}{ccccc} |
|---|
| 944 | \vartheta_{1,1} & \cdots & 0 & \cdots & 0\\ |
|---|
| 945 | \vdots & \ddots & \vdots & \ddots & \vdots\\ |
|---|
| 946 | \vartheta_{n,1} & \cdots & \vartheta_{n,n} & & 0\\ |
|---|
| 947 | \vdots & \ddots & & \ddots & \vdots\\ |
|---|
| 948 | 0 & \cdots & \vartheta_{n,1} & \cdots & \vartheta_{n,n}\end{array}\right)\in\mathbb{R}^{m\times m}\end{equation} |
|---|
| 949 | |
|---|
| 950 | \end_inset |
|---|
| 951 | |
|---|
| 952 | |
|---|
| 953 | \end_layout |
|---|
| 954 | |
|---|
| 955 | \begin_layout Standard |
|---|
| 956 | Eso la convierte además en una matriz de Toeplitz de bandas con ceros fuera |
|---|
| 957 | de las |
|---|
| 958 | \begin_inset Formula $n$ |
|---|
| 959 | \end_inset |
|---|
| 960 | |
|---|
| 961 | primeras bandas que es muy sparse cuando crece |
|---|
| 962 | \begin_inset Formula $m$ |
|---|
| 963 | \end_inset |
|---|
| 964 | |
|---|
| 965 | pues el número de datos no ceros es menor que |
|---|
| 966 | \begin_inset Formula $n\cdot m$ |
|---|
| 967 | \end_inset |
|---|
| 968 | |
|---|
| 969 | . |
|---|
| 970 | Nótese que la matriz de descomposición |
|---|
| 971 | \begin_inset Formula $L\left(\phi,1,m\right)$ |
|---|
| 972 | \end_inset |
|---|
| 973 | |
|---|
| 974 | propiamente dicha no es sparse en general, aunque para raÃces muy lejanas |
|---|
| 975 | del cÃrculo unidad los términos más alejados de la unidad se acercan rápidament |
|---|
| 976 | e a cero. |
|---|
| 977 | \end_layout |
|---|
| 978 | |
|---|
| 979 | \begin_layout Paragraph* |
|---|
| 980 | Lema 2 |
|---|
| 981 | \end_layout |
|---|
| 982 | |
|---|
| 983 | \begin_layout Standard |
|---|
| 984 | La matriz de covarianzas de orden |
|---|
| 985 | \begin_inset Formula $m>n$ |
|---|
| 986 | \end_inset |
|---|
| 987 | |
|---|
| 988 | del proceso ARMA filtrada simétricamente de la descomposición de las covarianza |
|---|
| 989 | s del proceso AR puro, es decir, |
|---|
| 990 | \begin_inset Formula \begin{equation} |
|---|
| 991 | \Upsilon\left(\phi,\theta,m\right)=L^{-1}\left(\phi,1,m\right)\cdot\Sigma\left(\phi,\theta,m\right)\cdot L^{-T}\left(\phi,1,m\right)\end{equation} |
|---|
| 992 | |
|---|
| 993 | \end_inset |
|---|
| 994 | |
|---|
| 995 | también es simétrica y de Toeplitz partir de la fila y columna |
|---|
| 996 | \begin_inset Formula $n$ |
|---|
| 997 | \end_inset |
|---|
| 998 | |
|---|
| 999 | por lo que es conocida sin coste adicional alguno, una vez calculada |
|---|
| 1000 | \begin_inset Formula $\Upsilon\left(\phi,\theta,m\right)$ |
|---|
| 1001 | \end_inset |
|---|
| 1002 | |
|---|
| 1003 | , sin más que repetir en cada fila (y columna) los valores de la fila (y |
|---|
| 1004 | columna) |
|---|
| 1005 | \begin_inset Formula $n$ |
|---|
| 1006 | \end_inset |
|---|
| 1007 | |
|---|
| 1008 | desplazados una columna (fila) hacia delante (abajo). |
|---|
| 1009 | Se trata por ende de una matriz de Toeplitz de bandas con ceros fuera de |
|---|
| 1010 | las |
|---|
| 1011 | \begin_inset Formula $n$ |
|---|
| 1012 | \end_inset |
|---|
| 1013 | |
|---|
| 1014 | primeras bandas que es muy sparse cuando crece |
|---|
| 1015 | \begin_inset Formula $m$ |
|---|
| 1016 | \end_inset |
|---|
| 1017 | |
|---|
| 1018 | pues el número de datos no ceros es menor que |
|---|
| 1019 | \begin_inset Formula $\left(2\cdot n-1\right)\cdot m$ |
|---|
| 1020 | \end_inset |
|---|
| 1021 | |
|---|
| 1022 | : |
|---|
| 1023 | \begin_inset Formula \begin{equation} |
|---|
| 1024 | \Upsilon\left(\phi,\theta,m\right)=\left(\begin{array}{ccccc} |
|---|
| 1025 | \upsilon_{1,1} & \cdots & \upsilon_{n,1} & \cdots & 0\\ |
|---|
| 1026 | \vdots & \ddots & \vdots & \ddots & \vdots\\ |
|---|
| 1027 | \upsilon_{n,1} & \cdots & \upsilon_{n,n} & & \upsilon_{n,1}\\ |
|---|
| 1028 | \vdots & \ddots & & \ddots & \vdots\\ |
|---|
| 1029 | 0 & \cdots & \upsilon_{n,1} & \cdots & \upsilon_{n,n}\end{array}\right)\in\mathbb{R}^{m\times m}\end{equation} |
|---|
| 1030 | |
|---|
| 1031 | \end_inset |
|---|
| 1032 | |
|---|
| 1033 | |
|---|
| 1034 | \end_layout |
|---|
| 1035 | |
|---|
| 1036 | \begin_layout Standard |
|---|
| 1037 | Por construcción del método de Cholesky |
|---|
| 1038 | \begin_inset Formula $\Upsilon\left(\phi,\theta,m\right)=\Lambda\left(\phi,\theta,m\right)\cdot\Lambda^{T}\left(\phi,\theta,m\right)$ |
|---|
| 1039 | \end_inset |
|---|
| 1040 | |
|---|
| 1041 | se tiene que el factor |
|---|
| 1042 | \begin_inset Formula $\Lambda\left(\phi,\theta,m\right)$ |
|---|
| 1043 | \end_inset |
|---|
| 1044 | |
|---|
| 1045 | es igualmente de bandas con ceros fuera de las |
|---|
| 1046 | \begin_inset Formula $n$ |
|---|
| 1047 | \end_inset |
|---|
| 1048 | |
|---|
| 1049 | primeras bandas, siendo el número de datos no ceros menor que |
|---|
| 1050 | \begin_inset Formula $n\cdot m$ |
|---|
| 1051 | \end_inset |
|---|
| 1052 | |
|---|
| 1053 | : |
|---|
| 1054 | \begin_inset Formula \begin{equation} |
|---|
| 1055 | \Lambda\left(\phi,\theta,m\right)=\left(\begin{array}{ccccc} |
|---|
| 1056 | \lambda_{1,1} & \cdots & 0 & \cdots & 0\\ |
|---|
| 1057 | \vdots & \ddots & \vdots & \ddots & \vdots\\ |
|---|
| 1058 | \lambda_{n,1} & \cdots & \lambda_{n,n} & & 0\\ |
|---|
| 1059 | \vdots & \ddots & & \ddots & \vdots\\ |
|---|
| 1060 | 0 & \cdots & \lambda_{n,1} & \cdots & \lambda_{n,n}\end{array}\right)\in\mathbb{R}^{m\times m}\end{equation} |
|---|
| 1061 | |
|---|
| 1062 | \end_inset |
|---|
| 1063 | |
|---|
| 1064 | |
|---|
| 1065 | \end_layout |
|---|
| 1066 | |
|---|
| 1067 | \begin_layout Paragraph* |
|---|
| 1068 | Corolario 1 |
|---|
| 1069 | \end_layout |
|---|
| 1070 | |
|---|
| 1071 | \begin_layout Standard |
|---|
| 1072 | Mezclando las dos fórmulas anteriores |
|---|
| 1073 | \end_layout |
|---|
| 1074 | |
|---|
| 1075 | \begin_layout Standard |
|---|
| 1076 | \begin_inset Formula \begin{equation} |
|---|
| 1077 | \Upsilon\left(\phi,\theta,m\right)=\Lambda\left(\phi,\theta,m\right)\cdot\Lambda^{T}\left(\phi,\theta,m\right)=L^{-1}\left(\phi,1,m\right)\cdot\Sigma\left(\phi,\theta,m\right)\cdot L^{-T}\left(\phi,1,m\right)\end{equation} |
|---|
| 1078 | |
|---|
| 1079 | \end_inset |
|---|
| 1080 | |
|---|
| 1081 | |
|---|
| 1082 | \end_layout |
|---|
| 1083 | |
|---|
| 1084 | \begin_layout Standard |
|---|
| 1085 | \begin_inset Formula \begin{equation} |
|---|
| 1086 | L\left(\phi,1,m\right)\cdot\Lambda\left(\phi,\theta,m\right)\cdot\Lambda^{T}\left(\phi,\theta,m\right)\cdot L^{T}\left(\phi,1,m\right)=\Sigma\left(\phi,\theta,m\right)=L\left(\phi,\theta,M\right)\cdot L^{T}\left(\phi,\theta,M\right)\end{equation} |
|---|
| 1087 | |
|---|
| 1088 | \end_inset |
|---|
| 1089 | |
|---|
| 1090 | se obtiene de forma inmediata una expresión de la descomposición de Cholesky |
|---|
| 1091 | de la matriz de covarianzas para cualquier entero |
|---|
| 1092 | \begin_inset Formula $m$ |
|---|
| 1093 | \end_inset |
|---|
| 1094 | |
|---|
| 1095 | |
|---|
| 1096 | \end_layout |
|---|
| 1097 | |
|---|
| 1098 | \begin_layout Standard |
|---|
| 1099 | \begin_inset Formula \begin{equation} |
|---|
| 1100 | L\left(\phi,\theta,m\right)=L\left(\phi,1,m\right)\cdot\Lambda\left(\phi,\theta,m\right)\end{equation} |
|---|
| 1101 | |
|---|
| 1102 | \end_inset |
|---|
| 1103 | |
|---|
| 1104 | que, aunque no es en general sparse. |
|---|
| 1105 | \end_layout |
|---|
| 1106 | |
|---|
| 1107 | \begin_layout Paragraph* |
|---|
| 1108 | Corolario 2 |
|---|
| 1109 | \end_layout |
|---|
| 1110 | |
|---|
| 1111 | \begin_layout Standard |
|---|
| 1112 | Sin embargo sà que permite un mecanismo de filtrado sparse en dos fases. |
|---|
| 1113 | En el caso del filtrado ARMA comentado anteriormente se tiene que calcular |
|---|
| 1114 | |
|---|
| 1115 | \begin_inset Formula $V$ |
|---|
| 1116 | \end_inset |
|---|
| 1117 | |
|---|
| 1118 | dado |
|---|
| 1119 | \begin_inset Formula $U$ |
|---|
| 1120 | \end_inset |
|---|
| 1121 | |
|---|
| 1122 | de forma que |
|---|
| 1123 | \end_layout |
|---|
| 1124 | |
|---|
| 1125 | \begin_layout Standard |
|---|
| 1126 | \begin_inset Formula \begin{equation} |
|---|
| 1127 | U=L\left(\phi,\theta,m\right)\cdot V\end{equation} |
|---|
| 1128 | |
|---|
| 1129 | \end_inset |
|---|
| 1130 | |
|---|
| 1131 | |
|---|
| 1132 | \end_layout |
|---|
| 1133 | |
|---|
| 1134 | \begin_layout Standard |
|---|
| 1135 | Para ello se calcula primero |
|---|
| 1136 | \begin_inset Formula \begin{equation} |
|---|
| 1137 | W=L^{-1}\left(\phi,1,m\right)\cdot U=\Lambda\left(\phi,\theta,m\right)\cdot V\end{equation} |
|---|
| 1138 | |
|---|
| 1139 | \end_inset |
|---|
| 1140 | |
|---|
| 1141 | teniendo en cuenta que |
|---|
| 1142 | \begin_inset Formula $L^{-1}\left(\phi,1,m\right)$ |
|---|
| 1143 | \end_inset |
|---|
| 1144 | |
|---|
| 1145 | es sparse, para luego despejar |
|---|
| 1146 | \begin_inset Formula $V$ |
|---|
| 1147 | \end_inset |
|---|
| 1148 | |
|---|
| 1149 | en el sistema sparse |
|---|
| 1150 | \end_layout |
|---|
| 1151 | |
|---|
| 1152 | \begin_layout Standard |
|---|
| 1153 | \begin_inset Formula \begin{equation} |
|---|
| 1154 | W=\Lambda\left(\phi,\theta,m\right)\cdot V\end{equation} |
|---|
| 1155 | |
|---|
| 1156 | \end_inset |
|---|
| 1157 | |
|---|
| 1158 | |
|---|
| 1159 | \end_layout |
|---|
| 1160 | |
|---|
| 1161 | \begin_layout Paragraph* |
|---|
| 1162 | Corolario 3 |
|---|
| 1163 | \end_layout |
|---|
| 1164 | |
|---|
| 1165 | \begin_layout Standard |
|---|
| 1166 | En un proceso AR puro es |
|---|
| 1167 | \begin_inset Formula $\Lambda\left(\phi,\theta,m\right)=I_{m}$ |
|---|
| 1168 | \end_inset |
|---|
| 1169 | |
|---|
| 1170 | y |
|---|
| 1171 | \begin_inset Formula $L^{-1}\left(\phi,\theta,m\right)=L^{-1}\left(\phi,1,m\right)$ |
|---|
| 1172 | \end_inset |
|---|
| 1173 | |
|---|
| 1174 | |
|---|
| 1175 | \end_layout |
|---|
| 1176 | |
|---|
| 1177 | \begin_layout Paragraph* |
|---|
| 1178 | Corolario 4 |
|---|
| 1179 | \end_layout |
|---|
| 1180 | |
|---|
| 1181 | \begin_layout Standard |
|---|
| 1182 | En un proceso MA puro es |
|---|
| 1183 | \begin_inset Formula $L^{-1}\left(\phi,1,m\right)=I_{m}$ |
|---|
| 1184 | \end_inset |
|---|
| 1185 | |
|---|
| 1186 | y |
|---|
| 1187 | \begin_inset Formula $L\left(\phi,\theta,m\right)=\Lambda\left(\phi,\theta,m\right)$ |
|---|
| 1188 | \end_inset |
|---|
| 1189 | |
|---|
| 1190 | |
|---|
| 1191 | \end_layout |
|---|
| 1192 | |
|---|
| 1193 | \begin_layout Subsection |
|---|
| 1194 | \begin_inset LatexCommand label |
|---|
| 1195 | name "sub:Algoritmo-de-la-descomposición-ARMA-sintética" |
|---|
| 1196 | |
|---|
| 1197 | \end_inset |
|---|
| 1198 | |
|---|
| 1199 | Algoritmo de la descomposición ARMA sintética |
|---|
| 1200 | \end_layout |
|---|
| 1201 | |
|---|
| 1202 | \begin_layout Subparagraph* |
|---|
| 1203 | Entrada |
|---|
| 1204 | \end_layout |
|---|
| 1205 | |
|---|
| 1206 | \begin_layout Standard |
|---|
| 1207 | Los polinomios |
|---|
| 1208 | \begin_inset Formula $\phi,\theta$ |
|---|
| 1209 | \end_inset |
|---|
| 1210 | |
|---|
| 1211 | y el tamaño de la serie |
|---|
| 1212 | \begin_inset Formula $m$ |
|---|
| 1213 | \end_inset |
|---|
| 1214 | |
|---|
| 1215 | |
|---|
| 1216 | \end_layout |
|---|
| 1217 | |
|---|
| 1218 | \begin_layout Subparagraph* |
|---|
| 1219 | Salida |
|---|
| 1220 | \end_layout |
|---|
| 1221 | |
|---|
| 1222 | \begin_layout Standard |
|---|
| 1223 | Dos matrices sparse |
|---|
| 1224 | \begin_inset Formula $L^{-1}\left(\phi,1,m\right)$ |
|---|
| 1225 | \end_inset |
|---|
| 1226 | |
|---|
| 1227 | y |
|---|
| 1228 | \begin_inset Formula $\Lambda\left(\phi,\theta,m\right)$ |
|---|
| 1229 | \end_inset |
|---|
| 1230 | |
|---|
| 1231 | |
|---|
| 1232 | \end_layout |
|---|
| 1233 | |
|---|
| 1234 | \begin_layout Subparagraph* |
|---|
| 1235 | Método |
|---|
| 1236 | \end_layout |
|---|
| 1237 | |
|---|
| 1238 | \begin_layout Enumerate |
|---|
| 1239 | Se calcula |
|---|
| 1240 | \begin_inset Formula $n=\max\left(p,q\right)+1+p$ |
|---|
| 1241 | \end_inset |
|---|
| 1242 | |
|---|
| 1243 | |
|---|
| 1244 | \end_layout |
|---|
| 1245 | |
|---|
| 1246 | \begin_layout Enumerate |
|---|
| 1247 | Se calcula |
|---|
| 1248 | \begin_inset Formula $\Sigma\left(\phi,1,n\right)$ |
|---|
| 1249 | \end_inset |
|---|
| 1250 | |
|---|
| 1251 | |
|---|
| 1252 | \end_layout |
|---|
| 1253 | |
|---|
| 1254 | \begin_layout Enumerate |
|---|
| 1255 | Se calcula la descomposición de Cholesky de orden |
|---|
| 1256 | \begin_inset Formula $n$ |
|---|
| 1257 | \end_inset |
|---|
| 1258 | |
|---|
| 1259 | tal que |
|---|
| 1260 | \begin_inset Formula $\Sigma\left(\phi,1,n\right)=L\left(\phi,1,n\right)\cdot L^{T}\left(\phi,1,n\right)$ |
|---|
| 1261 | \end_inset |
|---|
| 1262 | |
|---|
| 1263 | que será en general más densa cuanto más cerca de la unidad estén las raÃces |
|---|
| 1264 | |
|---|
| 1265 | \begin_inset Formula $\phi$ |
|---|
| 1266 | \end_inset |
|---|
| 1267 | |
|---|
| 1268 | , siendo la complejidad máxima de este paso |
|---|
| 1269 | \begin_inset Formula $O\left(n^{3}\right)$ |
|---|
| 1270 | \end_inset |
|---|
| 1271 | |
|---|
| 1272 | |
|---|
| 1273 | \end_layout |
|---|
| 1274 | |
|---|
| 1275 | \begin_layout Enumerate |
|---|
| 1276 | Se calcula la inversa de dicha descomposición |
|---|
| 1277 | \begin_inset Formula $L^{-1}\left(\phi,1,n\right)$ |
|---|
| 1278 | \end_inset |
|---|
| 1279 | |
|---|
| 1280 | con coste |
|---|
| 1281 | \begin_inset Formula $O\left(n^{3}\right)$ |
|---|
| 1282 | \end_inset |
|---|
| 1283 | |
|---|
| 1284 | a lo peor. |
|---|
| 1285 | \end_layout |
|---|
| 1286 | |
|---|
| 1287 | \begin_layout Enumerate |
|---|
| 1288 | Si |
|---|
| 1289 | \begin_inset Formula $m>n$ |
|---|
| 1290 | \end_inset |
|---|
| 1291 | |
|---|
| 1292 | entonces se expande la última fila de |
|---|
| 1293 | \begin_inset Formula $L^{-1}\left(\phi,1,n\right)$ |
|---|
| 1294 | \end_inset |
|---|
| 1295 | |
|---|
| 1296 | otras |
|---|
| 1297 | \begin_inset Formula $m-n$ |
|---|
| 1298 | \end_inset |
|---|
| 1299 | |
|---|
| 1300 | veces para formar la matriz sparse |
|---|
| 1301 | \begin_inset Formula $L^{-1}\left(\phi,1,m\right)$ |
|---|
| 1302 | \end_inset |
|---|
| 1303 | |
|---|
| 1304 | . |
|---|
| 1305 | De lo contrario se extrae como el menor principal de orden |
|---|
| 1306 | \begin_inset Formula $m$ |
|---|
| 1307 | \end_inset |
|---|
| 1308 | |
|---|
| 1309 | . |
|---|
| 1310 | El número de celdas no nulas a almacenar es como máximo |
|---|
| 1311 | \begin_inset Formula $n\cdot m$ |
|---|
| 1312 | \end_inset |
|---|
| 1313 | |
|---|
| 1314 | |
|---|
| 1315 | \end_layout |
|---|
| 1316 | |
|---|
| 1317 | \begin_layout Enumerate |
|---|
| 1318 | Se calcula |
|---|
| 1319 | \begin_inset Formula $\Sigma\left(\phi,\theta,n\right)$ |
|---|
| 1320 | \end_inset |
|---|
| 1321 | |
|---|
| 1322 | |
|---|
| 1323 | \end_layout |
|---|
| 1324 | |
|---|
| 1325 | \begin_layout Enumerate |
|---|
| 1326 | Se calcula |
|---|
| 1327 | \begin_inset Formula $\Upsilon\left(\phi,\theta,n\right)=L^{-1}\left(\phi,1,n\right)\cdot\Sigma\left(\phi,\theta,n\right)\cdot L^{-T}\left(\phi,1,n\right)$ |
|---|
| 1328 | \end_inset |
|---|
| 1329 | |
|---|
| 1330 | lo cual conlleva un coste menor o igual que |
|---|
| 1331 | \begin_inset Formula $O\left(n^{3}\right)$ |
|---|
| 1332 | \end_inset |
|---|
| 1333 | |
|---|
| 1334 | |
|---|
| 1335 | \end_layout |
|---|
| 1336 | |
|---|
| 1337 | \begin_layout Enumerate |
|---|
| 1338 | Si |
|---|
| 1339 | \begin_inset Formula $m>n$ |
|---|
| 1340 | \end_inset |
|---|
| 1341 | |
|---|
| 1342 | entonces se expanden las últimas fila y columna de |
|---|
| 1343 | \begin_inset Formula $\Upsilon\left(\phi,\theta,n\right)$ |
|---|
| 1344 | \end_inset |
|---|
| 1345 | |
|---|
| 1346 | otras |
|---|
| 1347 | \begin_inset Formula $m-n$ |
|---|
| 1348 | \end_inset |
|---|
| 1349 | |
|---|
| 1350 | veces para formar la matriz sparse simétrica |
|---|
| 1351 | \begin_inset Formula $\Upsilon\left(\phi,\theta,m\right)$ |
|---|
| 1352 | \end_inset |
|---|
| 1353 | |
|---|
| 1354 | . |
|---|
| 1355 | De lo contrario se extrae como el menor principal de orden |
|---|
| 1356 | \begin_inset Formula $m$ |
|---|
| 1357 | \end_inset |
|---|
| 1358 | |
|---|
| 1359 | |
|---|
| 1360 | \end_layout |
|---|
| 1361 | |
|---|
| 1362 | \begin_layout Enumerate |
|---|
| 1363 | Se calcula la descomposición de Cholesky de orden |
|---|
| 1364 | \begin_inset Formula $m$ |
|---|
| 1365 | \end_inset |
|---|
| 1366 | |
|---|
| 1367 | de la matriz sparse |
|---|
| 1368 | \begin_inset Formula $\Upsilon\left(\phi,\theta,m\right)=\Lambda\left(\phi,\theta,m\right)\cdot\Lambda^{T}\left(\phi,\theta,m\right)$ |
|---|
| 1369 | \end_inset |
|---|
| 1370 | |
|---|
| 1371 | con complejidad |
|---|
| 1372 | \begin_inset Formula $O\left(n^{2}m\right)$ |
|---|
| 1373 | \end_inset |
|---|
| 1374 | |
|---|
| 1375 | y tamaño a almacenar de |
|---|
| 1376 | \begin_inset Formula $n\cdot m$ |
|---|
| 1377 | \end_inset |
|---|
| 1378 | |
|---|
| 1379 | celdas como máximo |
|---|
| 1380 | \end_layout |
|---|
| 1381 | |
|---|
| 1382 | \begin_layout Subsection |
|---|
| 1383 | \begin_inset LatexCommand label |
|---|
| 1384 | name "sub:Algoritmo-de-filtrado ARMA sintético" |
|---|
| 1385 | |
|---|
| 1386 | \end_inset |
|---|
| 1387 | |
|---|
| 1388 | Algoritmo de filtrado ARMA sintético |
|---|
| 1389 | \end_layout |
|---|
| 1390 | |
|---|
| 1391 | \begin_layout Subparagraph* |
|---|
| 1392 | Entrada |
|---|
| 1393 | \end_layout |
|---|
| 1394 | |
|---|
| 1395 | \begin_layout Standard |
|---|
| 1396 | Las matrices sparse |
|---|
| 1397 | \begin_inset Formula $L^{-1}\left(\phi,1,m\right)$ |
|---|
| 1398 | \end_inset |
|---|
| 1399 | |
|---|
| 1400 | y |
|---|
| 1401 | \begin_inset Formula $\Lambda\left(\phi,\theta,m\right)$ |
|---|
| 1402 | \end_inset |
|---|
| 1403 | |
|---|
| 1404 | generadas por el algoritmo anterior |
|---|
| 1405 | \end_layout |
|---|
| 1406 | |
|---|
| 1407 | \begin_layout Standard |
|---|
| 1408 | La matriz o vector |
|---|
| 1409 | \begin_inset Formula $U$ |
|---|
| 1410 | \end_inset |
|---|
| 1411 | |
|---|
| 1412 | a filtrar, que puede ser densa o sparse. |
|---|
| 1413 | \end_layout |
|---|
| 1414 | |
|---|
| 1415 | \begin_layout Subparagraph* |
|---|
| 1416 | Salida |
|---|
| 1417 | \end_layout |
|---|
| 1418 | |
|---|
| 1419 | \begin_layout Standard |
|---|
| 1420 | La matriz filtrada |
|---|
| 1421 | \begin_inset Formula $V=\Lambda\left(\phi,\theta,m\right)\cdot L^{-1}\left(\phi,1,m\right)\cdot Z$ |
|---|
| 1422 | \end_inset |
|---|
| 1423 | |
|---|
| 1424 | |
|---|
| 1425 | \end_layout |
|---|
| 1426 | |
|---|
| 1427 | \begin_layout Subparagraph* |
|---|
| 1428 | Método |
|---|
| 1429 | \end_layout |
|---|
| 1430 | |
|---|
| 1431 | \begin_layout Enumerate |
|---|
| 1432 | Se calcula el producto de matriz sparse por matriz o vector |
|---|
| 1433 | \begin_inset Formula $W=L^{-1}\left(\phi,1,m\right)\cdot Z$ |
|---|
| 1434 | \end_inset |
|---|
| 1435 | |
|---|
| 1436 | |
|---|
| 1437 | \end_layout |
|---|
| 1438 | |
|---|
| 1439 | \begin_layout Enumerate |
|---|
| 1440 | Se resuelve el sistema triangular sparse |
|---|
| 1441 | \begin_inset Formula $W=\Lambda\left(\phi,\theta,m\right)\cdot V$ |
|---|
| 1442 | \end_inset |
|---|
| 1443 | |
|---|
| 1444 | |
|---|
| 1445 | \end_layout |
|---|
| 1446 | |
|---|
| 1447 | \end_body |
|---|
| 1448 | \end_document |
|---|