Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lära Challenge 1 | Non-Stationary Models
Time Series Analysis
course content

Kursinnehåll

Time Series Analysis

Time Series Analysis

1. Time Series: Let's Start
2. Time Series Processing
3. Time Series Visualization
4. Stationary Models
5. Non-Stationary Models
6. Solve Real Problems

book
Challenge 1

Uppgift

Swipe to start coding

Time for new challenges! Here is the first challenge, the idea of which is to process the pr_HH Spot Price.csv dataset to turn it from non-stationary to stationary:

  1. Read the dataset.
  2. Test for data stationarity (use adfuller) and display results.
  3. Visualize the initial values of the "Price" column.
  4. Transform data (the "Price" column of the df DataFrame) from non-stationary to stationary using the difference method (using the .diff() method with periods = 1 parameter). Drop NA values. Assign the result to the new_diff variable.
  5. Visualize the modified data (new_diff).
  6. Rerun the ADF test for updated data (new_diff).

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 5. Kapitel 3
toggle bottom row

book
Challenge 1

Uppgift

Swipe to start coding

Time for new challenges! Here is the first challenge, the idea of which is to process the pr_HH Spot Price.csv dataset to turn it from non-stationary to stationary:

  1. Read the dataset.
  2. Test for data stationarity (use adfuller) and display results.
  3. Visualize the initial values of the "Price" column.
  4. Transform data (the "Price" column of the df DataFrame) from non-stationary to stationary using the difference method (using the .diff() method with periods = 1 parameter). Drop NA values. Assign the result to the new_diff variable.
  5. Visualize the modified data (new_diff).
  6. Rerun the ADF test for updated data (new_diff).

Lösning

Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Var allt tydligt?

Hur kan vi förbättra det?

Tack för dina kommentarer!

Avsnitt 5. Kapitel 3
Switch to desktopByt till skrivbordet för praktisk övningFortsätt där du är med ett av alternativen nedan
Vi beklagar att något gick fel. Vad hände?
some-alt