How to remove seasonal component from a time series using filter??

How to remove seasonal component from a time series using filter??

1 件のコメント

Gracy
Gracy 2016 年 9 月 7 日
In https://in.mathworks.com/help/econ/seasonal-adjustment.html?s_tid=answers_rc2-1_p4 stable seasonal filter what values the Y axis represent in Figure "stable seasonal filter" Before step 5

サインインしてコメントする。

回答 (2 件)

Roger Wohlwend
Roger Wohlwend 2014 年 5 月 30 日

0 投票

There's an example in the MATLAB documentation that explains how to do it. Just search for "Seasonal Adjustment Using a Stable Seasonal Filter".

5 件のコメント

Chris Martin
Chris Martin 2014 年 5 月 30 日
I looked and there is something called 13 term moving average ,what is that?? kidly help
Roger Wohlwend
Roger Wohlwend 2014 年 5 月 30 日
A 13 term moving average is just the average over 13 months. The Matlab example only works for monthly data. At each month t you calculate the average as (Value(t-6) + Value(t-5) + ... + Value(t) + Value(t+1) + ... + Value(t+5) + Value(t+6))/13. It is an estimation of the trend.
HJ
HJ 2016 年 9 月 7 日
In the matlab documentation it is also given that we can apply henderson filter....how can we select the trend/noise ratio (I/C) for our data in henderson filter
Gracy
Gracy 2016 年 9 月 7 日
I saw the documentation in which (below mention) 1) the use of unstable filter with 3 by 3 or 3 by 5 is used. what aspect will decide whether to use 3by 3 filter or 3by5. 2) How can we estimate and apply the Trend /noise (I/C) in henderson filter 3) From where these Asymmetric weights for end of series of Henderson filters are coming???
Can somebody help me to explain. I shall be very thankful to you. https://in.mathworks.com/help/econ/seasonal-adjustment-using-snxd7m-seasonal-filters.html?s_tid=answers_rc2-2_p5
Robbie Andrew
Robbie Andrew 2018 年 2 月 20 日
@Gracy, quite a delayed response, but I've just looked at this myself and worked out how to generate the asymmetric filter based on the Henderson filter. (Somewhat clumsy) code here: http://folk.uio.no/roberan/public/matlab/asymMusgraveFilter.m

サインインしてコメントする。

Chad Greene
Chad Greene 2014 年 5 月 30 日

0 投票

Here's a function that offers a slightly clunky, but common way of doing it. Similarly, this may help remove monthly averages or daily averages.

2 件のコメント

Chris Martin
Chris Martin 2014 年 6 月 3 日
how to define 't'
Chad Greene
Chad Greene 2014 年 6 月 3 日
Getting specific answer requires asking a specific question. Be clear about what data you have and what result you are seeking.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeGenomics and Next Generation Sequencing についてさらに検索

質問済み:

2014 年 5 月 29 日

コメント済み:

2018 年 2 月 20 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by