1
$\begingroup$

So I know that ANOVA is normally done for multiple hypothesis testing but it cannot be done for time series. However, what I have found for time series is only for two datasets. Here I am looking at several time series, call them Data1, Data2, ..., DataN, which are various observations in time. These are all subsets of a broader time-series. In particular I am looking at COVID waves to see whether the second derivatives (acceleration plot) are statistically different from one another to compare the "shape" of the waves. I am considering something like a statistical test to measure $$J_{t;ic}=|\frac{\partial^2}{\partial t^2}(\frac{dI_{ic}}{dt})|$$ (where $$\frac{dI_{ic}}{dt}$$ is the daily number of reported cases in the ith wave in region c). I would like it tested at the one-sided statistic $$\tilde{t}_>=\frac{J_{t;ic}-J_{t;jc}}{\sqrt{\sigma^2_{Jt;ic}+\sigma^2_{Jt;jc}}} \forall i\neq j$$

as a second derivative closer to 0 implies a wider curve, and an absolute second derivative i smaller than an absolute second derivative j implies that i is wider than j.

$\endgroup$

1 Answer 1

0
$\begingroup$

Having seen some of the plots, e.g., https://health-infobase.canada.ca/covid-19/epidemiological-summary-covid-19-cases.html enter image description here

There doesn't seem to be enough stable periodicity to warrant time series treatment. I would treat it as a mixture model, which, for the graph above, would be 5 scaled distributions. Those will then have mean times, and variances for each "wave." For regressing count data, I would use a Poisson loss function, which as an $L_2$ is $$\Bigg|\Bigg|\sqrt{\#cases}-\dfrac{f_{mix}(t)}{\sqrt{\#cases}}\Bigg|\Bigg|_2$$.

The variances of the distributions themselves (without scaling) are then the appropriate statistics. EDIT: However, those variances are results and not raw data that can be used for comparison of variances using the Levine test, Conover test or Brown Forsythe test. To do that latter, one could reassign the original count data to be apportioned to each separate distribution resulting in 5 separate data sets, and only then can the variances be compared. Perhaps Lecture 16 by Grosse and Srivastava may be of help in so doing.

I would caution, however, that one cannot assume stationarity with impunity, as testing methods may have been a moving target, including but not limited to the percentage of counted cases being variably related to the number of total cases, because many cases were unreported, and the effect of "vaccination" varied in time as vaccination increased. One can, despite that, assume stationarity to obtain a preliminary estimate. Vaccination likely did not do much to case numbers, because the current crop of inoculations are unlike polio vaccines and do not confer immunity. If you wish, you can test that under the assumption that infection rates per contagion are similar, or different if you want to waste time on it. In practice, such factors as masking, social distancing, embargo and quarantine are relatively minor, but may have a slight and variable effect on variance. In fact, if you compare Florida and New York, you might see some blunting of the curves in NY, with little other effect, but testing for whether the cause of that is the difference of mostly useless governmental policy, or whether that is merely because the mass dynamic difference is inherent to a larger NY population will be difficult.

Finally, good luck, as no one will believe the results because science has been so corrupted by politics that publishing them will be like throwing a dead vulture into a den of starving jackals.

$\endgroup$
2
  • $\begingroup$ Thanks! I agree it has been too politicized. Regarding the statistical tests to use, the Levine and Conover tests use ANOVA, is this appropriate for count data--even if we are not assuming time-stationarity? $\endgroup$ Commented Feb 14, 2022 at 18:27
  • $\begingroup$ Yes, there is a problem, although I am not certain what you are referring to. So, I will edit my answer, and if you can put in a citation as to where you got the caution concerning ANOVA, so I can read it, that may help clarify things. $\endgroup$
    – Carl
    Commented Feb 14, 2022 at 23:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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