| 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-de-filtro-no-lineal" |
|---|
| 69 | |
|---|
| 70 | \end_inset |
|---|
| 71 | |
|---|
| 72 | El bloque de filtro no lineal |
|---|
| 73 | \end_layout |
|---|
| 74 | |
|---|
| 75 | \begin_layout Standard |
|---|
| 76 | Muy a menudo se observan comportamientos de inputs que no actúan de forma |
|---|
| 77 | lineal en el filtrado de fenómenos complejos y de outputs que hay que transform |
|---|
| 78 | ar de forma no lineal para obtener relaciones lineales con los algunos inputs |
|---|
| 79 | concretos. |
|---|
| 80 | En ambos casos se trata de modificar bien un output o bien uno o varios |
|---|
| 81 | inputs en el modelo de regresión lineal, y en ambos es posible formalizar |
|---|
| 82 | un método genérico ARMS de simulación de Gibbs de cada parámetro condicionado |
|---|
| 83 | al resto. |
|---|
| 84 | Se expone también el caso concreto de la función de transferencia no lineal |
|---|
| 85 | (deltas). |
|---|
| 86 | \end_layout |
|---|
| 87 | |
|---|
| 88 | \begin_layout Section |
|---|
| 89 | \begin_inset LatexCommand label |
|---|
| 90 | name "sub:NonLinearFilterBlock_Antecedentes" |
|---|
| 91 | |
|---|
| 92 | \end_inset |
|---|
| 93 | |
|---|
| 94 | Descripción |
|---|
| 95 | \end_layout |
|---|
| 96 | |
|---|
| 97 | \begin_layout Standard |
|---|
| 98 | Sea el modelo de regresión con partes no lineales |
|---|
| 99 | \begin_inset Formula \begin{equation} |
|---|
| 100 | \begin{array}{c} |
|---|
| 101 | \triangle\cdot\left(Y-F_{0}-X\cdot\beta-{\displaystyle \sum_{r=1}^{R}F_{r}\cdot\alpha_{r}}\right)+a\\ |
|---|
| 102 | a\sim N\left(0,\Sigma\right)\\ |
|---|
| 103 | Y,a\in\mathbb{R}^{m}\\ |
|---|
| 104 | \beta\in\mathbb{R}^{n}\wedge X\in\mathbb{R}^{m\times n}\\ |
|---|
| 105 | F_{r}=f_{r}\left(\tau_{r}\right)\in\mathbb{R}^{m\times h_{r}}\\ |
|---|
| 106 | \alpha_{r}\in\mathbb{R}^{h_{r}}\\ |
|---|
| 107 | \tau_{r}\in\mathbb{R}^{R_{r}}\\ |
|---|
| 108 | F_{0}=f_{0}\left(\tau_{0}\right)\in\mathbb{R}^{m}\\ |
|---|
| 109 | \tau_{0}\in\mathbb{R}^{R_{0}}\end{array}\end{equation} |
|---|
| 110 | |
|---|
| 111 | \end_inset |
|---|
| 112 | |
|---|
| 113 | |
|---|
| 114 | \end_layout |
|---|
| 115 | |
|---|
| 116 | \begin_layout Standard |
|---|
| 117 | donde |
|---|
| 118 | \end_layout |
|---|
| 119 | |
|---|
| 120 | \begin_layout Itemize |
|---|
| 121 | \begin_inset Formula $\beta$ |
|---|
| 122 | \end_inset |
|---|
| 123 | |
|---|
| 124 | son los parámetros del bloque lineal original de la regresión, |
|---|
| 125 | \end_layout |
|---|
| 126 | |
|---|
| 127 | \begin_layout Itemize |
|---|
| 128 | \begin_inset Formula $n$ |
|---|
| 129 | \end_inset |
|---|
| 130 | |
|---|
| 131 | es el número de parámetros a estimar de la regresión, |
|---|
| 132 | \end_layout |
|---|
| 133 | |
|---|
| 134 | \begin_layout Itemize |
|---|
| 135 | \begin_inset Formula $M$ |
|---|
| 136 | \end_inset |
|---|
| 137 | |
|---|
| 138 | es el número de datos del output, |
|---|
| 139 | \end_layout |
|---|
| 140 | |
|---|
| 141 | \begin_layout Itemize |
|---|
| 142 | \begin_inset Formula $m$ |
|---|
| 143 | \end_inset |
|---|
| 144 | |
|---|
| 145 | es el número de datos de contraste del modelo y ha de ser mayor que el |
|---|
| 146 | de variables, |
|---|
| 147 | \end_layout |
|---|
| 148 | |
|---|
| 149 | \begin_layout Itemize |
|---|
| 150 | \begin_inset Formula $X$ |
|---|
| 151 | \end_inset |
|---|
| 152 | |
|---|
| 153 | es la matriz de iputs estrictamente lineales del modelo y es completamente |
|---|
| 154 | conocida y de rango completo. |
|---|
| 155 | \end_layout |
|---|
| 156 | |
|---|
| 157 | \begin_layout Itemize |
|---|
| 158 | La matriz |
|---|
| 159 | \begin_inset Formula $\triangle$ |
|---|
| 160 | \end_inset |
|---|
| 161 | |
|---|
| 162 | es el operador lineal de filtrado determinista, normalmente definido como |
|---|
| 163 | la matriz de Toeplitz correspondiente a un polinomio de raÃces unitarias. |
|---|
| 164 | Este operador puede ser degenerado, cuando es |
|---|
| 165 | \begin_inset Formula $M>m$ |
|---|
| 166 | \end_inset |
|---|
| 167 | |
|---|
| 168 | (ver |
|---|
| 169 | \begin_inset LatexCommand ref |
|---|
| 170 | reference "sub:ArmaBlock_Antecedentes" |
|---|
| 171 | |
|---|
| 172 | \end_inset |
|---|
| 173 | |
|---|
| 174 | ) |
|---|
| 175 | \end_layout |
|---|
| 176 | |
|---|
| 177 | \begin_layout Itemize |
|---|
| 178 | \begin_inset Formula $a$ |
|---|
| 179 | \end_inset |
|---|
| 180 | |
|---|
| 181 | son los residuos del modelo cuya distribución se propone como hipótesis |
|---|
| 182 | principal del mismo, |
|---|
| 183 | \end_layout |
|---|
| 184 | |
|---|
| 185 | \begin_layout Itemize |
|---|
| 186 | \begin_inset Formula $\Sigma$ |
|---|
| 187 | \end_inset |
|---|
| 188 | |
|---|
| 189 | es la matriz de covarianzas, usualmente será o bien una matriz diagonal |
|---|
| 190 | o bien la matriz de autocovarianzas de un proceso ARMA (ver |
|---|
| 191 | \begin_inset LatexCommand ref |
|---|
| 192 | reference "sub:ArmaBlock_Antecedentes" |
|---|
| 193 | |
|---|
| 194 | \end_inset |
|---|
| 195 | |
|---|
| 196 | ) |
|---|
| 197 | \end_layout |
|---|
| 198 | |
|---|
| 199 | \begin_layout Itemize |
|---|
| 200 | \begin_inset Formula $\tau_{0}$ |
|---|
| 201 | \end_inset |
|---|
| 202 | |
|---|
| 203 | y |
|---|
| 204 | \begin_inset Formula $\tau_{r}$ |
|---|
| 205 | \end_inset |
|---|
| 206 | |
|---|
| 207 | son los vectores de parámetros de los filtros no lineales del output y |
|---|
| 208 | el input respectivamente y |
|---|
| 209 | \begin_inset Formula $f_{0}$ |
|---|
| 210 | \end_inset |
|---|
| 211 | |
|---|
| 212 | y |
|---|
| 213 | \begin_inset Formula $f_{r}$ |
|---|
| 214 | \end_inset |
|---|
| 215 | |
|---|
| 216 | sus correspondientes funciones de filtrado no lineal |
|---|
| 217 | \end_layout |
|---|
| 218 | |
|---|
| 219 | \begin_layout Itemize |
|---|
| 220 | \begin_inset Formula $F_{0}$ |
|---|
| 221 | \end_inset |
|---|
| 222 | |
|---|
| 223 | es el vector de filtro de output generado por el filtro no lineal. |
|---|
| 224 | \end_layout |
|---|
| 225 | |
|---|
| 226 | \begin_layout Itemize |
|---|
| 227 | \begin_inset Formula $F_{r}$ |
|---|
| 228 | \end_inset |
|---|
| 229 | |
|---|
| 230 | es la |
|---|
| 231 | \begin_inset Formula $r$ |
|---|
| 232 | \end_inset |
|---|
| 233 | |
|---|
| 234 | -ésima matriz de o inputs filtrados. |
|---|
| 235 | \end_layout |
|---|
| 236 | |
|---|
| 237 | \begin_layout Itemize |
|---|
| 238 | \begin_inset Formula $\alpha_{r}$ |
|---|
| 239 | \end_inset |
|---|
| 240 | |
|---|
| 241 | son ampliaciones de los parámetros del bloque lineal para los nuevos input, |
|---|
| 242 | \end_layout |
|---|
| 243 | |
|---|
| 244 | \begin_layout Standard |
|---|
| 245 | En el caso de covarianzas diagonales o ARMA, este modelo es una extensión |
|---|
| 246 | del modelo correspondiente a un segmento de regresión de la clase BSR, |
|---|
| 247 | ya que condicionando a los parámetros no lineales |
|---|
| 248 | \begin_inset Formula $\tau$ |
|---|
| 249 | \end_inset |
|---|
| 250 | |
|---|
| 251 | , es obvio que resulta una regresión lineal expresable por bloques |
|---|
| 252 | \end_layout |
|---|
| 253 | |
|---|
| 254 | \begin_layout Standard |
|---|
| 255 | \begin_inset Formula \begin{equation} |
|---|
| 256 | \triangle\cdot Y{\displaystyle =Z}=\triangle\cdot F_{0}+\triangle\cdot\left(\begin{array}{cccc} |
|---|
| 257 | X & F_{1} & \cdots & F_{R}\end{array}\right)\left(\begin{array}{c} |
|---|
| 258 | \beta\\ |
|---|
| 259 | \alpha_{1}\\ |
|---|
| 260 | \vdots\\ |
|---|
| 261 | \alpha_{R}\end{array}\right)+a\end{equation} |
|---|
| 262 | |
|---|
| 263 | \end_inset |
|---|
| 264 | |
|---|
| 265 | |
|---|
| 266 | \end_layout |
|---|
| 267 | |
|---|
| 268 | \begin_layout Standard |
|---|
| 269 | Cada filtro no lineal aditivo del input viene dado por una función real |
|---|
| 270 | arbitraria |
|---|
| 271 | \begin_inset Formula $f_{r}$ |
|---|
| 272 | \end_inset |
|---|
| 273 | |
|---|
| 274 | que devuelve una matriz de efectos para un vector de parámetros dados dentro |
|---|
| 275 | de un dominio convexo y cerrado |
|---|
| 276 | \begin_inset Formula $\Omega_{r}^{f}$ |
|---|
| 277 | \end_inset |
|---|
| 278 | |
|---|
| 279 | |
|---|
| 280 | \end_layout |
|---|
| 281 | |
|---|
| 282 | \begin_layout Standard |
|---|
| 283 | \begin_inset Formula \begin{equation} |
|---|
| 284 | \begin{array}{c} |
|---|
| 285 | F_{r}=f_{r}\left(\tau_{r}\right):\Omega_{r}^{f}\subseteq\mathbb{R}^{R_{r}}\rightarrow\mathbb{R}^{M\times h_{r}}\end{array}\end{equation} |
|---|
| 286 | |
|---|
| 287 | \end_inset |
|---|
| 288 | |
|---|
| 289 | |
|---|
| 290 | \end_layout |
|---|
| 291 | |
|---|
| 292 | \begin_layout Standard |
|---|
| 293 | Estos filtros tienen asociado un vector de parámetros lineales |
|---|
| 294 | \begin_inset Formula $\alpha_{r}$ |
|---|
| 295 | \end_inset |
|---|
| 296 | |
|---|
| 297 | que serán estimados como el de un input lineal una vez fijados los parámetros |
|---|
| 298 | no lineales |
|---|
| 299 | \begin_inset Formula $\tau_{r}$ |
|---|
| 300 | \end_inset |
|---|
| 301 | |
|---|
| 302 | . |
|---|
| 303 | \end_layout |
|---|
| 304 | |
|---|
| 305 | \begin_layout Standard |
|---|
| 306 | El filtro no lineal del output viene dado por una función real arbitraria |
|---|
| 307 | |
|---|
| 308 | \begin_inset Formula $f_{0}$ |
|---|
| 309 | \end_inset |
|---|
| 310 | |
|---|
| 311 | que devuelve un vector para un vector de parámetros dados dentro de un |
|---|
| 312 | dominio convexo y cerrado |
|---|
| 313 | \begin_inset Formula $\Omega_{0}^{f}$ |
|---|
| 314 | \end_inset |
|---|
| 315 | |
|---|
| 316 | que se restará al output original |
|---|
| 317 | \begin_inset Formula $Y$ |
|---|
| 318 | \end_inset |
|---|
| 319 | |
|---|
| 320 | |
|---|
| 321 | \end_layout |
|---|
| 322 | |
|---|
| 323 | \begin_layout Standard |
|---|
| 324 | \begin_inset Formula \begin{equation} |
|---|
| 325 | \begin{array}{c} |
|---|
| 326 | F_{0}=f_{0}\left(\tau_{0}\right):\Omega_{0}^{f}\times\mathbb{R}^{M}\subseteq\mathbb{R}^{R_{0}}\times\mathbb{R}^{M}\rightarrow\mathbb{R}^{M}\end{array}\end{equation} |
|---|
| 327 | |
|---|
| 328 | \end_inset |
|---|
| 329 | |
|---|
| 330 | |
|---|
| 331 | \end_layout |
|---|
| 332 | |
|---|
| 333 | \begin_layout Standard |
|---|
| 334 | Nótese que la función no lineal de filtro del input |
|---|
| 335 | \begin_inset Formula $f_{r}$ |
|---|
| 336 | \end_inset |
|---|
| 337 | |
|---|
| 338 | podrÃa hacerse cargo de los parámetros |
|---|
| 339 | \begin_inset Formula $\alpha_{r}$ |
|---|
| 340 | \end_inset |
|---|
| 341 | |
|---|
| 342 | y añadirse este efecto al filtro no lineal del output, por lo que en apariencia |
|---|
| 343 | no aportan nada dichos |
|---|
| 344 | \begin_inset Formula $\alpha_{r}$ |
|---|
| 345 | \end_inset |
|---|
| 346 | |
|---|
| 347 | y podrÃa definirse el modelo usando sólo el filtro del output sin pérdida |
|---|
| 348 | de generalidad. |
|---|
| 349 | La diferencia está en el método de cálculo de las simulaciones usado internamen |
|---|
| 350 | te. |
|---|
| 351 | El filtro del output tiene la ventaja de que es más rápido en ejecución, |
|---|
| 352 | especialmente si |
|---|
| 353 | \begin_inset Formula $X$ |
|---|
| 354 | \end_inset |
|---|
| 355 | |
|---|
| 356 | y |
|---|
| 357 | \begin_inset Formula $\Sigma$ |
|---|
| 358 | \end_inset |
|---|
| 359 | |
|---|
| 360 | son fijos o existe algún método rápido de descomposición para ambas, pues |
|---|
| 361 | en tal caso no es necesario recalcular las desde cero en cada simulación. |
|---|
| 362 | Sin embargo pueden dar problemas si alguno de los parámetros del filtro |
|---|
| 363 | no lineal tiene alta correlación con otros lineales o no, pues en ese caso |
|---|
| 364 | la cadena de Markov puede resultar demasiado autocorrelada y precisar de |
|---|
| 365 | longitudes mayores para hacer |
|---|
| 366 | \emph on |
|---|
| 367 | thinin |
|---|
| 368 | \emph default |
|---|
| 369 | . |
|---|
| 370 | Por esta razón se ofrecen ambas posibilidades de definición para aplicar |
|---|
| 371 | en cada caso la más adecuada, o cualquier mezcla de ambas. |
|---|
| 372 | \end_layout |
|---|
| 373 | |
|---|
| 374 | \begin_layout Section |
|---|
| 375 | Distribución condicionada de los parámetros no lineales |
|---|
| 376 | \end_layout |
|---|
| 377 | |
|---|
| 378 | \begin_layout Standard |
|---|
| 379 | Si se conocen todos los vectores de parámetros no lineales salvo un |
|---|
| 380 | \begin_inset Formula $\tau_{k}$ |
|---|
| 381 | \end_inset |
|---|
| 382 | |
|---|
| 383 | del input y los |
|---|
| 384 | \begin_inset Formula $\alpha,\beta,\Sigma$ |
|---|
| 385 | \end_inset |
|---|
| 386 | |
|---|
| 387 | y una descomposición simétrica |
|---|
| 388 | \begin_inset Formula $\Sigma=L\cdot L^{T}$ |
|---|
| 389 | \end_inset |
|---|
| 390 | |
|---|
| 391 | entonces, premultiplicando por |
|---|
| 392 | \begin_inset Formula $L^{-1}$ |
|---|
| 393 | \end_inset |
|---|
| 394 | |
|---|
| 395 | y llevando todo al lado derecho, salvo los residuos cuya distribución es |
|---|
| 396 | conocida, se tiene la siguiente igualdad |
|---|
| 397 | \begin_inset Formula \begin{equation} |
|---|
| 398 | \begin{array}{c} |
|---|
| 399 | \varepsilon=L^{-1}\cdot\triangle\cdot\left(Z_{k}-f_{k}\left(\tau_{k}\right)\cdot\alpha_{k}\right)\\ |
|---|
| 400 | Z_{k}=-F_{0}-X\cdot\beta-{\displaystyle \sum_{\begin{array}{c} |
|---|
| 401 | r=1\\ |
|---|
| 402 | r\neq k\end{array}}^{R}F_{r}\cdot\alpha_{r}}\\ |
|---|
| 403 | \varepsilon=-L^{-1}\cdot a\sim N\left(0,I_{m}\right)\end{array}\label{eq:non-lin-filter-intput}\end{equation} |
|---|
| 404 | |
|---|
| 405 | \end_inset |
|---|
| 406 | |
|---|
| 407 | |
|---|
| 408 | \end_layout |
|---|
| 409 | |
|---|
| 410 | \begin_layout Standard |
|---|
| 411 | Si fijamos ahora todos los componentes de |
|---|
| 412 | \begin_inset Formula $\tau_{k}=\left(\tau_{k,1},\ldots,\tau_{k,R_{k}}\right)$ |
|---|
| 413 | \end_inset |
|---|
| 414 | |
|---|
| 415 | salvo cierto |
|---|
| 416 | \begin_inset Formula $\tau_{k,i}\wedge i\in\left\{ 1,\ldots,R_{k}\right\} $ |
|---|
| 417 | \end_inset |
|---|
| 418 | |
|---|
| 419 | entonces es posible aplicar el método ARMS si se dispone de un método que |
|---|
| 420 | permita construir el dominio de |
|---|
| 421 | \begin_inset Formula $\tau_{k,i}$ |
|---|
| 422 | \end_inset |
|---|
| 423 | |
|---|
| 424 | condicionado por los |
|---|
| 425 | \begin_inset Formula $\left\{ \tau_{k,j}\right\} _{j\neq i}$ |
|---|
| 426 | \end_inset |
|---|
| 427 | |
|---|
| 428 | , para lo que es preciso disponer de dos funciones tales que dicho dominio |
|---|
| 429 | se exprese como el intervalo cerrado |
|---|
| 430 | \begin_inset Formula \begin{equation} |
|---|
| 431 | \begin{array}{c} |
|---|
| 432 | \omega_{k,i}^{f}\left(\tau_{k}\right)\leq\tau_{k,i}\leq\Omega_{k,i}^{f}\left(\tau_{k}\right)\end{array}\end{equation} |
|---|
| 433 | |
|---|
| 434 | \end_inset |
|---|
| 435 | |
|---|
| 436 | |
|---|
| 437 | \end_layout |
|---|
| 438 | |
|---|
| 439 | \begin_layout Standard |
|---|
| 440 | Nótese que al exigirse convexidad y cierre al dominio genérico |
|---|
| 441 | \begin_inset Formula $\Omega_{r}^{f}$ |
|---|
| 442 | \end_inset |
|---|
| 443 | |
|---|
| 444 | del vector |
|---|
| 445 | \begin_inset Formula $\tau_{k}$ |
|---|
| 446 | \end_inset |
|---|
| 447 | |
|---|
| 448 | , el dominio de cada componente es necesariamente un intervalo cerrado, |
|---|
| 449 | por ser la intersección de aquel con un hiperplano. |
|---|
| 450 | \end_layout |
|---|
| 451 | |
|---|
| 452 | \begin_layout Standard |
|---|
| 453 | Por el teorema de Bayes, el logaritmo de la densidad de |
|---|
| 454 | \begin_inset Formula $\tau_{k,i}$ |
|---|
| 455 | \end_inset |
|---|
| 456 | |
|---|
| 457 | condicionada al resto de parámetros es proporcional a la de los residuos |
|---|
| 458 | resultantes de aplicar la ecuación en diferencias para cada posible valor |
|---|
| 459 | de dicho parámetro, que tomando logaritmos es |
|---|
| 460 | \end_layout |
|---|
| 461 | |
|---|
| 462 | \begin_layout Standard |
|---|
| 463 | \begin_inset Formula \begin{equation} |
|---|
| 464 | \lg h\left(\tau_{k,i}\right)=Cte_{1}-\frac{m}{2}\lg2\pi-\frac{1}{2}\varepsilon^{T}\varepsilon=Cte-\frac{1}{2}\varepsilon^{T}\varepsilon\end{equation} |
|---|
| 465 | |
|---|
| 466 | \end_inset |
|---|
| 467 | |
|---|
| 468 | |
|---|
| 469 | \end_layout |
|---|
| 470 | |
|---|
| 471 | \begin_layout Standard |
|---|
| 472 | Si existe información a priori o de tipo latente sobre todos o algunos de |
|---|
| 473 | los parámetros no lineales, sólo es necesario poder escribirla en términos |
|---|
| 474 | de una distribución normal univariante |
|---|
| 475 | \begin_inset Formula \begin{equation} |
|---|
| 476 | \begin{array}{c} |
|---|
| 477 | \tau_{k,i}\sim N\left(\mu_{\tau_{k,i}},\sigma_{\tau_{k,i}}^{2}\right)\end{array}\end{equation} |
|---|
| 478 | |
|---|
| 479 | \end_inset |
|---|
| 480 | |
|---|
| 481 | En el caso de ser información a priori |
|---|
| 482 | \begin_inset Formula $\mu_{\tau_{k,i}}$ |
|---|
| 483 | \end_inset |
|---|
| 484 | |
|---|
| 485 | será constante y si es latente será el valor actual del correspondiente |
|---|
| 486 | hiperparámetro o combinación lineal de hiperparámetros. |
|---|
| 487 | Esto se traduce a una simple ampliación de los residuos estandarizados |
|---|
| 488 | |
|---|
| 489 | \begin_inset Formula \begin{equation} |
|---|
| 490 | \lg h\left(\tau_{k,i}\right)=Cte-\frac{1}{2}\varepsilon^{T}\varepsilon-\frac{1}{2}\left(\frac{\tau_{k,i}-\mu_{\tau_{k,i}}}{\sigma_{\tau_{k,i}}}\right)^{2}\end{equation} |
|---|
| 491 | |
|---|
| 492 | \end_inset |
|---|
| 493 | |
|---|
| 494 | |
|---|
| 495 | \end_layout |
|---|
| 496 | |
|---|
| 497 | \begin_layout Standard |
|---|
| 498 | Para el filtro no lineal del output el proceso de simulación es prácticamente |
|---|
| 499 | el mismo: si se conocen todos los vectores de parámetros no lineales salvo |
|---|
| 500 | el del output |
|---|
| 501 | \begin_inset Formula $\tau_{0}$ |
|---|
| 502 | \end_inset |
|---|
| 503 | |
|---|
| 504 | del input y los |
|---|
| 505 | \begin_inset Formula $\alpha,\beta,\Sigma$ |
|---|
| 506 | \end_inset |
|---|
| 507 | |
|---|
| 508 | y una descomposición simétrica |
|---|
| 509 | \begin_inset Formula $\Sigma=L\cdot L^{T}$ |
|---|
| 510 | \end_inset |
|---|
| 511 | |
|---|
| 512 | entonces, premultiplicando por |
|---|
| 513 | \begin_inset Formula $L^{-1}$ |
|---|
| 514 | \end_inset |
|---|
| 515 | |
|---|
| 516 | y llevando todo al lado derecho, salvo los residuos cuya distribución es |
|---|
| 517 | conocida, se tiene la siguiente igualdad |
|---|
| 518 | \begin_inset Formula \begin{equation} |
|---|
| 519 | \begin{array}{c} |
|---|
| 520 | \varepsilon=L^{-1}\cdot\triangle\cdot\left(Z_{0}-f_{0}\left(\tau_{0}\right)\right)\\ |
|---|
| 521 | Z_{0}=X\cdot\beta+{\displaystyle \sum_{\begin{array}{c} |
|---|
| 522 | r=1\end{array}}^{R}F_{r}\cdot\alpha_{r}}\\ |
|---|
| 523 | \varepsilon=L^{-1}\cdot a\sim N\left(0,I_{m}\right)\end{array}\label{eq:non-lin-filter-output}\end{equation} |
|---|
| 524 | |
|---|
| 525 | \end_inset |
|---|
| 526 | |
|---|
| 527 | |
|---|
| 528 | \end_layout |
|---|
| 529 | |
|---|
| 530 | \begin_layout Standard |
|---|
| 531 | A partir de ahà es exactamente igual que con el input por lo que no se explicita |
|---|
| 532 | n las fórmulas. |
|---|
| 533 | \end_layout |
|---|
| 534 | |
|---|
| 535 | \begin_layout Standard |
|---|
| 536 | Hay que hacer notar que en este esquema los resultados de los filtros no |
|---|
| 537 | lineales no pueden tener omitidos. |
|---|
| 538 | Si los datos originales a partir de los cuales se construye, y que sólo |
|---|
| 539 | el propio filtro conoce, tuviera omitidos, entonces el propio filtro deberÃa |
|---|
| 540 | encargarse de su simulación. |
|---|
| 541 | Una posible solución de carácter general serÃa que los valores desconocidos |
|---|
| 542 | fueran simplemente una variable más que se simula con ARMS igual que los |
|---|
| 543 | demás. |
|---|
| 544 | Eso serÃa muy sencillo de tratar pero probablemente no serÃa muy eficiente |
|---|
| 545 | si hay muchos omitidos. |
|---|
| 546 | \end_layout |
|---|
| 547 | |
|---|
| 548 | \begin_layout Section |
|---|
| 549 | Casos particulares |
|---|
| 550 | \end_layout |
|---|
| 551 | |
|---|
| 552 | \begin_layout Subsection |
|---|
| 553 | \begin_inset LatexCommand label |
|---|
| 554 | name "sub:Función-de-transferencia-no-lineal-deltas" |
|---|
| 555 | |
|---|
| 556 | \end_inset |
|---|
| 557 | |
|---|
| 558 | Función de transferencia no lineal (deltas) |
|---|
| 559 | \end_layout |
|---|
| 560 | |
|---|
| 561 | \begin_layout Standard |
|---|
| 562 | Sea el modelo de series temporales con función de transferencia no lineal |
|---|
| 563 | \end_layout |
|---|
| 564 | |
|---|
| 565 | \begin_layout Standard |
|---|
| 566 | \begin_inset Formula \begin{equation} |
|---|
| 567 | \begin{array}{c} |
|---|
| 568 | y_{t}=\frac{\omega\left(B\right)}{\delta\left(B\right)}x_{t}+a_{t}\\ |
|---|
| 569 | a\sim N\left(0,\Sigma\right)\\ |
|---|
| 570 | t=1\ldots m\end{array}\end{equation} |
|---|
| 571 | |
|---|
| 572 | \end_inset |
|---|
| 573 | |
|---|
| 574 | donde los polinomios implicados son de la forma |
|---|
| 575 | \end_layout |
|---|
| 576 | |
|---|
| 577 | \begin_layout Standard |
|---|
| 578 | \begin_inset Formula \begin{equation} |
|---|
| 579 | \begin{array}{c} |
|---|
| 580 | \omega\left(B\right)={\displaystyle \sum_{i=0}^{h}\omega_{i}B^{i}}\\ |
|---|
| 581 | \delta\left(B\right)=1-{\displaystyle \sum_{j=1}^{d}\delta_{j}B^{j}}\end{array}\end{equation} |
|---|
| 582 | |
|---|
| 583 | \end_inset |
|---|
| 584 | |
|---|
| 585 | siendo |
|---|
| 586 | \begin_inset Formula $\delta\left(B\right)$ |
|---|
| 587 | \end_inset |
|---|
| 588 | |
|---|
| 589 | estacionario, es decir, tal que sus raÃces están todas fuera del cÃrculo |
|---|
| 590 | unidad. |
|---|
| 591 | \end_layout |
|---|
| 592 | |
|---|
| 593 | \begin_layout Standard |
|---|
| 594 | Esto es expresable dentro de la clase de modelos descritos anteriormente |
|---|
| 595 | |
|---|
| 596 | \begin_inset Formula \begin{equation} |
|---|
| 597 | \begin{array}{c} |
|---|
| 598 | Y=f\left(\delta,z^{0},x^{0}\right)\cdot\omega+a\\ |
|---|
| 599 | a\sim N\left(0,\Sigma\right)\\ |
|---|
| 600 | Y,a\in\mathbb{R}^{m}\\ |
|---|
| 601 | F=f\left(\delta,z^{0},x^{0}\right)\in\mathbb{R}^{m\times h}\end{array}\end{equation} |
|---|
| 602 | |
|---|
| 603 | \end_inset |
|---|
| 604 | |
|---|
| 605 | donde la función de filtro no lineal se forma a partir del resultado de |
|---|
| 606 | la ecuación en diferencias |
|---|
| 607 | \begin_inset Formula \begin{equation} |
|---|
| 608 | \begin{array}{c} |
|---|
| 609 | z_{t}={\displaystyle \sum_{j=1}^{d}\delta_{j}z_{t-j}}+x_{t}\\ |
|---|
| 610 | F_{t,i}=z_{t-i}\forall i=1\ldots h\end{array}\end{equation} |
|---|
| 611 | |
|---|
| 612 | \end_inset |
|---|
| 613 | |
|---|
| 614 | |
|---|
| 615 | \end_layout |
|---|
| 616 | |
|---|
| 617 | \begin_layout Standard |
|---|
| 618 | Los valores inciales |
|---|
| 619 | \begin_inset Formula $x^{0}=\left(x_{1-h},\ldots,x_{0}\right)$ |
|---|
| 620 | \end_inset |
|---|
| 621 | |
|---|
| 622 | del input original |
|---|
| 623 | \begin_inset Formula $x_{t}$ |
|---|
| 624 | \end_inset |
|---|
| 625 | |
|---|
| 626 | pueden ser conocidos o no, en cuyo caso se incluirán como variables a simular, |
|---|
| 627 | lo mismo que si existen otros valores desconocidos en cualquier otro punto |
|---|
| 628 | de |
|---|
| 629 | \begin_inset Formula $x_{t}$ |
|---|
| 630 | \end_inset |
|---|
| 631 | |
|---|
| 632 | se deberÃan adjuntar con estos valores iniciales. |
|---|
| 633 | Los valores iniciales |
|---|
| 634 | \begin_inset Formula $z^{0}=\left(z_{1-k},\ldots,z_{0}\right)$ |
|---|
| 635 | \end_inset |
|---|
| 636 | |
|---|
| 637 | , con |
|---|
| 638 | \begin_inset Formula $k=\max\left(h,d\right)$ |
|---|
| 639 | \end_inset |
|---|
| 640 | |
|---|
| 641 | , son siempre desconocidos y deben ser simulados. |
|---|
| 642 | Lo más sencillo serÃa considerarlos todos ellos variables auxiliares no |
|---|
| 643 | lineales sin más y que sea el propio método ARMS el que los simule. |
|---|
| 644 | Para todos estos parámetros el dominio es siempre la recta real, aunque |
|---|
| 645 | es recomendable dar un intervalo lo más acotado que sea posible con la |
|---|
| 646 | información de que se disponga, asà como se debe tener en cuenta la información |
|---|
| 647 | a priori sobre los mismos. |
|---|
| 648 | \end_layout |
|---|
| 649 | |
|---|
| 650 | \begin_layout Standard |
|---|
| 651 | Para los parámetros |
|---|
| 652 | \begin_inset Formula $\delta$ |
|---|
| 653 | \end_inset |
|---|
| 654 | |
|---|
| 655 | rigen las mismas condiciones de estacionariedad descritas en |
|---|
| 656 | \begin_inset LatexCommand vref |
|---|
| 657 | reference "sub:Dominio-de-estacionariedad" |
|---|
| 658 | |
|---|
| 659 | \end_inset |
|---|
| 660 | |
|---|
| 661 | para los parámetros AR y MA por lo que es necesario imponer la misma restricció |
|---|
| 662 | n sobre el grado que no puede ser mayor que 2. |
|---|
| 663 | Si fuera preciso usar un grado mayor habrÃa que factorizar |
|---|
| 664 | \begin_inset Formula $\delta\left(B\right)$ |
|---|
| 665 | \end_inset |
|---|
| 666 | |
|---|
| 667 | de forma similar a la allà descrita, sin ninguna pérdida de generalidad. |
|---|
| 668 | \end_layout |
|---|
| 669 | |
|---|
| 670 | \begin_layout Subsection |
|---|
| 671 | Filtrado en términos originales |
|---|
| 672 | \end_layout |
|---|
| 673 | |
|---|
| 674 | \begin_layout Standard |
|---|
| 675 | Ocurre a veces que la mayor parte de los efectos que inciden sobre una serie |
|---|
| 676 | output ocurren bajo cierta transformación que produce además residuos más |
|---|
| 677 | homocedásticos que en términos originales. |
|---|
| 678 | Muy a menudo se trata de la transformación logarÃtmica, es decir, se tiene |
|---|
| 679 | una mayorÃa de efectos multiplicativos en términos originales, sin que |
|---|
| 680 | eso sea obstáculo para que pueda existir algún que otro efecto aditivo. |
|---|
| 681 | Este modelo de regresión no lineal se escribirÃa asà |
|---|
| 682 | \end_layout |
|---|
| 683 | |
|---|
| 684 | \begin_layout Standard |
|---|
| 685 | \begin_inset Formula \begin{equation} |
|---|
| 686 | \begin{array}{c} |
|---|
| 687 | Log\left(Y-X^{\alpha}\cdot\alpha\right)=X^{\beta}\cdot\beta+a\\ |
|---|
| 688 | a\sim N\left(0,\Sigma\right)\end{array}\end{equation} |
|---|
| 689 | |
|---|
| 690 | \end_inset |
|---|
| 691 | |
|---|
| 692 | |
|---|
| 693 | \end_layout |
|---|
| 694 | |
|---|
| 695 | \begin_layout Standard |
|---|
| 696 | Despejando la serie transformada |
|---|
| 697 | \end_layout |
|---|
| 698 | |
|---|
| 699 | \begin_layout Standard |
|---|
| 700 | \begin_inset Formula \begin{equation} |
|---|
| 701 | \begin{array}{c} |
|---|
| 702 | Log\left(Y\right)-Log\left(Y\right)+Log\left(Y-X^{\alpha}\cdot\alpha\right)=X^{\beta}\cdot\beta+a\\ |
|---|
| 703 | Log\left(Y\right)=Log\left(Y\right)-Log\left(Y-X^{\alpha}\cdot\alpha\right)+X^{\beta}\cdot\beta+a\end{array}\end{equation} |
|---|
| 704 | |
|---|
| 705 | \end_inset |
|---|
| 706 | |
|---|
| 707 | |
|---|
| 708 | \end_layout |
|---|
| 709 | |
|---|
| 710 | \begin_layout Standard |
|---|
| 711 | lo cual se puede escribir dentro de la clase expuesta mediante un filtro |
|---|
| 712 | no lineal de output |
|---|
| 713 | \end_layout |
|---|
| 714 | |
|---|
| 715 | \begin_layout Standard |
|---|
| 716 | \begin_inset Formula \begin{equation} |
|---|
| 717 | \begin{array}{c} |
|---|
| 718 | f_{0}\left(\alpha\right)=Log\left(Y\right)-Log\left(Y+X^{\alpha}\cdot\alpha\right)\end{array}\end{equation} |
|---|
| 719 | |
|---|
| 720 | \end_inset |
|---|
| 721 | |
|---|
| 722 | |
|---|
| 723 | \end_layout |
|---|
| 724 | |
|---|
| 725 | \begin_layout Subsection |
|---|
| 726 | Modelo probit |
|---|
| 727 | \end_layout |
|---|
| 728 | |
|---|
| 729 | \begin_layout Standard |
|---|
| 730 | Con una pequeña extensión en la definición de los filtros, que permita sustituir |
|---|
| 731 | las funciones |
|---|
| 732 | \begin_inset Formula $f_{0}$ |
|---|
| 733 | \end_inset |
|---|
| 734 | |
|---|
| 735 | por generadores de variables aleatorias, con o sin parámetros, es posible |
|---|
| 736 | simular modelos cualitativos como el probit. |
|---|
| 737 | En estos modelos el output original es una variable cualitativa booleana, |
|---|
| 738 | es decir, |
|---|
| 739 | \begin_inset Formula $Y_{t}\in\left\{ 0,1\right\} $ |
|---|
| 740 | \end_inset |
|---|
| 741 | |
|---|
| 742 | . |
|---|
| 743 | Para ello se definirá como filtro del output el generador aleatorio condicionad |
|---|
| 744 | o al bloque lineal |
|---|
| 745 | \begin_inset Formula $\beta$ |
|---|
| 746 | \end_inset |
|---|
| 747 | |
|---|
| 748 | |
|---|
| 749 | \end_layout |
|---|
| 750 | |
|---|
| 751 | \begin_layout Standard |
|---|
| 752 | \begin_inset Formula \begin{equation} |
|---|
| 753 | f_{0,t}\leftarrow\left\{ \begin{array}{cc} |
|---|
| 754 | Y_{t}-TN\left(X\cdot\beta,1,f_{0,t}\leq X\cdot\beta\right) & \forall Y_{t}=0\\ |
|---|
| 755 | Y_{t}-TN\left(X\cdot\beta,1,X\cdot\beta\leq f_{0,t}\right) & \forall Y_{t}=1\end{array}\right.\end{equation} |
|---|
| 756 | |
|---|
| 757 | \end_inset |
|---|
| 758 | |
|---|
| 759 | |
|---|
| 760 | \end_layout |
|---|
| 761 | |
|---|
| 762 | \begin_layout Standard |
|---|
| 763 | Una vez generado este filtro de output se tiene de nuevo un modelo de regresión |
|---|
| 764 | lineal perfectamente asumible por BSR. |
|---|
| 765 | \end_layout |
|---|
| 766 | |
|---|
| 767 | \begin_layout Standard |
|---|
| 768 | \begin_inset Formula \begin{equation} |
|---|
| 769 | \begin{array}{c} |
|---|
| 770 | Y=f_{0}+X\cdot\beta+\epsilon\\ |
|---|
| 771 | \epsilon\sim N\left(0,I\right)\end{array}\end{equation} |
|---|
| 772 | |
|---|
| 773 | \end_inset |
|---|
| 774 | |
|---|
| 775 | |
|---|
| 776 | \end_layout |
|---|
| 777 | |
|---|
| 778 | \begin_layout Standard |
|---|
| 779 | En este caso no hay ningún parámetro que simular, si no que se simula directamen |
|---|
| 780 | te el output, por lo que evidentemente no serÃa necesario incluir los métodos |
|---|
| 781 | de obtención de intervalos. |
|---|
| 782 | Matemáticamente no tiene sentido decir que |
|---|
| 783 | \begin_inset Formula $f_{0}$ |
|---|
| 784 | \end_inset |
|---|
| 785 | |
|---|
| 786 | sea una función, pues no depende de ningún parámetro, pero no habrÃa ningún |
|---|
| 787 | problema en pensar que existe un parámetro |
|---|
| 788 | \begin_inset Formula $\tau_{0}$ |
|---|
| 789 | \end_inset |
|---|
| 790 | |
|---|
| 791 | irrelevante que luego nos abstenemos de simular. |
|---|
| 792 | Informáticamente se tratará sin ningún problema como un caso particular |
|---|
| 793 | de dimensión del vector de parámetros igual 0. |
|---|
| 794 | \end_layout |
|---|
| 795 | |
|---|
| 796 | \end_body |
|---|
| 797 | \end_document |
|---|