How to remove seasonal component from a time series using filter??
Mostrar comentarios más antiguos
How to remove seasonal component from a time series using filter??
1 comentario
Gracy
el 7 de Sept. de 2016
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
Respuestas (2)
Roger Wohlwend
el 30 de Mayo de 2014
0 votos
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 comentarios
Chris Martin
el 30 de Mayo de 2014
Roger Wohlwend
el 30 de Mayo de 2014
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
el 7 de Sept. de 2016
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
el 7 de Sept. de 2016
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
el 20 de Feb. de 2018
@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
el 30 de Mayo de 2014
0 votos
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 comentarios
Chris Martin
el 3 de Jun. de 2014
Chad Greene
el 3 de Jun. de 2014
Getting specific answer requires asking a specific question. Be clear about what data you have and what result you are seeking.
Categorías
Más información sobre Genomics and Next Generation Sequencing en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!