



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Statistics 531/Econ 677 Winter, 2005 Ed Ionides
SECTION A. We investigate some data from neurophysiology. An electrode implanted (painlessly) into a monkey’s brain records a sequence of firing events for an individual neuron cell (neurons communicate by “firing” pulses of electrical charge). Suppose the firing times are F 1 , F 2 ,... , FT +1, measured in milliseconds (1ms is 10−^3 s). We take as our time series xt = Ft+1 − Ft with t = 1,... , T. This is the series of times intervals between firing events. The data, with T = 415, are plotted in Fig. 1. We wish to model xt in order to quantify the behavior of the neuron, to later compare it with other neurons and investigate the effects of experimental treatments. The estimated ACF and PACF of xt are shown in Fig. 2.
t
x(t)
0 100 200 300 400
0
50
100
150
200
Figure 1: Time series xt of intervals between neuron firing events
0 5 10 15 20 25
Lag
ACF
(a)
0 5 10 15 20 25
−0.
−0.
Lag
Partial ACF
(b)
Figure 2: (a) Estimated autocorrelation function of xt. (b) Estimated partial autocorrelation function of xt.
A1. [2 pts] What ARMA model for xt does Fig. 2 suggest, and why? A2. [2 pts] Another way to select a model is by comparing AIC values. A table of AIC values is shown in Table 1. What ARMA model does this suggest, and why?
p \ q 0 1 2 3 0 NA 3961.5 3962.7 3964. 1 3961.0 3962.6 3964.6 3966. 2 3962.6 3960.5 3959.7 3961. 3 3964.6 3965.4 3962.6 3968. Table 1: AIC values from fitting ARMA(p,q) models to xt
A3. [2 pts] Find the log likelihood of an ARMA(2,1) model, and explain your calculation. A4. [2 pts] Does the table of AIC values contain any evidence for or against the claim that the likelihood is correctly calculated and maximized? Explain. SECTION B. Fitting an ARMA(2,2) model gives the following R printout.
Call: arima(x = x, order = c(2, 0, 2))
Coefficients: ar1 ar2 ma1 ma2 intercept 1.6009 -0.6445 -1.4982 0.5219 26. s.e. 0.1886 0.1839 0.2104 0.2094 0.
sigma^2 estimated as 791.7: log likelihood = -1973.88, aic = 3959.
B1. [4 pts]. Write out the fitted model, carefully stating all the model assumptions.
0 5 10 15 20 25
0.^ 0.^ 0.^ 0.^ 0.^
Lag
ACF
Figure 3: Estimated autocorrelation function of the residuals from fitting an ARMA(2,2) model to xt.
B2. [3 pts] Fig. 3 shows the ACF of the residuals from fitting an ARMA(2,2) model. Com- ment on which modeling assumptions this figure supports, and which it does not support. B3. [3 pts] Find the roots of the AR and the MA polynomials for the fitted ARMA(2,2) model. Is there evidence for parameter redundancy? B4. [2 pts] Simulations from the fitted ARMA(2,2) model were computed as follows:
t
log^10
(x(t ))
0 100 200 300 400
0.^ 1.^ 1.^
Figure 5: Time plot of log 10 xt.
0 5 10 15 20 25
0.^ 0.^ 0.^ 0.^ 0.^
Lag
ACF
(a)
0 5 10 15 20 25
−0.
0.^ 0.^ 0.^
Lag
Partial ACF
(b)
Figure 6: (a) Estimated autocorrelation function of log 10 xt. (b) Estimated partial autocor- relation function of log 10 xt.
C1. [2 pts] Is there any indication from Fig. 5, Fig. 6 and the fitted model printouts in Sections B and C that ARMA modeling is more successful after a log transformation? or less? Explain.
0 5 10 15 20 25
0.^ 0.^ 0.^ 0.^ 0.^
Lag
ACF
Figure 7: Estimated autocorrelation function of the residuals from fitting an ARMA(2,2) model to log 10 xt.
(a)
t
0 100 200 300 400
0
50
100
150
200
(b)
t
0 100 200 300 400
−^
−^
0
1
2
Figure 8: (a) Residuals from fitting an ARMA(2,2) model to xt. (b) Residuals from fitting an ARMA(2,2) model to log 10 xt.
C2. [2 pts] What do Figs. 3, 7 and 8 indicate about the success of the log transform? C3. [3 pts] Fig. 9 shows the smoothed periodogram of log 10 xt. Find the frequency and period corresponding to the peak in the periodogram. Your answer should include the units of these quantities. Describe briefly what this peak leads you to conclude about how the monkey’s neuron behaves.
0.0 0.1 0.2 0.3 0.4 0.
0.^ 0.^ 0.^ 1.^
1.2 1.
frequency
spectrum
Figure 9: Smoothed periodogram of log 10 xt.