Using R to Teach Seasonal Adjustment
Autor(a) principal: | |
---|---|
Data de Publicação: | 2016 |
Outros Autores: | |
Tipo de documento: | Artigo de conferência |
Idioma: | eng |
Título da fonte: | Repositório Institucional do FGV (FGV Repositório Digital) |
Texto Completo: | http://hdl.handle.net/10438/18173 |
Resumo: | This article shows, using R software, how to seasonally adjust a time series using the X-13-ARIMA-SEATS program and the seasonal package developed by Christoph Sax. In addition to presenting step-by-step seasonal adjustment, the article also explores how to analyze the program output and how to forecast the original and seasonally adjusted time series. A case study was proposed using the Brazilian industrial production. It was verified that the effect of Carnival, Easter and working days improved the seasonal adjustment when treated by the model. |
id |
FGV_01adbd5c9f61828bd39a96613e017ca8 |
---|---|
oai_identifier_str |
oai:repositorio.fgv.br:10438/18173 |
network_acronym_str |
FGV |
network_name_str |
Repositório Institucional do FGV (FGV Repositório Digital) |
repository_id_str |
3974 |
spelling |
Ferreira, Pedro CostaMattos, Daiane Marcolino deInstitutos::IBREDemais unidades::RPCA2017-04-11T18:08:44Z2017-04-11T18:08:44Z2016http://hdl.handle.net/10438/18173This article shows, using R software, how to seasonally adjust a time series using the X-13-ARIMA-SEATS program and the seasonal package developed by Christoph Sax. In addition to presenting step-by-step seasonal adjustment, the article also explores how to analyze the program output and how to forecast the original and seasonally adjusted time series. A case study was proposed using the Brazilian industrial production. It was verified that the effect of Carnival, Easter and working days improved the seasonal adjustment when treated by the model.engIBRECadernos do IME – Série EstatísticaSeasonal AdjustmentR softwareR studioTecnologiaR (Linguagem de programação de computador)Using R to Teach Seasonal Adjustmentinfo:eu-repo/semantics/publishedVersioninfo:eu-repo/semantics/conferenceObjectreponame:Repositório Institucional do FGV (FGV Repositório Digital)instname:Fundação Getulio Vargas (FGV)instacron:FGVinfo:eu-repo/semantics/openAccessFortalecimento da pesquisa aplicada utilizando o software R e criação de um pacote estatístico para o R com as séries temporais produzidas pela FGVProjetos de Pesquisa AplicadaTEXTUsing_R_to_Teach_Seasonal_Adjustment.pdf.txtUsing_R_to_Teach_Seasonal_Adjustment.pdf.txtExtracted texttext/plain31154https://repositorio.fgv.br/bitstreams/73d4ee30-fde8-44df-a6c3-be282e0da530/download44adfe2781c0e4a05af697864b883dd9MD55ORIGINALUsing_R_to_Teach_Seasonal_Adjustment.pdfUsing_R_to_Teach_Seasonal_Adjustment.pdfapplication/pdf569510https://repositorio.fgv.br/bitstreams/b71a52b8-c9ba-4cb7-bea5-f6db1e518f4e/download07d0d951aacf5a09e61752f354c39ee6MD51LICENSElicense.txtlicense.txttext/plain; charset=utf-84707https://repositorio.fgv.br/bitstreams/99cff6f1-6fc8-4947-aabf-7b92399ea2cf/downloaddfb340242cced38a6cca06c627998fa1MD52THUMBNAILUsing_R_to_Teach_Seasonal_Adjustment.pdf.jpgUsing_R_to_Teach_Seasonal_Adjustment.pdf.jpgGenerated Thumbnailimage/jpeg3932https://repositorio.fgv.br/bitstreams/7affffdd-adb2-42f9-90ba-0457073272a4/downloadafa728886188659d058827d70b79b9e6MD5610438/181732023-11-26 14:45:51.578open.accessoai:repositorio.fgv.br:10438/18173https://repositorio.fgv.brRepositório InstitucionalPRIhttp://bibliotecadigital.fgv.br/dspace-oai/requestopendoar:39742023-11-26T14:45:51Repositório Institucional do FGV (FGV Repositório Digital) - Fundação Getulio Vargas (FGV)falseVEVSTU9TIExJQ0VOQ0lBTUVOVE8gUEFSQSBBUlFVSVZBTUVOVE8sIFJFUFJPRFXDh8ODTyBFIERJVlVMR0HDh8ODTwpQw5pCTElDQSBERSBDT05URcOaRE8gw4AgQklCTElPVEVDQSBWSVJUVUFMIEZHViAodmVyc8OjbyAxLjIpCgoxLiBWb2PDqiwgdXN1w6FyaW8tZGVwb3NpdGFudGUgZGEgQmlibGlvdGVjYSBWaXJ0dWFsIEZHViwgYXNzZWd1cmEsIG5vCnByZXNlbnRlIGF0bywgcXVlIMOpIHRpdHVsYXIgZG9zIGRpcmVpdG9zIGF1dG9yYWlzIHBhdHJpbW9uaWFpcyBlL291CmRpcmVpdG9zIGNvbmV4b3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7zDqm5jaWFzIG5lbGUKcHJldmlzdGFzLCBzdWplaXRhbmRvLXNlIG8gc2lnbmF0w6FyaW8gYSBzYW7Dp8O1ZXMgY2l2aXMgZSBjcmltaW5haXMgY2Fzbwpuw6NvIHNlamEgdGl0dWxhciBkb3MgZGlyZWl0b3MgYXV0b3JhaXMgcGF0cmltb25pYWlzIGUvb3UgY29uZXhvcwphcGxpY8OhdmVpcyDDoCBPYnJhIGRlcG9zaXRhZGEgZHVyYW50ZSBlc3RlIHByb2Nlc3NvLCBvdSBjYXNvIG7Do28gdGVuaGEKb2J0aWRvIHByw6l2aWEgZSBleHByZXNzYSBhdXRvcml6YcOnw6NvIGRvIHRpdHVsYXIgcGFyYSBvIGRlcMOzc2l0byBlCnRvZG9zIG9zIHVzb3MgZGEgT2JyYSBlbnZvbHZpZG9zLgoKClBhcmEgYSBzb2x1w6fDo28gZGUgcXVhbHF1ZXIgZMO6dmlkYSBxdWFudG8gYW9zIHRlcm1vcyBkZSBsaWNlbmNpYW1lbnRvIGUKbyBwcm9jZXNzbyBkZSBzdWJtaXNzw6NvLCBjbGlxdWUgbm8gbGluayAiRmFsZSBjb25vc2NvIi4K |
dc.title.eng.fl_str_mv |
Using R to Teach Seasonal Adjustment |
title |
Using R to Teach Seasonal Adjustment |
spellingShingle |
Using R to Teach Seasonal Adjustment Ferreira, Pedro Costa Seasonal Adjustment R software R studio Tecnologia R (Linguagem de programação de computador) |
title_short |
Using R to Teach Seasonal Adjustment |
title_full |
Using R to Teach Seasonal Adjustment |
title_fullStr |
Using R to Teach Seasonal Adjustment |
title_full_unstemmed |
Using R to Teach Seasonal Adjustment |
title_sort |
Using R to Teach Seasonal Adjustment |
author |
Ferreira, Pedro Costa |
author_facet |
Ferreira, Pedro Costa Mattos, Daiane Marcolino de |
author_role |
author |
author2 |
Mattos, Daiane Marcolino de |
author2_role |
author |
dc.contributor.unidadefgv.por.fl_str_mv |
Institutos::IBRE Demais unidades::RPCA |
dc.contributor.author.fl_str_mv |
Ferreira, Pedro Costa Mattos, Daiane Marcolino de |
dc.subject.eng.fl_str_mv |
Seasonal Adjustment R software R studio |
topic |
Seasonal Adjustment R software R studio Tecnologia R (Linguagem de programação de computador) |
dc.subject.area.por.fl_str_mv |
Tecnologia |
dc.subject.bibliodata.por.fl_str_mv |
R (Linguagem de programação de computador) |
description |
This article shows, using R software, how to seasonally adjust a time series using the X-13-ARIMA-SEATS program and the seasonal package developed by Christoph Sax. In addition to presenting step-by-step seasonal adjustment, the article also explores how to analyze the program output and how to forecast the original and seasonally adjusted time series. A case study was proposed using the Brazilian industrial production. It was verified that the effect of Carnival, Easter and working days improved the seasonal adjustment when treated by the model. |
publishDate |
2016 |
dc.date.issued.fl_str_mv |
2016 |
dc.date.accessioned.fl_str_mv |
2017-04-11T18:08:44Z |
dc.date.available.fl_str_mv |
2017-04-11T18:08:44Z |
dc.type.status.fl_str_mv |
info:eu-repo/semantics/publishedVersion |
dc.type.driver.fl_str_mv |
info:eu-repo/semantics/conferenceObject |
format |
conferenceObject |
status_str |
publishedVersion |
dc.identifier.uri.fl_str_mv |
http://hdl.handle.net/10438/18173 |
url |
http://hdl.handle.net/10438/18173 |
dc.language.iso.fl_str_mv |
eng |
language |
eng |
dc.relation.ispartof.none.fl_str_mv |
Cadernos do IME – Série Estatística |
dc.rights.driver.fl_str_mv |
info:eu-repo/semantics/openAccess |
eu_rights_str_mv |
openAccess |
dc.publisher.none.fl_str_mv |
IBRE |
publisher.none.fl_str_mv |
IBRE |
dc.source.none.fl_str_mv |
reponame:Repositório Institucional do FGV (FGV Repositório Digital) instname:Fundação Getulio Vargas (FGV) instacron:FGV |
instname_str |
Fundação Getulio Vargas (FGV) |
instacron_str |
FGV |
institution |
FGV |
reponame_str |
Repositório Institucional do FGV (FGV Repositório Digital) |
collection |
Repositório Institucional do FGV (FGV Repositório Digital) |
bitstream.url.fl_str_mv |
https://repositorio.fgv.br/bitstreams/73d4ee30-fde8-44df-a6c3-be282e0da530/download https://repositorio.fgv.br/bitstreams/b71a52b8-c9ba-4cb7-bea5-f6db1e518f4e/download https://repositorio.fgv.br/bitstreams/99cff6f1-6fc8-4947-aabf-7b92399ea2cf/download https://repositorio.fgv.br/bitstreams/7affffdd-adb2-42f9-90ba-0457073272a4/download |
bitstream.checksum.fl_str_mv |
44adfe2781c0e4a05af697864b883dd9 07d0d951aacf5a09e61752f354c39ee6 dfb340242cced38a6cca06c627998fa1 afa728886188659d058827d70b79b9e6 |
bitstream.checksumAlgorithm.fl_str_mv |
MD5 MD5 MD5 MD5 |
repository.name.fl_str_mv |
Repositório Institucional do FGV (FGV Repositório Digital) - Fundação Getulio Vargas (FGV) |
repository.mail.fl_str_mv |
|
_version_ |
1813797593752272896 |