29.08.2020 Views

Shumway Stoffer Time_Series_Analysis_and_Its_Applications__With_R_Examples 3rd edition (1)

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

38 1 Characteristics of Time Series

1.0

0.8

0.6

ACF

0.4

0.2

0.0

−40

−20

0

row lags

20

−10

20

10

0

column lags

40

−20

Fig. 1.17. Two-dimensional autocorrelation function for the soil temperature data.

1 fs = abs(fft(soiltemp-mean(soiltemp)))^2/(64*36)

2 cs = Re(fft(fs, inverse=TRUE)/sqrt(64*36)) # ACovF

3 rs = cs/cs[1,1] # ACF

4 rs2 = cbind(rs[1:41,21:2], rs[1:41,1:21])

5 rs3 = rbind(rs2[41:2,], rs2)

6 par(mar = c(1,2.5,0,0)+.1)

7 persp(-40:40, -20:20, rs3, phi=30, theta=30, expand=30,

scale="FALSE", ticktype="detailed", xlab="row lags",

ylab="column lags", zlab="ACF")

The sampling requirements for multidimensional processes are rather severe

because values must be available over some uniform grid in order to

compute the ACF. In some areas of application, such as in soil science, we

may prefer to sample a limited number of rows or transects and hope these

are essentially replicates of the basic underlying phenomenon of interest. Onedimensional

methods can then be applied. When observations are irregular in

time space, modifications to the estimators need to be made. Systematic approaches

to the problems introduced by irregularly spaced observations have

been developed by Journel and Huijbregts (1978) or Cressie (1993). We shall

not pursue such methods in detail here, but it is worth noting that the introduction

of the variogram

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!