[R] CCF of two time series pre-whitened using ARIMA

2011-06-30 Thread Emily C
Hi all, I have two time series that I would like to correlate but as they are autocorrelated, I am "pre-whitening" them first by fitting ARIMA models, then correlating their residualsas described in https://onlinecourses.science.psu.edu/stat510/?q=node/75 However, http://www.stat.pitt.edu/sto

Re: [R] R error using Survr function with gcmrec

2010-11-15 Thread Emily C
f (length(unique(id)) >= length(event[event == 0])) { stop("Data doesn't match. Every subject must have a censored time") } if (length(unique(event)) > 2 | max(event) != 1 | min(event) != 0) { stop("event must be 0-1") } ans <-

Re: [R] R error using Survr function with gcmrec

2010-11-11 Thread Emily C
Sorry for the lack of context - I found a forum ( http://r.789695.n4.nabble.com/R-help-f789696.html) that I thought was easier to navigate and was using it for the first time. Hit the reply button, but forgot that the mailing list recipients would not see previous message in the thread. I've pasted