6.21, 7.3, 7.4 - 103046
6.21, 7.3, 7.4 - 103046
(c) Repeat part (b) with a new simulation. Describe how the precision of the estimate
varies with different samples selected under identical conditions.
> model <- arima.sim(n=60, list(ma=0.5), innov=rnorm(60))
> par(mar=c(2,2,2,2))
> acf(model, lag.max=1, plot=F) [1]
Autocorrelations of series ‘model’, by lag
1
0.401
Hasil estimasi akan terus berubah jika di-run ulang. Dapat disimpulkan bahwa
walaupun model yang disimulasikan sama, presisi dari estimasi akan berbeda-beda
tergantung pada pemilihan sampelnya.
(d) If software permits, repeat the simulation of the series and calculation of 𝑟1. Describe
how the precision of the estimate varies with different samples selected under
identical conditions. How well does the large sample variance given in Exhibit 6.2
on page 112, approximate the variance in your sampling distribution?
> set.seed(1000); r1=rep(NA,10000); r5=r1
> for(k in 1:10000) {model=arima.sim(n=60, list(ma=-0.5),
innov=rnorm(60)); r1[k]=acf(model, lag.max = 1, plot=F)$acf[1]}
> hist(r1)
> mean(r1)
> median(r1)
> sd(r1)
Standard deviasi :
7.4 Consider an MA(1) process for which it is known that the process mean is zero. Based
on a series of length 𝑛 = 3, we observe 𝑌1 = 0, 𝑌2 = −1, and 𝑌3 = ½.
(a) Show that the conditional least-squares estimate of θ is ½.
Berdasarkan Equation 7.2.14 : halaman 157, kita punya
𝑒1 = 𝑌1 = 0
𝑒2 = 𝑌2 + 𝜃𝑒1 = −1
1
𝑒3 = 𝑌3 + 𝜃𝑒2 = 2 + (−1)𝜃
1 2 1
Sehingga 𝑆𝑐 (𝜃) = ∑(𝑒𝑡 )2 = 02 + (−1)2 + (2 − 𝜃) = 1 + 4 − 𝜃 + 𝜃 2
(b) Find an estimate of the noise variance. (Hint: Iterative methods are not needed in this
simple case.)
𝑆𝑐 (𝜃) ∑(𝑒𝑡 )2 1 1
𝜎̂𝑒2 = = = =
𝑛−1 𝑛−1 3−1 2