ComeçarComece de graça

Data play

In the video, you saw various types of data. In this exercise, you will plot additional time series data and compare them to what you saw in the video. It is useful to think about how these time series compare to the series in the video. In particular, concentrate on the type of trend, seasonality or periodicity, and homoscedasticity.

Before you use a data set for the first time, you should use the help system to see the details of the data. For example, use help(AirPassengers) or ?AirPassengers to see the details of the series.

Este exercício faz parte do curso

ARIMA Models in R

Ver curso

Instruções do exercício

  • The packages astsa and xts are preloaded in your R environment.
  • Use help() to view the specifics of the AirPassengers data file.
  • Use plot() to plot the airline passenger data (AirPassengers) and compare it to a series you saw in the video.
  • Plot the DJIA daily closings (djia$Close) and compare it to a series you saw in the video.
  • Plot the Southern Oscillation Index (soi) and inspect it for trend, seasonality, and homoscedasticity.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# View a detailed description of AirPassengers


# Plot AirPassengers


# Plot the DJIA daily closings


# Plot the Southern Oscillation Index


Editar e executar o código