联系方式

  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp

您当前位置:首页 >> Python编程Python编程

日期:2020-02-27 10:20

ANLT 207

Time Series Analysis

Assignment #2

For all problems below, show your work with a PY or an IPYNB file.

1 Assume the 'robberies.csv' dataset from Brownlee Chapter 30:

a. Perform a Dickey-Fuller test on the series. Is the series stationary? 2

b. Detrend the series with a polynomial fit (up to order 3) 5

c. At what polynomial order does the detrended series become stationary? 3

d. Perform differencing on the original series to induce stationarity 4

e. At what order of differencing does the series become stationary? 1

15 pts.

2 Assume the 'champagne.csv' dataset from Brownlee Chapter 32:

a. Perform a Dickey-Fuller test on the series. Is the series stationary? 1

b. Perform seasonal differencing to eliminate seasonality 1

c. Is the resulting series stationary? 1

d. Perform a seasonal decomposition on the original series and plot the results 2

e. Plot a 1 year period (Jan-Dec) for only the seasonal component 5

10 pts.

3 Assume the 'series.csv' dataset:

a. Using ACF & PACF plots, estimate the ARMA(p,q) order 5 pts.

b. Going with your answer for p, calculate the a1

- ap

coefficients using the Yule-Walker equations 15 pts.

(Hint: np.linalg.det(matrix) makes calculating determinants easy)

4 The sunspot cycle is estimated at 11 years. Based on the ACF of the "Monthly Sunspots" dataset, 5 pts.

what is the sunspot cycle to the nearest month?


版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。 站长地图

python代写
微信客服:codinghelp