26038814-e7fe-40fa-8caa-5215f1cfc617.xls
A B C D E
1 UBC Sample Size Calculator
2 Dr Martin Schechter, Dept of Health Care and Epidemiology
3 Change numbers in light grey cells to correspond to your study assumptions.
4 Sample sizes needed are indicated in cells below, and will change when you change
5 numbers in the shaded cells.
6
7 alpha 0.05 0.05 0.05
8 beta 0.2 0.1 0.05
9
10
11 Clinical Trial P-events in controls 0.2 0.05 0.5
12 comparing P-events in treated 0.05 0.15 0.49
13 event rates
14 in two N-one-sided 71 171 54301
15 independent N-two-sided 87 205 65132
16 groups
17 of equal size
18 [FLEISS]
19
20
21
22 Clinical Trial P-events in controls 0.05 0.25 0.25
23 comparing P-events in treated 0.95 0.15 0.15
24 event rates ratio of control:treat 4 0.5 3
25 in two
26 independent N-one-sided (treat) 43 404 22804
27 groups of N-one-sided (controls) 170 202 68411
28 UNEQUAL size N-two-sided(treat) 56 493 27610
29 N-two-sided (controls) 226 247 82829
30
31
32
33 Clinical Trial P-events in controls 0.95 0.75 0.8
34 designed to P-events in treated 0.95 0.8 0.8
35 show signed maximum difference 0.05 0.1 0.1
36 EQUIVALENCE
37 between N-one-sided 268 1344 373
38 groups of N-two-sided 336 1641 445
39 equal size
Page 1
UBC Sample Size Calculator
Dr Martin Schechter, Dept of Health Care and Epidemiology
Change numbers in light grey cells to correspond to your study assumptions.
Sample sizes needed are indicated in cells below, and will change when you change
numbers in the shaded cells.
alpha 0.05 0.05 0.05
beta 0.2 0.1 0.05
Clinical Trial P-events in controls 0.2 0.05 0.5
comparing P-events in treated 0.05 0.15 0.55
event rates
in two N-one-sided 71 171 2196
independent N-two-sided 87 205 2628
groups
of equal size
[FLEISS]
Clinical Trial P-events in controls 0.05 0.25 0.25
comparing P-events in treated 0.95 0.15 0.15
event rates ratio of control:treat 4 0.5 3
in two
independent N-one-sided (treat) 43 404 912
groups of N-one-sided (controls) 170 202 2736
UNEQUAL size N-two-sided(treat) 56 493 1104
N-two-sided (controls) 226 247 3313
Clinical Trial P-events in controls 0.95 0.75 0.8
designed to P-events in treated 0.95 0.8 0.8
show signed maximum difference 0.05 0.1 0.1
EQUIVALENCE
between N-one-sided 268 1344 373
groups of N-two-sided 336 1641 445
equal size
Clinical Trial Mean-controls 3.7 41 23
comparing S.D.-controls 4.5 5 20
A Single Mean
from two Mean-treated 6.7 46 25
Independent
Samples
of EQUAL size N-one-sided 28 17 2164
with common N-two-sided 35 21 2598
variance
Clinical Trial Pre-post :controls 10 15 1.1
comparing baseline SD: controls 8 5 3.8
Paired Means
from two Pre-post: treated 20 20 5
Independent pre-post correlation 0.1 0.2 0.5
Samples
of EQUAL size N-one-sided 14 27 21
with common N-two-sided 18 34 25
variance
Clinical Trial Mean-controls 67.61 0.3 23
comparing S.D.-controls 19.1 1 20
A Single Mean
from two Mean-treated 57.61 0.1 25
Independent ratio of control:treated 2 8 3
Samples of
UNEQUAL size N-one-sided-controls 68 1927 4329
with common N-one-sided-treated 34 241 1443
variance N-two-sided-controls 86 2363 5195
N-two-sided-treated 43 295 1732
Clinical Trial Pre-post :controls 23 12 23
comparing baseline SD: controls 20 10 20
Paired Means
from two Pre-post: treated 25 6 25
Independent pre-post correlation 0.1 0.1 0.6
Samples of ratio of control:treated 4 2 3
UNEQUAL size
with common N-one-sided-controls 6955 193 4617
variance N-one-sided-treated 1739 96 1539
N-two-sided-controls 8825 236 5542
N-two-sided-treated 2206 118 1847
Clinical Trial control proportion (+:-) 0.3 0.38 0.38
involving
analysis of control proportion (-:+) 0.5 0.21 0.21
before-after
observations delta = P(+/-)-P(-/+) 0.5 0.1 0.1
on N pairs
using
McNemar's total N -one-sided 20 487 612
test total N -two-sided 25 599 737
Occupational Detectable Relative Risk 2 1.9 1.75
Cohort Study Event rate per 100000 100 330 1000
with rare
outcomes required events-1-sided 9 14 25
based on required events-2-sided 11 18 31
POISSON OR
[Beaumont] person years - 1-sided 9000 4242 2500
person years - 2-sided 11000 5556 3115
Clinical Trial lambda-experimental 0.14 0.3 0.22
with survival lambda-control 0.24 0.2 0.44
analysis
with limited fraction-experimental 0.5 0.5 0.67
recruitment fraction-control 0.5 0.5 0.33
and censoring
in UNEQUAL Time in years 10 5 5
groups
[LACHIN] N-experimental 82 251 147
N-control 82 251 73
---------- -------------------- ---------- ---------- ---------
extra median survival-exp 5.0 2.3 3.2
stuff median survival-cont 2.9 3.5 1.6
3-year survival%-exp 0.66 0.41 0.52
3-year survival%-cont 0.49 0.55 0.27
5-year survival%-exp 0.50 0.22 0.33
5-year survival%-cont 0.30 0.37 0.11
Case-control exposure prev. in controls 0.2 0.1 0.25
study with
groups of minimal detectable RR 1.5 2 2
equal size
(crude) n- one sided- per group 422 310 211
Schlesselman n - two-sided - per group 535 380 253
Case-control exposure prev. in controls 0.1 0.1 0.25
study with ratio of controls to cases 1 2 2
groups of minimal detectable OR 2.5 3 2
unequal size
(m controls n- one sided-cases 97 61 119
per case) n - two-sided - cases 121 73 139
Schlesselman
Case-control exposure prev. in controls 0.1266 0.05 0.25
study with ratio of controls to cases 8 3 1
groups of minimal detectable OR 3 3 2
unequal size
(m controls n- one sided-cases 36 117 204
per case) n - two-sided - cases 46 145 246
Schlesselman
MATCHED
Q-ALPHA1 -0.45 -0.45 -0.45
Q-ALPHA2 -0.475 -0.475 -0.475
Q-BETA -0.3 -0.4 -0.45
2.50662820 2.5066282 2.506628 2.5066282
-18.61500060 -18.615001 -18.615 -18.615
41.39119770 41.391198 41.3912 41.391198
-25.44106050 -25.441061 -25.44106 -25.44106
-8.47351090 -8.4735109 -8.473511 -8.473511
23.08336740 23.083367 23.08337 23.083367
-21.06224100 -21.062241 -21.06224 -21.06224
3.13082910 3.1308291 3.130829 3.1308291
-2.78718930 -2.7871893 -2.787189 -2.787189
4.85014130 4.8501413 4.850141 4.8501413
2.32121280 2.3212128 2.321213 2.3212128
3.54388920 3.5438892 3.543889 3.5438892
1.63706780 1.6370678 1.637068 1.6370678
R-ALPHA1 0.2025 0.2025 0.2025
X-ALPHA1 -0.1004093 -0.100409 -0.100409
R-ALPHA2 0.225625 0.225625 0.225625
X-ALPHA2 -0.0577098 -0.05771 -0.05771
R-BETA 0.09 0.16 0.2025
X-BETA -0.3444001 -0.193454 -0.100409
Z-ALPHA-ONE 1.6448409 1.644841 1.6448409
Z-ALPHA-TWO 1.9590949 1.959095 1.9590949
Z-BETA 0.8416212 1.281551 1.6448409
p-delta 0.15 -0.1 -0.05
p-bar 0.125 0.1 0.525
p-delta -0.9 0.1 0.1
p-s-bar 0.23 0.183333 0.225
p-delta 0 -0.05 0
p-bar 0.95 0.775 0.8
Qc 0.6666667 0.888889 0.75
Qe 0.3333333 0.111111 0.25
Qc 0.8 0.666667 0.75
Qe 0.2 0.333333 0.25
59 152 2156
75 187 2588
Q (1-ß) 0.3 0.4 0.45
R (1-ß) 0.09 0.16 0.2025
X (1-ß) 0.3444001 0.193454 0.1004093
Z (1-ß) 0.8416212 1.281551 1.6448409
P(mcnemar) 0.4 0.295 0.295
lambda-bar 0.19 0.25 0.2926
ø-lambda-bar 0.0653507 0.145618 0.1803414
ø-lambda-e 0.0424376 0.186688 0.1229927
ø-lambda-c 0.0927338 0.108731 0.3249306
p1 (for case control) 0.2727273 0.181818 0.4
pbar 0.2363636 0.140909 0.325
delta 0.0727273 0.081818 0.15
p1 (for case control) 0.2173913 0.25 0.4
pbar 0.1086957 0.083333 0.1333333
delta 0.1173913 0.15 0.15
P-MATCHED 0.75 0.75 0.6666667
m1 22.537925 30.35342 91.907408
m2 28.900521 37.67384 110.87242
P1 0.3030642 0.136364 0.4
Q1 0.6969358 0.863636 0.6
Q0 0.8734 0.95 0.75
P1Q0+P0Q1 0.3529283 0.172727 0.45
M1(num cases) 63.859781 175.7303 204.23868
M2 (num cases) 81.887794 218.1117 246.38315