specest
direct spectral estimation of series y using periodogram window win
specest
direct spectral estimation of series y using periodogram window winspecest( y, nf, e, win = c("perwinba", "perwinpa", "perwinda"), conf = 0, type = "cov" )
y
: (n,1) vector, the tsnf
: number of equally spaced frequenciese
: equal bandwidth, must be 0 <= e <0.5win
: string, name of periodogram window (possible: "perwinba", "perwinpa", "perwinda")conf
: scalar, the level for confidence intervalstype
: c("cov","cor"), area under spectrum is variance or is normed to 1.est (nf+1,2)- or (nf+1,4)-matrix: - column 1:: frequencies 0, 1/n, 2/n, ..., m/n
column 2:: the estimated spectrum
column 3+4:: the confidence bounds
data(WHORMONE) est <- specest(WHORMONE,50,0.05,win = c("perwinba","perwinpa","perwinda"),conf=0,type="cov")
Useful links