The defaults of fewclust come from a simulation study of methods for clustered binary outcomes with few clusters and short series (Vedovelli et al., manuscript). This page summarises the findings behind them; the numbers are read from the tables of the study stored in the package.
The study covered 2,376 design points: from 10 to 145 clusters, up to 10 occasions, 4 data-generating mechanisms (the fourth purely serial). For each method and design point it estimated the type I error under the null hypothesis and counted the design points where it was clearly above 7.5% or clearly below 2.5%. A dataset counted as usable for a method when the method returned a finite estimate and standard error smaller than 10 on the logit scale; a dataset whose outcome was constant gave no usable result for any method.
All Wald tests below use a t reference on N - p degrees of freedom.
| Method | Above 7.5% | Below 2.5% | Usable | Usable, 2-3 occasions and at most 25 clusters |
|---|---|---|---|---|
| Marginalized multilevel model, convergence check | 0 | 42 | 84.0% | 27.6% |
| GEE AR(1), Fay-Graubard | 2 | 106 | 91.9% | 43.7% |
| GEE exchangeable, Fay-Graubard | 15 | 104 | 92.0% | 43.9% |
| GEE independence, Fay-Graubard | 5 | 104 | 92.1% | 44.1% |
| GEE AR(1), Mancl-DeRouen | 20 | 103 | 91.8% | 43.5% |
| GEE AR(1), Kauermann-Carroll | 138 | 70 | 91.7% | 42.5% |
| GEE AR(1), no correction | 363 | 1 | 93.7% | 56.0% |
| Mixed model, Wald test | 515 | 15 | 80.4% | 28.2% |
| Sign-flip score test | 0 | 0 | 96.5% | 72.3% |
The marginalized multilevel model with the convergence check was
never clearly above 7.5%, and is the default of
fit_fewclust(). GEE with an AR(1) working correlation and
the Fay-Graubard correction was clearly above 7.5% at 2 design points,
all with 10 clusters and 2 occasions; it is the fallback. The other
corrections, and GEE without a correction, were above 7.5% more
often.
With 10 clusters the marginalized model tended to be conservative: clearly below 2.5% at 32 of the 156 design points with 10 clusters.
With 2-3 occasions and at most 25 clusters no method with an interval
was both available and calibrated: the marginalized model gave a usable
result in 27.6% of the datasets and GEE AR(1) with Fay-Graubard in
43.7%. The sign-flip score test (flip_test()) answered in
72.3% and kept its level, but it gives a p-value only, with little
power.
| Clusters | Occasions | Design points | GEE AR(1) + FG | Marginalized model | Closer |
|---|---|---|---|---|---|
| 10 | 2 | 27 | 5.4 | 5.1 | neither (within the margin) |
| 10 | 3 | 27 | 1.9 | 3.9 | GEE |
| 10 | 4+ | 102 | 1.6 | 3.2 | GEE |
| 15-25 | 2 | 81 | 4.3 | 3.3 | neither (within the margin) |
| 15-25 | 3 | 81 | 1.4 | 2.5 | neither (within the margin) |
| 15-25 | 4+ | 306 | 1.0 | 1.4 | neither (within the margin) |
| >25 | 2 | 294 | 2.1 | 1.3 | neither (within the margin) |
| >25 | 3 | 294 | 0.6 | 0.7 | neither (within the margin) |
| >25 | 4+ | 1164 | 0.6 | 0.6 | neither (within the margin) |