Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Separate seasonality, cycle and trend

    How can I separate the three components of a variable?

  • #2
    See -ucm-

    Unobserved-components models (UCMs) decompose a time series into trend, seasonal, cyclical, and idiosyncratic components and allow for exogenous variables.

    Comment


    • #3
      Thank you Scott! Do you know the code?

      Comment


      • #4
        I would read the helpfile and the manual entry. How one decomposes the series into components will depend on your data. Keep in mind there are a number of different types of trend: random trends, smooth trends, local trends, deterministic trends, or stochastic trends.
        Code:
        help ucm


        Comment

        Working...
        X