Season-class: An S4 class to specify a seasonal effect in a DLM prior.

Season-classR Documentation

An S4 class to specify a seasonal effect in a DLM prior.

Description

A prior specified using DLM can include a seasonal effect. The innovation term for the seasonal effect has a normal distribution, the standard deviation for which has a truncated half-t distribution.

Slots

nSeason

Number of seasons.

nuSeason

Degrees of freedom of truncated half-t prior for standard deviation.

ASeason

Scale of truncated half-t prior for standard deviation.

omegaSeasonMax

Maximum value of truncated half-t prior for standard deviation.

Warning

In normal usage, it should not be necessary to access, or even know about, the slots of a Season object. The slots are not part of the API of the package, and may change in future.

See Also

Objects of class Season are created using function Season.


StatisticsNZ/demest documentation built on Nov. 2, 2023, 7:56 p.m.