That is R code. The data is at library(TSA) from R.
ANSWER: Below is the R code. I have added the required comments in the code itself.
#################################
rm(list=ls(all=TRUE))
library(TSA)
data(deere1)
X=deere1
summary(X)
## A: Time Series Plot
ts.plot(X,main="Time Series Plot of the data")
d=which(X==max(X))
d
max(X)
# Comment: The data point at index 27 is an outlier. It value is
30
# which is very different from usual trend of the data.
## B: Sample ACF
acf(X,lag.max = length(X))
# Comment: All the acf's except the second one are inside the
confidence
# bounds.
# C: NEW ACF
# WE replace the outlier observation with the median of the rest
of
# the observations
X[d]=median(X[-d])
acf(X,lag.max = length(X)) # New ACF
# Comment: Now all the acf's are inside confidence bounds.
This
# tells that observations are i.i.d.
## D: NEW PACF
pacf(X,lag.max = length(X)) # New PACF
# Comment: The PACF is also under the confidence bounds, so we
cannot use
# AR models to model the data. Since ACF says it is i.i.d, it is
better
# not to use any time series model.
That is R code. The data is at library(TSA) from R. 6.33 The data file named...
Exercise 6,7,8, and 9 use data from exercise 5 for exercise 6. use data from the graph for 7,8,9 d. LY, for some integer k> 0 5. The following table contains quarterly nominal GDP in U.S. (billions of dol- lars). Let Y, denote the GDP at time t and let y, = ln (Y). (Show your calculations in a spreadsheet, e.g., in Microsoft Excel.) a. Plot the time series (Y). Can the underlying stochastic process be weakly b. Calculate the...
A group of physics students collected data from a test of the projectile motion problem that was analyzed in a previous lab exercise (L5). In their test, the students varied the angle and initial velocity Vo at which the projectile was launched, and then measured the resulting time of flight (tright). Note that tright was the dependent variable, while and Vo were independent variables. The results are listed below. (degrees) Time of Flight (s) Initial Velocity V. (m/s) 15 20...