Time series analysis in epidemiological studies using the R language |
| ( Vol-9,Issue-11,November 2022 ) OPEN ACCESS |
| Author(s): |
Anderson Lineu Siqueira dos Santos, Layna de Cassia Campos Cravo, Fabricio Gonçalves Cordeiro, Maria de Fátima Pinheiro Carrera, Claudia Ozela El-Husny, Rubia Rodrigues Neves Yasutake, Emerson Glauber Abreu dos Santos, Alzinei Simor, Evelyn Tayana Maciel Mendonça, Thiago Souza Corrêa, Tatyellen Natasha da Costa Oliveira |
| Keywords: |
|
Time Series Studies; Ecological Studies; Temporal Distribution; Epidemiological Studies; Statistical models. |
| Abstract: |
|
Objective: To present a script script to use the RStudio software for decomposition of time series in epidemiological studies using the R language. Materials and methods: The data used in this study to demonstrate the applicability of the R environment in the analysis and decomposition of time series were extracted from DATASUS, and composed of data on mortality from infectious diseases in Brazil and in the North Region, considering deaths by residence, from 1996 to 2019. The data were analyzed using the R language through the RStudio software Version 2022.02.1 . Results: Time series were analyzed using the R language and decomposed into their trend, seasonality and noise components. The seasonality graphs were isolated to understand the variation in the behavior of mortality from infectious diseases in the North Region when compared to data from Brazil distributed in the months of the year. Conclusion: Using RStudio, it was possible to analyze and decompose a large volume of data to build a 25-year time series, subdivided into monthly periods. Allowing the customization of graphic elements and their plotting. |
| Article Info: |
|
Received: 23 Oct 2022, Received in revised form: 10 Nov 2022, Accepted: 16 Nov 2022, Available online: 20 Nov 2022 |
|
|
| Paper Statistics: |
| Cite this Article: |
| Click here to get all Styles of Citation using DOI of the article. |



Advanced Engineering Research and Science