Periodogram {artfima} | R Documentation |
Periodogram
Description
Computes the raw periodogram defined by,
I(f_j) = \frac{1}{n} | sum z[t] exp(2 \pi f_j) |^2
Usage
Periodogram(z)
Arguments
z |
vector, time series |
Details
The expected value of the periodogram equals the spectral density function.
Value
the periodogram
Author(s)
A. I. McLeod
See Also
Examples
data(sunspot.year)
Ip <- Periodogram(sunspot.year)
fr <- (1:length(Ip))/length(sunspot.year)
plot(fr, Ip, xlab="frequency", ylab="Periodogram")
[Package artfima version 1.5 Index]