Displaying 1 result from an estimated 1 matches for "tp4322558p4328815".
2012 Jan 24
2
how do I do the autocovariance of a moving average?
Hi guys,
I'm trying to do the autocovariance of a moving average but it's giving me
errors. Here is my code:
> w=rnorm(500,0,1)
> v=filter(w, sides=2, rep(1/3,3))
> acf(w, lag.max=20) <=that printed out a nice graph.
> acf(v, lag.max=20)
Error in na.fail.default(as.ts(x)) : missing values in object
thanks a lot.
--
View this message in context: