82 Oil Production Data Refer to the oil production data in T

8.2) Oil Production Data: Refer to the oil production data in Table 6.19. The index plot of the residuals obtained after fitting a linear regression of log(OIL) on Year show a clear cyclical pattern.

(A)Compute the Durbin-Watson statistic d. What conclusion regarding the presence of autocorrelation would you draw from d?

(B) Compare the number of runs to their expected value and standard devi­ ation. What conclusion regarding the presence of autocorrelation would you draw from this comparison?

Can you show me how to do this in R

Table can be found here: http://www.stat.nus.edu.sg/~zhangjt/teaching/textbook/datasets.htm under Chapter 6 crude oil production

Solution

8.2) Oil Production Data: Refer to the oil production data in Table 6.19. The index plot of the residuals obtained after fitting a linear regression of log(OIL)

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site