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

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

1 Comment

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

Sign in to comment.

Answers (2)

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 Comments

I looked and there is something called 13 term moving average ,what is that?? kidly help
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.
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
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
@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

Sign in to comment.

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 Comments

Getting specific answer requires asking a specific question. Be clear about what data you have and what result you are seeking.

Sign in to comment.

Categories

Find more on Genomics and Next Generation Sequencing in Help Center and File Exchange

Asked:

on 29 May 2014

Commented:

on 20 Feb 2018

Community Treasure Hunt

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

Start Hunting!