UCM Procedure

Basic Structural Model

The basic structural model (BSM) is obtained by adding a seasonal component, gamma Subscript t, to the local level model. In order to economize on the space, the state space formulation of a BSM with a relatively short season length, season length = 4 (quarterly seasonality), is considered here. The pattern for longer season lengths such as 12 (monthly) and 52 (weekly) is easy to see.

Let us first consider the dummy form of seasonality. In this case the state and state noise vectors are alpha Subscript t Baseline equals left bracket epsilon Subscript t Baseline mu Subscript t Baseline beta Subscript t Baseline gamma Subscript 1 comma t Baseline gamma Subscript 2 comma t Baseline gamma Subscript 3 comma t Baseline right bracket Superscript prime and zeta Subscript t Baseline equals left bracket epsilon Subscript t Baseline eta Subscript t Baseline xi Subscript t Baseline omega Subscript t Baseline 0 0 right bracket Superscript prime, respectively. The first three elements of the state vector are the irregular, level, and slope components, respectively. The remaining elements, gamma Subscript i comma t, are lagged versions of the seasonal component gamma Subscript t. gamma Subscript 1 comma t corresponds to lag zero—that is, the same as gamma Subscript t, gamma Subscript 2 comma t to lag 1 and gamma Subscript 3 comma t to lag 2. The system matrices are

upper Z equals Start 1 By 6 Matrix 1st Row 1st Column 1 2nd Column 1 3rd Column 0 4th Column 1 5th Column 0 6th Column 0 EndMatrix comma upper T equals Start 6 By 6 Matrix 1st Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column 0 5th Column 0 6th Column 0 2nd Row 1st Column 0 2nd Column 1 3rd Column 1 4th Column 0 5th Column 0 6th Column 0 3rd Row 1st Column 0 2nd Column 0 3rd Column 1 4th Column 0 5th Column 0 6th Column 0 4th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column negative 1 5th Column negative 1 6th Column negative 1 5th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column 1 5th Column 0 6th Column 0 6th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column 0 5th Column 1 6th Column 0 EndMatrix

and upper Q equals normal upper D normal i normal a normal g left bracket sigma Subscript epsilon Superscript 2 Baseline comma sigma Subscript eta Superscript 2 Baseline comma sigma Subscript xi Superscript 2 Baseline comma sigma Subscript omega Superscript 2 Baseline comma 0 comma 0 right bracket. The distribution of the initial state vector alpha 1 is diffuse, with upper P Subscript asterisk Baseline equals normal upper D normal i normal a normal g left bracket sigma Subscript epsilon Superscript 2 Baseline comma 0 comma 0 comma 0 comma 0 comma 0 right bracket and upper P Subscript normal infinity Baseline equals normal upper D normal i normal a normal g left bracket 0 comma 1 comma 1 comma 1 comma 1 comma 1 right bracket.

In the case of the trigonometric type of seasonality, alpha Subscript t Baseline equals left bracket epsilon Subscript t Baseline mu Subscript t Baseline beta Subscript t Baseline gamma Subscript 1 comma t Baseline gamma Subscript 1 comma t Superscript asterisk Baseline gamma Subscript 2 comma t Baseline right bracket Superscript prime and zeta Subscript t Baseline equals left bracket epsilon Subscript t Baseline eta Subscript t Baseline xi Subscript t Baseline omega Subscript 1 comma t Baseline omega Subscript 1 comma t Superscript asterisk Baseline omega Subscript 2 comma t Baseline right bracket Superscript prime. The disturbance sequences, omega Subscript j comma t Baseline comma 1 less than or equals j less than or equals 2, and omega Subscript 1 comma t Superscript asterisk, are independent, zero-mean, Gaussian sequences with variance sigma Subscript omega Superscript 2. The system matrices are

upper Z equals Start 1 By 6 Matrix 1st Row 1st Column 1 2nd Column 1 3rd Column 0 4th Column 1 5th Column 0 6th Column 1 EndMatrix comma upper T equals Start 6 By 6 Matrix 1st Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column 0 5th Column 0 6th Column 0 2nd Row 1st Column 0 2nd Column 1 3rd Column 1 4th Column 0 5th Column 0 6th Column 0 3rd Row 1st Column 0 2nd Column 0 3rd Column 1 4th Column 0 5th Column 0 6th Column 0 4th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column cosine lamda 1 5th Column sine lamda 1 6th Column 0 5th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column minus sine lamda 1 5th Column cosine lamda 1 6th Column 0 6th Row 1st Column 0 2nd Column 0 3rd Column 0 4th Column 0 5th Column 0 6th Column cosine lamda 2 EndMatrix

and upper Q equals normal upper D normal i normal a normal g left bracket sigma Subscript epsilon Superscript 2 Baseline comma sigma Subscript eta Superscript 2 Baseline comma sigma Subscript xi Superscript 2 Baseline comma sigma Subscript omega Superscript 2 Baseline comma sigma Subscript omega Superscript 2 Baseline comma sigma Subscript omega Superscript 2 Baseline right bracket. Here lamda Subscript j Baseline equals left parenthesis 2 pi j right parenthesis divided by 4. The distribution of the initial state vector alpha 1 is diffuse, with upper P Subscript asterisk Baseline equals normal upper D normal i normal a normal g left bracket sigma Subscript epsilon Superscript 2 Baseline comma 0 comma 0 comma 0 comma 0 comma 0 right bracket and upper P Subscript normal infinity Baseline equals normal upper D normal i normal a normal g left bracket 0 comma 1 comma 1 comma 1 comma 1 comma 1 right bracket. The parameter vector in both the cases is theta equals left parenthesis sigma Subscript epsilon Superscript 2 Baseline comma sigma Subscript eta Superscript 2 Baseline comma sigma Subscript xi Superscript 2 Baseline comma sigma Subscript omega Superscript 2 Baseline right parenthesis.

Last updated: July 09, 2026