What the heck‽ [Software]
❝ Looks to me like their examples also include a Potvin B run. I am not a veterinarian but ... I think they got it wrong as they plugged in the observed GMR from stage 1 and not 0.95 for stage 2 dimensioning.
Yes, that’s weird. Subsection II.D.3 of the guidance smells of copypasting from EMA’s GL (contrary to Method C which is generally suggested by the FDA). Furthermore,
The plan to use a two-stage approach should be pre-specified in the protocol along with the number of animals to be included in each stage and the adjusted significance levels to be used for each of the analyses.
I beg your pardon?Figure 1 of the supp. is Potvin’s B:
[…] sample size based on variance stage 1…
But in the paragraph below:[…] sample size based on the information derived at Stage 1.
But let’s continue:
SCENARIO: For the sake of this example, we will use the following Stage 1 assumptions:
- We estimate a residual error of 15% CV and a ratio of the test/reference means of 0.90.
- We will conduct Stage 1 with 20 subjects (10 per sequence).
For adj. α of 0.0294 a maximum inflation
of 0.053753 is detected at CV=20% and n1=12.
![[image]](img/uploaded/image271.png)
However, let’s believe in Mr Pocock.
library(PowerTOST)
sampleN.TOST(alpha=0.0294, CV=0.15, theta0=0.9, design="2x2x2")
+++++++++++ Equivalence test - TOST +++++++++++
Sample size estimation
-----------------------------------------------
Study design: 2x2 crossover
log-transformed data (multiplicative model)
alpha = 0.0294, target power = 0.8
BE margins = 0.8 ... 1.25
Null (true) ratio = 0.9, CV = 0.15
Sample size (total)
n power
26 0.802288
power.TOST(alpha=0.0294, CV=0.15, theta0=0.9, n=20)
[1] 0.6850327
Brilliant! They must love a second stage. Some more stuff about inflation & power:
library(Power2Stage)
power.2stage(method="B", alpha=c(0.0294, 0.0294), n1=20,
GMR=0.9, CV=0.15, targetpower=0.8, pmethod="nct",
usePE=FALSE, Nmax=Inf, theta0=1.25, nsims=1e6)
Method B: alpha (s1/s2)= 0.0294 0.0294
Futility criterion Nmax= Inf
CV= 0.15; n(stage 1)= 20; GMR= 0.9
BE margins = 0.8 ... 1.25
GMR= 0.9 and mse of stage 1 in sample size est. used
1e+06 sims at theta0= 1.25 (p(BE)='alpha').
p(BE) = 0.038733
p(BE) s1= 0.029144
pct studies in stage 2= 74.27%
Distribution of n(total)
- mean (range)= 27.4 (20 ... 80)
- percentiles
5% 50% 95%
20 26 42
With this CV, T/R, n1, and 0.0294 there will be no inflation. But that’s not true for other combinations. Overall power ~85% (~27 of studies will proceed to the second stage).
What if they want to adapt for the T/R of stage 1 (in the code above switch to
usePE=TRUE
)?Method B: alpha (s1/s2)= 0.0294 0.0294
Futility criterion Nmax= Inf
CV= 0.15; n(stage 1)= 20; GMR= 0.9
BE margins = 0.8 ... 1.25
PE and mse of stage 1 in sample size est. used
1e+06 sims at theta0= 1.25 (p(BE)='alpha').
p(BE) = 0.047555
p(BE) s1= 0.029144
pct studies in stage 2= 36.39%
Distribution of n(total)
- mean (range)= 203753.4 (20 ... 4375926130)
- percentiles
5% 50% 95%
20 20 5932
Still no inflation, but the sample sizes ring the alarm bell. Old story. Full adaption rarely ‘works’ in BE. This time the entire output for power:
Method B: alpha (s1/s2)= 0.0294 0.0294
Futility criterion Nmax= Inf
CV= 0.15; n(stage 1)= 20; GMR= 0.9
BE margins = 0.8 ... 1.25
PE and mse of stage 1 in sample size est. used
1e+05 sims at theta0= 0.9 (p(BE)='power').
p(BE) = 0.948
p(BE) s1= 0.68365
pct studies in stage 2= 26.73%
Distribution of n(total)
- mean (range)= 17250.8 (20 ... 1117221800)
- percentiles
5% 50% 95%
20 20 160
Oops! In the worst case almost the entire population of India? In the spirit of Karalis / Macheras let’s add a futility criterion limiting the total sample size. OK, why not 100? No inflation; power:
Method B: alpha (s1/s2)= 0.0294 0.0294
Futility criterion Nmax= 100
CV= 0.15; n(stage 1)= 20; GMR= 0.9
BE margins = 0.8 ... 1.25
PE and mse of stage 1 in sample size est. used
1e+05 sims at theta0= 0.9 (p(BE)='power').
p(BE) = 0.86378
p(BE) s1= 0.68365
pct studies in stage 2= 18.29%
Distribution of n(total)
- mean (range)= 27.3 (20 ... 100)
- percentiles
5% 50% 95%
20 20 68
Might work. Still not what the guidance wants – pre-specified sample size in both stages. Will they accept a maximum total sample size as a futility criterion? Does one have to perform the second stage in the pre-specified sample size even if the calculated one is lower?
Validation of chosen adjusted α (0.0272):
“Method B”, assumed T/R 90%, target power 80%
12 20 24 36 48 60
0.1 0.031667 0.027057 0.026990 0.027151 0.027106 0.027074
0.15 0.046101 0.036577 0.032393 0.027345 0.027106 0.027074
0.2 0.049838 0.046210 0.043916 0.036062 0.029193 0.027194
0.3 0.039896 0.048036 0.049104 0.047415 0.045185 0.042275
0.4 0.030938 0.035728 0.040070 0.048512 0.048743 0.047437
0.5 0.028471 0.029026 0.030577 0.038588 0.046841 0.049009
0.6 0.027897 0.027882 0.028254 0.030001 0.036409 0.044488
0.7 0.027576 0.027528 0.027789 0.027686 0.029420 0.034456
0.8 0.027430 0.027329 0.027578 0.027432 0.027694 0.028885
0.9 0.027352 0.027308 0.027633 0.027173 0.027348 0.027694
1 0.027275 0.027276 0.027640 0.027302 0.027268 0.027485
With an adj. α of 0.0272 a maximum inflation of 0.049838 is seen at CV=20% and n1=12.
Significance limit for 1e+06 simulations: 0.05036; no significant inflation seen.
The chosen adjusted α is justified within the assessed range of stage 1 sample sizes (12-60) and CVs (10-100%).
12 20 24 36 48 60
0.1 0.88303 0.94968 0.97642 0.99834 0.99992 1.00000
0.15 0.83337 0.84816 0.85456 0.91422 0.96897 0.99007
0.2 0.81034 0.82734 0.83347 0.83663 0.85491 0.90205
0.3 0.77531 0.80634 0.80897 0.82105 0.82504 0.82862
0.4 0.75923 0.78497 0.79476 0.81014 0.81775 0.82105
0.5 0.75205 0.77630 0.78163 0.79811 0.80779 0.81514
0.6 0.74976 0.77267 0.77753 0.78933 0.79713 0.80734
0.7 0.74873 0.77240 0.77691 0.78657 0.79120 0.79915
0.8 0.74768 0.77115 0.77602 0.78450 0.78980 0.79423
0.9 0.74564 0.77041 0.77521 0.78571 0.78838 0.79215
1 0.74505 0.77060 0.77473 0.78502 0.78649 0.79281
With an adj. α of 0.0272 a minimum power of 0.74505 is seen at CV=100% and n1=12.
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
![[image]](https://static.bebac.at/pics/Blue_and_yellow_ribbon_UA.png)
Helmut Schütz
![[image]](https://static.bebac.at/img/CC by.png)
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- reference dataset elba.romero 2013-07-02 05:08 [Software]
- Public datasets Helmut 2013-07-02 15:44
- Public datasets yjlee168 2013-07-03 03:10
- Public datasets elba.romero 2013-07-03 05:19
- Public datasets yjlee168 2013-07-03 13:11
- Challenging data sets Helmut 2013-07-03 16:32
- Fantastic idea? ⇒ Challenging data sets yjlee168 2013-07-04 08:06
- Fantastic idea! Helmut 2013-07-04 13:18
- Fantastic idea? ⇒ Challenging data sets yjlee168 2013-07-04 08:06
- Challenging data sets Helmut 2013-07-03 16:32
- Public datasets yjlee168 2013-07-03 13:11
- NIST; cross-validation Helmut 2013-07-03 14:28
- NIST; cross-validation yjlee168 2013-07-03 23:47
- NIST; cross-validation Helmut 2013-07-04 00:45
- NIST; cross-validation yjlee168 2013-07-03 23:47
- Public datasets elba.romero 2013-07-03 05:19
- Public datasets elba.romero 2013-07-03 05:10
- Public datasets yjlee168 2013-07-03 03:10
- Eight Reference Datasets (2×2×2 ☑) Helmut 2014-10-06 02:24
- What??? ElMaestro 2014-10-06 13:20
- link of electronic supplement material? yjlee168 2014-10-07 09:53
- link of electronic supplement material? nobody 2014-10-07 10:59
- Thanks! yjlee168 2014-10-07 11:35
- Thanks! nobody 2014-10-07 11:44
- Direct links & hint Helmut 2014-10-07 13:54
- Thanks! nobody 2014-10-07 11:44
- Thanks! yjlee168 2014-10-07 11:35
- Replicated designs are relevant, too ElMaestro 2014-10-07 12:36
- Replicated designs are relevant, too yjlee168 2014-10-07 13:00
- RSABE: SAS and PHX/WNL only? Helmut 2014-10-07 14:47
- for the future? yjlee168 2014-10-08 10:05
- Star Trek: The Next Generation Helmut 2014-10-09 00:26
- Star Trek: The Next Generation d_labes 2014-10-09 08:09
- Star Trek: The Next Generation nobody 2014-10-09 08:23
- Star Trek: The Next Generation yjlee168 2014-10-09 11:06
- Some comments ElMaestro 2014-10-09 11:52
- Some comments yjlee168 2014-10-09 12:18
- Proc MIXED - start value d_labes 2014-10-10 08:35
- Proc MIXED - start value ElMaestro 2014-10-10 11:44
- Proc MIXED - start value yjlee168 2014-10-11 21:09
- Proc MIXED - start value ElMaestro 2014-10-11 21:18
- Proc MIXED - start value d_labes 2014-10-10 08:35
- Some comments yjlee168 2014-10-09 12:18
- Optimizer settings Helmut 2014-10-09 14:08
- Optimizer settings nobody 2014-10-09 15:32
- Optimizer settings yjlee168 2014-10-09 18:14
- FDA’s model… Helmut 2014-10-09 18:34
- Some comments ElMaestro 2014-10-09 11:52
- Star Trek: The Next Generation Helmut 2014-10-09 00:26
- for the future? yjlee168 2014-10-08 10:05
- RSABE: SAS and PHX/WNL only? Helmut 2014-10-07 14:47
- Replicated designs are relevant, too yjlee168 2014-10-07 13:00
- link of electronic supplement material? nobody 2014-10-07 10:59
- Just received a letter… Helmut 2014-11-03 14:54
- 11 Reference Datasets (2-group parallel ☑) Helmut 2014-12-09 15:51
- Public datasets Helmut 2013-07-02 15:44