Signature
F_0 = MSB / MSW; F_L = F_0 / F_a; F_U = F_0 * F_b; rho_L = (F_L - 1) / (F_L + m - 1); rho_U = (F_U - 1) / (F_U + m - 1)
| Inputs | Definition | Unit |
|---|---|---|
MSB | Mean square between clusters, on k minus 1 degrees of freedom for k clusters in one group and k minus 2 within two arms; zero or above | square of the outcome's unit |
MSW | Mean square within clusters, on k (m minus 1) degrees of freedom; above zero | square of the outcome's unit |
F_a | Upper alpha / 2 point of the F distribution on k minus 1 and k (m minus 1) degrees of freedom for k clusters in one group, with k minus 2 in place of k minus 1 within two arms; 3.2232 at alpha of 0.05 for 4 clusters of 32 in one group | ratio |
F_b | Upper alpha / 2 point of the F distribution on k (m minus 1) and k minus 1 degrees of freedom, with the two swapped for k clusters in one group, and k minus 2 in place of k minus 1 within two arms; 13.9458 at alpha of 0.05 for 4 clusters of 32 in one group | ratio |
m | Number of individuals in each cluster, the same in every cluster; 2 or more | people per cluster |
F_0 | MSB divided by MSW | ratio |
|---|---|---|
F_L | F_0 divided by F_a | ratio |
F_U | F_0 multiplied by F_b | ratio |
rho_L | Lower limit of the interval for rho; at least minus 1 / (m minus 1) and negative when F_0 is below F_a | proportion |
rho_U | Upper limit of the interval for rho; below 1 | proportion |
Function
Intracluster correlation of costs or outcomes from variance components and mean squares
Maps the variance of a cost or an outcome between and within clusters, or the mean squares of a one-way analysis of variance, to the intracluster correlation coefficient and a confidence interval for it. HE-AS-BINOM-002 states the independence that fails under clustering for a count, and HE-AS-AN-002 asks for cluster-robust standard errors in a Wald interval. The design effect and the effective sample size that follow from rho sit on the Design Effect concept and are not restated here. Incremental net benefit and its standard error in the article's worked example are HE-FM-AN-004 with Cov_CE of 0, and the article's step 4 is the same record with each standard error multiplied by the square root of its design effect (derived), so that step is a citation and not a new formula. Notation follows the Cluster Effect article.
Try this function
Implementations
Excel
Correlation interval from named mean squares and classic FINV
With inputs in cells named MeanSquareBetween, MeanSquareWithin, PeoplePerCluster and NumberOfClusters, the seven formulas fill cells named FQuantileBetween, FQuantileWithin, FRatio, FRatioLower, FRatioUpper, IccLower and IccUpper for a 95% interval. FINV takes the right tail probability, so 0.025 returns the 97.5th percentile. The two FINV formulas are for one group of clusters, and within two arms NumberOfClusters-2 takes the place of NumberOfClusters-1 (HE-AS-CLUE-011). PeoplePerCluster of 1, or a blank in it or in NumberOfClusters, returns #NUM! because a degrees of freedom term falls below 1, and a blank MeanSquareWithin returns #DIV/0! in FRatio.
=FINV(0.025,NumberOfClusters-1,NumberOfClusters*(PeoplePerCluster-1)); =FINV(0.025,NumberOfClusters*(PeoplePerCluster-1),NumberOfClusters-1); =MeanSquareBetween/MeanSquareWithin; =FRatio/FQuantileBetween; =FRatio*FQuantileWithin; =(FRatioLower-1)/(FRatioLower+PeoplePerCluster-1); =(FRatioUpper-1)/(FRatioUpper+PeoplePerCluster-1)
Assumptions
Normal cluster effects and residuals in the one-way layout
Shrout and Fleiss assume that the target effects and the residuals are independent and normally distributed. Costs are often skewed, and the case study in Gomes and colleagues had a coefficient of variation of 1.6 for costs, so for costs the interval is a guide only (a caution made here, not a statement in Shrout and Fleiss).
Same number of people in every cluster for the F interval
Shrout and Fleiss give the interval for k ratings on every target, which here means m people in every cluster. HE-CF-CLUE-001 gives a point estimate for unequal clusters, and this interval is not stated for that case in the text read.
Both F points matched to one confidence level and swapped degrees of freedom
For a 95% interval each F point is the 97.5th percentile, one with k minus 1 degrees of freedom first and the other with those degrees of freedom swapped. The two points differ, 3.2232 and 13.9458 for 4 clusters of 32 in one group. With mean squares taken within two arms (HE-AS-CLUE-007), k minus 2 takes the place of k minus 1 in both points (derived). For 4 clusters of 32 in two arms the points are then 3.8008 and 39.4898, and the mean squares of HE-EX-CLUE-009 give limits of about minus 0.0188 and 0.6535. For 30 clusters of 30 in two arms the points are 1.6047 and 1.8403, and the mean squares of HE-EX-CLUE-010 give limits of about 0.0198 and 0.1110.
Worked examples
Interval for illustrative mean squares in a pilot of 4 clusters of 32
Uses the illustrative mean squares that return the 0.017 of the Killip case study, with the 4 clusters of 32 taken as one group on 3 and 124 degrees of freedom. The Killip trial had 2 physicians in each of 2 arms, where mean squares taken within arms have 2 and 124 degrees of freedom and wider limits (HE-AS-CLUE-011). The interval runs well below and well above that estimate, so 4 physicians alone would say little about rho. Killip and colleagues print no interval, and this one is computed here.
MSB = 1.5534; MSW = 1; m = 32; F_a = 3.2232; F_b = 13.9458; F_0 = 1.5534; F_L = 0.4819; F_U = 21.6634; rho_L = -0.0165; rho_U = 0.3924
Interval for illustrative mean squares in 30 practices of 30 patients
Uses the mean squares of HE-EX-CLUE-005, with the 30 practices taken as one group on 29 and 870 degrees of freedom. The trial in the article splits its practices between two arms, where 28 and 870 degrees of freedom apply (HE-AS-CLUE-011). The estimate of 0.05 lies inside an interval that excludes 0. The figures are illustrative.
MSB = 1225000; MSW = 475000; m = 30; F_a = 1.5936; F_b = 1.8185; F_0 = 2.5789; F_L = 1.6183; F_U = 4.6898; rho_L = 0.0202; rho_U = 0.1095
Interval for the Shrout and Fleiss one-way table
Uses BMS of 11.24 and WMS of 6.26 from their Table 3, with 5 and 18 degrees of freedom. Their paper gives the method, and the limits here are computed from it. The interval is wide around the estimate of 0.1659 with only six targets.
MSB = 11.24; MSW = 6.26; m = 4; F_a = 3.382; F_b = 6.3619; F_0 = 1.7955; F_L = 0.5309; F_U = 11.423; rho_L = -0.1329; rho_U = 0.7227
Observed F ratio equal to the F point as a limiting case
When F_0 equals F_a the lower limit is exactly 0, the boundary of the test that rho differs from zero. The figures are illustrative and the case checks an implementation.
MSB = 3.2232; MSW = 1; m = 32; F_a = 3.2232; F_b = 13.9458; F_0 = 3.2232; F_L = 1; F_U = 44.9501; rho_L = 0; rho_U = 0.5787
Common errors
Same F point used for both limits of the correlation interval
The upper limit uses the F point with degrees of freedom swapped. For 4 clusters of 32, using 3.2232 for both limits gives an upper limit of 0.1113 in place of 0.3924 (derived), so the upper side of the interval is about a quarter of its true length.
Shrout and Fleiss letters confused with cluster notation
In Shrout and Fleiss, k is the ratings per target and n the number of targets, while the article has k clusters of m people. Putting 4 clusters in the place of the cluster size in the first worked example gives limits of minus 0.1488 and 0.8378 in place of minus 0.0165 and 0.3924 (derived).
Estimate from a small pilot treated as the known correlation
CONSORT notes that rho is often not known at the planning stage and is only estimated with error after a trial. In the first worked example, the upper limit of 0.3924 gives the Design Effect factor of about 13.16 with 32 people per cluster, against 1.527 at the estimate of 0.017, so the 128 people could carry the information of about 10 rather than 84 (derived).
Sources
Shrout and Fleiss on the F test and confidence interval for one-way data
Shrout PE, Fleiss JL. Intraclass correlations: uses in assessing rater reliability. Psychological Bulletin. 1979;86(2):420-428. doi:10.1037/0033-2909.86.2.420. Page 424, within section Decision 1, gives the test F_0 = BMS / WMS on n minus 1 and n (k minus 1) degrees of freedom, and equations 4, 5 and 6 define F_U = F_0 x the F point on n (k minus 1) and n minus 1 degrees of freedom, F_L = F_0 / the F point on n minus 1 and n (k minus 1) degrees of freedom, and the interval (F_L minus 1) / (F_L + k minus 1) and (F_U minus 1) / (F_U + k minus 1). The Case 1 model of the same paper assumes normal target effects and independent normal residuals. Their k is m here and their n is the number of clusters.
CONSORT cluster extension on estimating the correlation with error
Campbell MK, Piaggio G, Elbourne DR, Altman DG. Consort 2010 statement: extension to cluster randomised trials. BMJ. 2012;345:e5661. doi:10.1136/bmj.e5661. Box 2, Methodological considerations in cluster randomised trials, says that rho is typically small, is often not known when a trial is planned, and is only estimated with error after a trial is completed.
Canonical Identity
Stable URI · Machine-readable · Resolvable · CC BY 4.0
