forked from annasmyk/JD_Quarto_Book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathT-GUI-SA-Modelling-Features.qmd
199 lines (99 loc) · 10.3 KB
/
T-GUI-SA-Modelling-Features.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
# GUI: SA and Modelling Features {.unnumbered #t-gui-sa}
## In this chapter
This chapter covers specific Seasonal Adjustment and Modelling features. Modelling refers to reg-Arima or Tramo when used stand alone and not as the first (pre-adjustment) step in seasonal adjustment.
Note that the menu and window structure as well as options and results are almost identical in both cases.
Additional chapters related to GUI features, provide information on:
- [Overview](#t-gui-overview)
- [Data visualization and generic time series tools](#t-GUI-tstools)
- [Output: series, parameters and diagnostics](#t-gui-output)
Currently, this chapter is widely incomplete, additional content will be uploaded in the coming weeks.
## How to create a Workspace?
When you open a new session of the GUI JDemetra, a new workspace called *Workspace_1* is created.

To create a Workspace:
1. Click on the [[File]{.button}](#file-menus) button
2. Then, click on [New Workspace]{.button}
A new Workspace called *Workspace_2* is created.

## Workspace Window
The workspace window displays the characteristics of a workspace but gives also access to other peripheric routines, the results of which won't be stored in a workspace (as data structure)
Content of *Workspace* window, divided into three sections:
- [Modelling](#modelling-window) (contains the default and user-defined specifications for modelling; and the output from the modelling process)
- [Seasonal adjustment](#sa-window) (contains the default and user-defined specifications for seasonal adjustment and the output from the seasonal adjustment process),
- Utilities ([calendars](#usr-def-cal) and [user defined variables](#usr-def-var)).
::: {.content-visible when-format="html"}
You can click on the image in the area that interests you:
<img src="All_images/A_Ref8.png" usemap="#ws_map">
<map name="ws_map">
<area alt="modelling" title="Modeling" href="#modelling-window" coords="0,50,554,206 shape="rect">
<area alt="sa" title="Seasonal adjustment" href="#sa-window" coords="0,206,554,434" shape="rect">
<area alt="utilities" title="Utilities" href="A-calendar-correction.html#usr-def-cal" coords="0,434,554,513" shape="rect">
</map>
<script> initializeAndAdjust("ws_map") </script>
::: {.image-map-caption}
**The *Workspace* window**
:::
:::
::: {.content-visible when-format="pdf"}

:::
### Modelling {#modelling-window}
In the modelling section, you can create documents based on the reg-Arima or Tramo only specification (which are the same as the ones used for the pre-treatment phase of seasonal adjustment with X13-ARIMA (Reg-Arima) and TRAMO-SEATS (Tramo) and thus described in the SA chapter).
You can also use the extended airline algorithm with the plugin jdplus-highfreq-desktop-plugin to do the pre-treatment of high frequency data.
This section is divided into two parts:
- [Specifications](../reference-manual/modelling-specifications.html), which presents parameters of the modelling procedure.
- [Output](../reference-manual/output-modelling.html), which details a typical output produced by the modelling procedure.
The specifications and output of the modelling procedure are displayed in the [*Workspace* window](#workspace-window).

### Seasonal adjustment {#sa-window}
This window allows to set up and launch a [seasonal adjustment process](#sa-overview).
Some plugins give you additionnal features:
- jdplus-highfreq-desktop-plugin give you access to the extended airline algorithm
- jdplus-x12plus-desktop give you access to the x12plus algorithm
- jdplus-sts-desktop and jdplus-stl-desktop give you access to the stlplus and mstlplus algorithm
Also the plugins
This section is divided into two parts:
* [Specifications](#pre-pro-spec), which presents parameters of the seasonal adjustment procedure.
* [Output](#results-panel), which explains a typical output produced by the seasonal adjustment procedure.
The specifications and output for the seasonal adjustment procedure are displayed in the *Workspace* window under the *Seasonal adjustment* item.

### Results panel {#results-panel}
The blank zone in the figure above (on the right of the view) is the location where JDemetra+ displays various windows. More than one window can be displayed at the same time. Windows can overlap with each other with the foremost window being the one in focus or active. The active window has a darkened title bar. [The windows in the results panel can be arranged in many different ways](#window-menu), depending on the user's needs. The example below shows one of the possible views of this panel. The results of the user's analysis are displayed in an accompanying window. The picture below shows two panels -- a window containing seasonal adjustment results (upper panel) and another one containing an autoregressive spectrum (lower panel).

## Statistical Methods Menu {#statistical-methods}
- [Anomaly Detection](#anomaly-detection) -- allows for a purely automatic identification of regression effects;

- [Modelling](#modelling) -- enables time series modelling using the TRAMO and RegARIMA models;

- [Seasonal adjustment](#seasonal-adjustment) -- intended for the seasonal adjustment of a time series with the TRAMO-SEATS and X-13ARIMA-SEATS methods.

- [Tools](#seasonal-adjustment) -- provides access to:
- [seasonality tests](#t-GUI-tstools-tests)
- and to [Direct-Indirect Seasonal adjustment tools](#direct-indirect)
## Direct-Indirect method {#direct-indirect}
### Context
Economic time series are often computed and reported according to a certain classification or a breakdown.
For example, in National Accounts total consumption expenditures are a sum of individual consumption expenditures and General Government & NPISHs consumption expenditures. Therefore, the seasonally adjusted aggregates can be computed either by aggregating the seasonally adjusted components (indirect adjustment) or adjusting the aggregate and the components independently (direct adjustment). The point is that these two strategies result in different seasonally adjusted aggregates. As neither theoretical nor empirical evidence uniformly favours one approach over the other, the choice of the seasonal adjustment strategy concerning aggregated series depends on the user. Guidance in this field is given in the Eurostat guidelines on seasonal adjustment @guidelines2015.
### In GUI v2
JDemetra+ offers a *Direct--Indirect Seasonal Adjustment* functionality that facilitates the comparison of the results from these two strategies, which is launched from the main menu.
::: {.callout-caution title="Only in v2"}
This Direct-Indirect method is not implemented in v3.
:::

To start the analysis drag and drop time series to the top-left panel. The panel on the right presents the sum of selected series.

By going to the main menu and clicking on [Window]{.button} → [Properties]{.button}, one can specify benchmarking options for direct-indirect comparison.
Be aware that the properties window displays the properties of an active item. Therefore, first click on the time series graph in the picture below and then activate the *Properties* window.

By default, the [pre-defined TRAMO-SEATS specification](#a-pre-t-def-spec) is used (RSAfull) for seasonal adjustment of a dataset. To change it, click on the button marked in the picture below. This will provide you with the alternative specifications. Here the user defined specification named *My spec* is chosen.

Next, run the process by clicking the button with the green arrow.

The bottom panel presents the detailed results. The seasonality test node presents the outcome of the [seasonality tests](#t-GUI-tstools-tests) performed for the aggregated series adjusted directly (*Direct sa*) and indirectly (*Indirect sa*). The reason for presenting these tests here is that the presence of residual seasonality and calendar effects should be monitored, especially in the indirectly adjusted series (see @guidelines2015).
It might happen that the seasonality is successfully removed from the components but it is still present in the aggregated series.

The *Differences* node presents selected different results between the direct and the indirect seasonal adjustment approaches. The *Statistics* section shows basic statistics (average, standard deviation, minimum and maximum) for the relative differences (%) between the direct and the indirect SA series. *Chart* contains the graph of the differences, while *Table* includes the actual values. The *Periodogram* section presents graphs for two spectral estimators -- [the periodogram](#m-spectral-analysis-m-spectrum-periodogram) and [the auto-regressive spectrum](#m-spectral-analysis-m-spectrum-ar-est).

The *Details* node include the basic statistics for the relative differences between the benchmarked and original series as well as the actual time series adjusted directly (*Sa series*) and indirectly (*Benchmarked Sa series*).

[^1]: Description based on @guidelines2015.