Tell me more ×
Cross Validated is a question and answer site for statisticians, data analysts, data miners and data visualization experts. It's 100% free, no registration required.

I have two time series of count data which I believe are correlated. Is there an equivalent to cov() that assumes an overdispersed Poisson rather than a normal distribution? If there is a significance test for this (noting that both series increase over time but that doesn't prove correlation), so much the better. I wondered if vcov() might help but it focuses on parameters of a solved model. More broadly, I'm looking for a measure of the similarity between two variables which is appropriate for quasi-Poisson data.

share|improve this question

1 Answer

The cov() function in R just calculates the empirical correlation, there is no assumption about normality in that. Of course, if you go longer, like doing inference about the correlation, you need a model, and normality might simplify the analysis. Or you could just bootstrap!

I think you should really edit the question to give more information about the situation giving rise to your data so that we could think about how to model it. That's the way to go about to find a more meanigful measure than simply the correlation coefficent. Did you make a simple scatterplot of your two time-series?

Some more thoughts. If the counts are varying wildly, maybe indicating that the underlying mean is nonconstant (you say both series are increasing in trend, suggeting that), one idea is to apply a variance-stabilizing transformation, which in poisson and quasi-poisson case is just the square-root. After that you can apply methods for normally-distributed time series, at least as an approximation.

share|improve this answer
It sounds merely like a comment. However, I understand that you may be looking for an update to the OP and that you will update this reply accordingly, so I'm leaving it as is. – chl Sep 10 '12 at 20:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.