dynspecest
performs a dynamic spectrum estimation
dynspecest
performs a dynamic spectrum estimationdynspecest(y, nseg, nf, e, theta = 0, phi = 15, d, Plot = FALSE)
y
: time series or vectornseg
: number of segments for which the spectrum is estimatednf
: number of equally spaced frequenciese
: equal bandwidththeta
: azimuthal viewing direction, see R function perspphi
: colatitude viewing direction, see R function perspd
: a value to vary the strength of the perspective transformation, see R function perspPlot
: logical, schould a plot be generated?out list with components - f: frequencies, vector of length nf
t: time, vector of length nseg
spec: the spectral estimates, (nf,nt)-matrix
data(IBM) y <- diff(log(IBM)) out <- dynspecest(y,60,50,0.2,theta=0,phi=15,d=1,Plot=FALSE)
Useful links