LoslegenKostenlos loslegen

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.

Diese Übung ist Teil des Kurses

ARIMA Models in R

Kurs anzeigen

Anleitung zur Übung

  • 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.

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# View a detailed description of AirPassengers


# Plot AirPassengers


# Plot the DJIA daily closings


# Plot the Southern Oscillation Index


Code bearbeiten und ausführen