close
Warning:
Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Jul 2, 2010, 11:34:17 AM (15 years ago)
- Author:
-
Pedro Gea
- Comment:
-
--
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v3
|
v4
|
|
56 | 56 | del modelo ha de acabar en un número entero (que es el que se iterará) precedido por un '.'. |
57 | 57 | |
| 58 | == Creación de submodelos == |
| 59 | |
| 60 | Como se adelantaba la estructura que en MMS_0.5 recogían los outputs {{{MMS.Output}}}, ahora está representada |
| 61 | por los submodelos {{{MMS::@Submodel}}}. |
| 62 | |
| 63 | === Submodelos ARIMAX === |
| 64 | |
| 65 | Un submodelo de tipo ARIMAX se crea de manera semejante a en MMS_0.5. |
| 66 | Prestemos un poco más de atención a sus argumentos: |
| 67 | |
| 68 | '''Código en MMS_0.5''' |
| 69 | |
| 70 | {{{ |
| 71 | Real model::CreateOutputARIMA([[ |
| 72 | Text _.name = <nombre>; |
| 73 | Text _.description = "..."; |
| 74 | Text _.variableName = <variable>; |
| 75 | Date _.modelBegin = ...; |
| 76 | Date _.modelEnd = ...; |
| 77 | @MMS.Transformation _.transformation = BoxCox(0,0); |
| 78 | Text _.labelARIMA = "P<period>DIF<difference>AR<ar>MA<ma>" |
| 79 | ]]) |
| 80 | }}} |
| 81 | |
| 82 | |
| 83 | '''Código en MMS_0.6''' |
| 84 | |
| 85 | {{{ |
| 86 | MMS::@Submodel submodel = model::CreateSubmodel([[ |
| 87 | Text _.name = <nombre>; |
| 88 | Text _.description = "..."; |
| 89 | NameBlock _.output = [[ |
| 90 | Text _.name = ...; |
| 91 | Text _.variableIdentifier = <variable>; |
| 92 | MMS::@Transformation _.transformation = MMS::@Transformation.BoxCox::Default(0,0) |
| 93 | ]]; |
| 94 | Date _.begin = y1998m01d01; |
| 95 | Date _.end = y2009m05d01; |
| 96 | NameBlock _.noise = [[ |
| 97 | Text _.type = "ARIMA"; |
| 98 | Text _.arimaLabel = "P1_12DIF0_1AR1_0MA0_12"; |
| 99 | Real _.sigma = 1 // opcional, valor inicial de la sigma muestreada |
| 100 | ]] |
| 101 | }}} |
| 102 | |
| 103 | Véase el apartado de [wiki:upgrade/transformations transformaciones]. |
| 104 | |
| 105 | == Las m-variables == |