[R] Interpolating / smoothing missing time series data
thpe at hhbio.wasser.tu-dresden.de
Thu Sep 8 08:17:10 CEST 2005
Francisco J. Zagmutt wrote:
> I don't have much experience in the subject but it seems that library(akima)
> should be useful for your problem. Try library(help="akima") to see a list
> of the functions available in the library.
> I hope this helps
Yes, function aspline() of package akima is well suited for such things:
no wiggles like in spline() and less variance reducing than approx().
But in any case: excessive interpolation will definitely lead to biased
results, in particular artificial autocorrelations.
If ever possible, David should look for methods, capable of dealing with
missing data directly.
More information about the R-help