B2 - 1 Sample Size
B2 - 1 Sample Size
“Reference” PRIMARY
ENDPOINT
treatment
(OUTCOME)
Randomized We compare
TOTAL PATIENTS Sample
allocation treatment effect
(Population)
“Active,
PRIMARY
experimental”
ENDPOINT
treatment
(OUTCOME)
Estadística Médica, Grau UB-UPC
Block 2 RCTs – 1.-Sample size
PRIMARY
Control treatment
ENDPOINT
(OUTCOME)
Randomized We compare
TOTAL PATIENTS Sample
allocation treatment effect
New PRIMARY
treatment ENDPOINT
(OUTCOME)
Estadística Médica, Grau UB-UPC
Block 2 RCTs – 1.-Sample size
H0 : mA - mB = 0
H1 : mA - mB = D or mB - mA = D (two-sided)
2 2 2
V(YA - YB) = V(YA) + V(YB) = s /n1 + s /n2 = 2s /n (given n1 = n2)
And so, each sample size should be: n = [ 2 s² (z1-a/2 - zb)²] / D² (Bilateral)
Estadística Médica, Grau UB-UPC 4
(Unilateral (one-side test): use z1-a)
Block 2 RCTs – 1.-Sample size
Example:
n = [ 2 ·8² (1'96 +0'84)²] / 10² =10’05 » 11 units per sample (round up)
N = 11x2 = 22.
Note: round up n (sample size per patient), not N (N must always be pair).
Exercises:
3) Can an observed (YA - YB) effect smaller to D still being statistically significant?
samples)
Altman Nomogram
Overall size N
Group size n
N = 2·n
standardized difference
10/8=1.25
Exercise:
Assume that =50 and you need to contrast H0: =0 versus H1: =10
Interpret.
Interpret.
2.- La potencia según el tamaño ilustra cómo crece al aumentar el tamaño (n), ya que disminuye la oscilación aleatoria (/n)
3.- Al mirar la potencia en función de (magnitud de H1) se ve el incremento de potencia que implica querer probar valores de más alejados de
H0
OPTIMAL DESIGN
Let: overall available cases N, K treatments and 1 Placebo, number of cases in treatment k=n and in placebo=nP , so N = nP +
K·n
V(YA - YB) is
Being:
or patient “idiosyncrasy” (among patients differences that remain constant on the two measured periods) with variance
or any measurement error and any patient non-stability either on the baseline (’ij) or on the outcome (ij) measurement period
V( = +
Exercise: proof it
And so, the correlation coefficient represents the proportion of variance among individuals to the total variance.
The correlation coefficient (amount of total variance shared by both determinations) can be interpreted as the amount of patient ‘idiosyncrasy’
i
If we further assume that the patient status doesn’t change, that is, that ij is only the result of the measurement error, the correlation
Usually, we assume .
In a two-arms (X=1, treated; and X=0, control) randomized clinical trial, the treatment effect is usually estimated by:
or the “ANCOVA” =
(+
q( y2 z2 2 y z )
q y2 q(1 2 ) y2
2q( 1 ) y2 *
q 1 / n0 1 / n1 *
Provided σY=σZ
It implies that is the most efficient estimator for any value of ρ and that is more efficient than for ρ>0.5, but less efficient in the opposite situation.
2
(Usually, we assume .) ,where σ Y = V (Y ij ¿
❑
Rationale: Many authors and pharmaceutical clinical trialists make the mistake of
analyzing change from baseline instead of making the raw follow-up measurements
requires many assumptions to hold (for more detail, see Frank’s post on this:
the “follow up” measurement as the outcome with a covariate adjustment for the
baseline value, as this seems to better match the question of interest: for two patients
/K
Furthermore:
Exercise:
In one particular population, with some specific measurement procedure, SDP has ² = (15mm/Hg)² and ² = (5mm/Hg)².
Assume trial objective =5mm/Hg and usual risk values (=0'05 two-sided y =0'2 one-sided).
6) Another alternative could be to study both treatments in the same patients, so that each patient provide two outcomes, one for each
7) Does it make sense to study the difference from baseline Z in the last design?
n= [2² (Z/2 +Z)²]/² = [ 2· 250 (1.96 +0.84)²]/5² ≈ 156.8 157 each arm
3) V(Y8-Z0 ) = 2 = 2·25 = 50
2 2
4) =225/250=0.9 V = (1- ) ²Y = (1-0.9 )·250 ≈ 47.5