[R] spec.pgram() possible bug

David Stoffer stoffer at pitt.edu
Mon Jul 26 22:26:03 CEST 2004


> test=spec.pgram(rnorm(128,0,1), kernel("daniell",1))
> test$df
[1] 5.374771

df should be 6= 2*(2*m+1) where m=1 in this case

... and so on




More information about the R-help mailing list