This problem and the next use CRSP daily returns. First, get the data and plot the ACF in two ways — Explain what lag means plots Why does differ between

General StudiesGeneralWorked Solution

This problem and the next use CRSP daily returns. First, get the data and plot the ACF in two ways:

library(Ecdat)

data(CRSPday)

crsp=CRSPday[,7]

acf(crsp)

acf(as.numeric(crsp))

(a) Explain what \lag" means in the two ACF plots. Why does lag differ between the plots?

(b) At what values of lag are there significant autocorrelations in the CRSP returns? For which of these values do you think the statistical significance might be due to chance?

SOLUTION

Plots of the output from the acf function for each of the two calls are given in Figure 7.

Figure 7: Left: The acf plot for the crsp data (as a time series object). Right: The acf plot for the crsp data (treated as a numeric array).

🔒

Unlock the complete assignment

You are viewing the free preview. Purchase this assignment once to reveal the complete resource.

$9.99 USD

Secure checkout is completed by Stripe.