S-PLUS 2000 windows
I am performing a spectral analysis of a temperature series (> ten
thousand records), but I have a few hundred scattered missing values. I
also know that the missing values are averages of adjacent values.
1. How does spec.pgram deal with missing values? I was thinking I might
interpolate the missing values in order to run spec.pgram. How? I was
thinking about checking each record one at a time with an if statement
inside a for statement, but didn't like where that was headed.
2. Also, I would like to test whether the series differs from random
white noise. Any suggestions?
TIA,
Henry
--
Dr. M. Henry H. Stevens
Postdoctoral Associate
Department of Ecology, Evolution, & Natural Resources
14 College Farm Road
Cook College, Rutgers University
New Brunswick, NJ 08901-8551
email: hstevens@rci.rutgers.edu
phone: 732-932-9631
fax: 732-932-8746
|