scoh(x, m, win,...)pfa, plflg, bfflg, ix, iy, nx, ny, datastr,
where
plflg should be positive to plot values of statistic,
pfa should be positive to plot threshold,
bfflg is a Bonferroni correction parameter; it sholud be positive to correct pfa before thresholding,
ix and iy are initial values at x and y axes (the lower left corner of plot),
nx, ny are the incremental frequency indices above the starting point (ix,iy) (the ending values of frequency index are ix+nx,iy+ny),
datastr string name of data for printing.
By default they are fixed to pfa = 1, plflg = 1, bfflg = 1, ix = 0, iy = 0, nx = length(x)/2, ny = length(x)/2, datastr = "data").
permest function is first used to remove the periodic mean.
Hurd, H. L., Miamee, A. G., (2007), Periodically Correlated Random Sequences: Spectral Theory and Practice, Wiley InterScience.
pgram, permest
## Do not run
## It could take a few seconds
#data(volumes)
#m=16
#win=matrix(1/m,1,m)
#dev.set(which=1)
#scoh(t(volumes),m,win,datastr='volumes')
Run the code above in your browser using DataLab