0
I’m starting to study time series analysis. I have some data sets that are composed as follows: each line consists of one customer service, having the start date (lowest date 2012-01-01), the end date (highest date 2017-05-01) of the service, and the neighborhood where the activity took place.
> mse_df
# A tibble: 484 × 3
mse_in mse_fim Bairro
<date> <date> <fctr>
1 2015-11-03 2016-08-11 Pachecos
2 2013-03-18 2014-10-02 Bela Vista
3 2012-08-08 2015-09-24 Brejaru
4 2014-02-24 2014-12-17 Madri
5 2015-03-30 2015-04-29 Jardim Eldorado
6 2012-07-30 2013-09-19 Brejaru
7 2016-05-24 2017-05-19 Frei Damiao
8 2012-08-13 2015-02-09 Ponte do Imaruim
9 2012-08-08 2014-07-23 Ponte do Imaruim
10 2012-07-30 2012-10-10 Caminho Novo
# ... with 474 more rows
I would like to do the time series analysis of the service, with the data divided into 12 periods per year, and a second time series analysis, also into 12 periods per year, but this time for each location, but I don’t know how to generate the time series data frames to start the analysis.
I don’t understand what kind of analysis is being proposed here. Is there any way to edit the question or leave a comment trying to be a little more specific? For example, what is the purpose of this analysis?
– Marcus Nunes
Hello Marcus, I’m sorry for the inaccuracy. I want to check if there are trends or seasonalities in the service, and make frequency forecast for the next months, both general, as per neighborhood.
– Rafael Arns Stobbe
I’m not able to prepare df for the temporal analyses I intend to perform.
– Rafael Arns Stobbe