Dear all
Entering
Dear R people
I came across a strange thing:
sd(rep(0.01, 15)) #0
sd(rep(0.001, 15)) #4.489023e-19
sd(rep(0.1, 15)) #0
sd(rep(0.0001,15)) #1.712427e-24
sd(rep(0.01, 13)) #1.805557e-18
sd(rep(0.001, 13)) #4.513894e-19
sd(rep(0.1, 13)) #0
Zitat von Barry Rowlingson [EMAIL PROTECTED]:
Peter Flom wrote:
I tried your sample code, and a few other variations, and
got 0 for all
of them, running R 1.8.1 on a Windows machine
Not only do I get 0 on R 1.8.1 on Unix (linux, RH8), I get
_exactly_
0. I thought this was going to
Dear R users
I have two questions about estimating the spectral power of a
time series:
1) I came across a funny thing with the following code:
data(co2)
par(mfrow=c(2,1))
co2.sp1-spectrum(co2,detrend=T,demean=T,span=3)
co2.sp2-spectrum(co2[1:468],detrend=T,demean=T,span=3)
The first plot