Skip to main content
. Author manuscript; available in PMC: 2024 May 20.
Published in final edited form as: Stat Med. 2023 Mar 6;42(11):1802–1821. doi: 10.1002/sim.9700

TABLE 3.

Design of a confirmatory cluster randomized trial (CRT) accounting for missing outcome data based on a single fully observed baseline binary variable

Estimation of parameters from the pilot CRT data

Xki

1 community πˆ1=PˆXki=1=Σk=1KΣi=1m1-1Σk=1KΣi=1mIXki=1 0.67
2 elsewhere πˆ2=PˆXki=2=Σk=1KΣi=1m1-1Σk=1KΣi=1mIXki=2 0.33

Rki, Xki, Zk

1 observed, 1 community, 1 direct delivery expit(βˆ11)=PˆRki=1|Xki=1,Zk=1=Σk=1KΣi=1mIXki=1Zk-1Σk=1KΣi=1mRkiIXki=1Zk 0.61
1 observed, 2 elsewhere, 1 direct delivery expit(βˆ21)=PˆRki=1|Xki=2,Zk=1=Σk=1KΣi=1mIXki=2Zk-1Σk=1KΣi=1mRkiIXki=2Zk 0.96
1 observed, 1 community, 0 standard testing expit(βˆ10)=PˆRki=1|Xki=1,Zk=0=Σk=1KΣi=1mIXki=11-Zk-1Σk=1KΣi=1mRkiIXki=11-Zk 0.57
1 observed, 2 elsewhere, 0 standard testing expit(βˆ20)=PˆRki=1|Xki=2,Zk=0=Σk=1KΣi=1mIXki=21-Zk-1Σk=1KΣi=1mRkiI(Xki=2)(1-Zk) 0.97

Yki, Xki, Zk

1 HIV test, 1 community, 1 direct delivery μˆ11=EˆYki|Xki=1,Zk=1=Σk=1KΣi=1mRkiIXki=1Zk-1Σk=1KΣi=1mRkiIXki=1ZkYi 0.94
1 HIV test, 2 elsewhere, 1 direct delivery μˆ21=EˆYki|Xki=2,Zk=1=Σk=1KΣi=1mRkiIXki=2Zk-1Σk=1KΣi=1mRkiIXki=2ZkYi 0.98
1 HIV test, 1 community, 0 standard testing μˆ10=EˆYki|Xki=1,Zk=0=Σk=1KΣi=1mRkiIXki=11-Zk-1Σk=1KΣi=1mRkiIXki=11-ZkYi 0.85
1 HIV test, 2 elsewhere, 0 standard testing μˆ20=EˆYki|Xki=2,Zk=0=Σk=1KΣi=1mRkiIXki=21-Zk-1Σk=1KΣi=1mRkiIXki=21-ZkYi 0.94

Yki, Zk

1 HIV test, 1 direct delivery μ^1=E^YkiZk=1=k=1Ki=1mZkRkie^1ki11k=1Ki=1mZkRkie^1ki1Yki 0.95
1 HIV test, 0 standard testing μ^0=E^YkiZk=0=k=1Ki=1m1ZkRkie^0ki11k=1Ki=1m1ZkRkie0ki1Yki 0.88

δ

intercluster correlation δ^=co^rrYki,Ykj=k=1KijRkiRkj(Zke1ki1e1kj1+1Zke0ki1e0kj1}1k=1KijRkiRkjZke1ki1e1kj1Ykiμ^1Ykjμ^1μ^11μ^1+1Zke0ki1e0kj1Ykiμ^0Ykjμ^0μ^01μ^0 0.36

Sample size calculation for a confirmatory CRT

IPRW design component τCIPRW=c=12κ1π^cμ^11μ^12μ^c11μ^c1expit(β^c1)+μ^c1μ^12+c=12κ1π^cμ^01μ^02μ^c01μ^c0expit(β^c0)+μ^c0μ^02+(m1)δ^μ^11μ^11+μ^01μ^012 214.6
number of individuals nC-IPRW=τC-PPWz0.9+z0.9752/logitμˆ1-logitμˆ02 2150
number of clusters KC-IPRW=2nC-IPRW/2/m 360

I(.) is the indictor function.
Xki is the covariate ‘Where do you get your healthcare?’ with answer choices 1 ‘community clinic’ or 2 ‘elsewhere’.
Zk is the intervention group: 1 direct delivery of HIV self-tests to sex workers or 0 refer sex workers to standard HIV testing.
Rki is the observed indicator: 1 sex worker’s HIV testing status is observed or 0 sex worker’s HIV testing status is missing.
Yki is the outcome: 1 sex worker had a HIV test and 0 sex worker did not have a HIV test.