เริ่มต้นใช้งานเริ่มต้นใช้งานได้ฟรี

Holt's trend methods

Holt's local trend method is implemented in the holt() function:

> holt(y, h = 10, ...)

Here, you will apply it to the austa series, which contains annual counts of international visitors to Australia from 1980-2015 (in millions). The data has been pre-loaded into your workspace.

แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร

Forecasting in R

ดูคอร์ส

คำแนะนำการฝึกหัด

  • Produce 10 year forecasts of austa using Holt's method. Set h accordingly.
  • Use the summary() function to view the model parameters and other information.
  • Plot your forecasts using the standard time plotting function.
  • Use checkresiduals() to see if the residuals resemble white noise.

แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำ

ลองทำแบบฝึกหัดนี้โดยเติมโค้ดตัวอย่างนี้ให้สมบูรณ์

# Produce 10 year forecasts of austa using holt()
fcholt <- ___

# Look at fitted model using summary()
___

# Plot the forecasts
___

# Check that the residuals look like white noise
___
แก้ไขและรันโค้ด