bkrao
☆    

India,
2015-08-06 11:12
(3514 d 16:14 ago)

Posting: # 15185
Views: 13,178
 

 Sample size justification [Design Issues]

Hi,
I need clarity in the sample size calculation. My straight question, "what is the maximum expected sample size (for two way crossover design) with the intra subject coefficient of variation of pilot study data around 15%. Kindly clarify.

I have the following data,

Observed Pilot study ISCV% - 12.29%

With the observed pilot study (two way crossover design) ISCV 12.29%, is it possible to expect the 15% ISCV or not for pivotal study design?

What should be the null ratio considerate for the same and under what circumstances we should go for widening of the null ration beyond the 95 - 105% limits or we can in all cases?

During sample size calculation, is there is any restriction to expect the null test/reference ratios in between 95.00 to 105.00% only? I wont feel so.

And also kindly let me know if there is any separate link to access the Diletti et. al. (1991) sample size calculation article.? If available, kindly share the same.

Thanks & Regards,

Balaga Koteswara Rao,
Cadila Pharmaceuticals Ltd,
Ahmedabad, India.
BE-proff
●    

2015-08-06 16:19
(3514 d 11:07 ago)

@ bkrao
Posting: # 15187
Views: 11,908
 

 Sample size justification

Hi,bkrao

PASS simulator says 18 subjects will be enough with power 90%

mean ratio can be given from your pilot study with 12% COV.

I think you can always refer to that pilot study to justify parameters selection for size calculation
d_labes
★★★

Berlin, Germany,
2015-08-06 17:25
(3514 d 10:01 ago)

@ BE-proff
Posting: # 15188
Views: 12,012
 

 PASS simulator?

Dear BE-proff,

❝ PASS simulator says ...


What is PASS simulator? What does it simulate?

IMHO for the question asked simulations are not the thing needed.
There is an analytic solution for the problem to calculate the power of a 2x2 crossover given the sample size, assumptions about the 'true' intra-subject CV and 'true' ratio T/R. It is described in the Diletti paper Balaga mentioned. That solution can be used to estimate the sample size.

BTW: I get using the R add-on package PowerTOST which uses the exact power formula based on Owen's Q:
library(PowerTOST)
sampleN.TOST(CV=0.15, targetpower=0.9, theta0=0.95)

+++++++++++ Equivalence test - TOST +++++++++++
            Sample size estimation
-----------------------------------------------
Study design:  2x2 crossover
log-transformed data (multiplicative model)

alpha = 0.05, target power = 0.9
BE margins        = 0.8 ... 1.25
Null (true) ratio = 0.95,  CV = 0.15

Sample size (total)
 n     power
16   0.926021


@Balaga:
There are some lectures/presentations given by Helmut on the topic 'Power/Sample size' which I highly recommend you.
Moreover there is an extra category in this forum 'Power / sample size' with numerous discussions for your question(s).

Regards,

Detlew
BE-proff
●    

2015-08-07 22:08
(3513 d 05:18 ago)

@ d_labes
Posting: # 15195
Views: 11,616
 

 PASS simulator?

Dear d_labes

❝ What is PASS simulator? What does it simulate?


I meant NCSS PASS- special soft for sample size calculation.
Why simulation?
I have always thought that PASS calculates via simulation. Am I mistaken? :confused:

Sample size (total)

 n     power

16   0.926021


PASS returns the same result! :-D


Edit: Full quote removed. Please delete everything from the text of the original poster which is not necessary in understanding your answer; see also this post! [Helmut]
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2015-08-08 04:32
(3512 d 22:53 ago)

@ BE-proff
Posting: # 15196
Views: 11,825
 

 Owen’s Q | noncentral t | shifted central t

Hi BE-proff,

❝ I have always thought that PASS calculates via simulation. Am I mistaken? :confused:


Yes. The documentation of PASS refers to Julious1 (see esp. pp1961–2). Given that, the approxi­ma­tion by the noncentral t-distribution is used. Example 2 from PASS’ manual: 2×2 crossover, target power 0.90, α 0.05, acceptance range 0.80–1.25, θ0 1, CV 0.25:

═══════════════════════════════════════════════════
                    n     power     method
═══════════════════════════════════════════════════
Table VII¹         28  ≥0.90     noncentral t
───────────────────────────────────────────────────
PASS 14            28   0.9023   noncentral t
───────────────────────────────────────────────────
PowerTOST 1.2-07   28   0.902260 exact
                   28   0.902260 noncentral t
                   30   0.918776 shifted central t
───────────────────────────────────────────────────
FARTSSIE 1.7       28   0.902260 noncentral t
───────────────────────────────────────────────────
StudySize 2.01     28   0.90221  ?
                   28   0.9045   10,000 simulations
                   28   0.9023   100,000 sim’s
                   28   0.9022   1,000,000 sim’s
                   28   0.9022   9,999,000 sim’s
───────────────────────────────────────────────────
EFG 2.01           28   0.9023   noncentral t
                   28   0.9008   10,000 sim’s
                   28   0.9026   100,000 sim’s
                   28   0.9023   1,000,000 sim’s
                   28   0.9024   9,999,000 sim’s
═══════════════════════════════════════════════════

For common ranges the noncentral t is a very good approximation of the exact method (Owen’s Q-func­tions)2. The latter were used in Diletti’s paper3. The shifted central t-distribution4 gives some­times lower power and therefore, higher samples sizes5. Unnecessarily conservative.
Only StudySize and ElMaestro’s EFG have the option to simulate studies (see here) which should asymp­totically approach the true value.


  1. Julious SA. Sample sizes for clinical trials with Normal data. Stat Med. 2004;23(12):1921–86. doi:10.1002/sim.1783.
  2. Owen DB. A special case of a bivariate non-central t-distribution. Biometrika. 1965;52(3/4):437–46. doi:10.1093/biomet/52.3-4.437.
  3. Diletti E, Hauschke D, Steinijans VW. Sample size determination for bioequivalence assessment by means of confidence intervals. Int J Clin Pharm Ther Toxicol. 1991;29(1):1–8. PMID 2004861.
  4. Kraemer HC, Paik M. A Central t Approximation to the Noncentral t Distribution. Technometrics. 1979;21(3):357–60. doi:10.1080/00401706.1979.10489781.
  5. Hauschke D, Steinijans VW, Diletti E, Burke M. Sample Size Determination for Bioequivalence Assessment Using a Multi­pli­ca­tive Model. J Pharmacokin Biopharm. 1992;20(5):557–61. PMID 1287202

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
BE-proff
●    

2015-08-09 17:36
(3511 d 09:50 ago)

@ Helmut
Posting: # 15198
Views: 11,404
 

 Owen’s Q | noncentral t | shifted central t

Dear Helmut,

Thanks a lot for clarification!
Looks like it is time for me to start learning R ;-)
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2015-08-09 18:40
(3511 d 08:46 ago)

@ BE-proff
Posting: # 15199
Views: 11,460
 

 PowerTOST crash-course

Hi BE-proff,

❝ Looks like it is time for me to start learning R ;-)


Not necessary (here). Install [image] and package PowerTOST from one of the CRAN-mirrors. Then load the library by typing library(PowerTOST) in the R-console.
For an overview of available functions type help(package=PowerTOST) or for the one we are using here help(sampleN.TOST). The order of parameters is not important (here as given in my previous post); type:

sampleN.TOST(design="2x2", targetpower=0.9, alpha=0.05, theta1=0.8, theta2=1.25,
  theta0=1, CV=0.25, method="exact")

Will give:

+++++++++++ Equivalence test - TOST +++++++++++
            Sample size estimation
-----------------------------------------------
Study design:  2x2 crossover
log-transformed data (multiplicative model)

alpha = 0.05, target power = 0.9
BE margins        = 0.8 ... 1.25
Null (true) ratio = 1,  CV = 0.25

Sample size (total)
 n     power
28   0.902260

Some of the values are sampleN.TOST’s defaults (design="2x2", alpha=0.05, theta1=0.8, theta2=1.25, method="exact"). You get the same output with

sampleN.TOST(targetpower=0.9, theta0=1, CV=0.25)

For the approximations try method="noncentral" or method="shifted".
The most common settinge are targetpower=0.8 and theta0=0.95 (therefore, defaults as well). In such cases it is enough to type just:

sampleN.TOST(CV=0.20)

;-)

You can also directly copy/paste code which is posted here to the R-console. Saves time and avoids errors. You can paste the code to any text-file and save it with the extension .R
To execute it: In the R-console: File > Source R code…

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
d_labes
★★★

Berlin, Germany,
2015-08-10 13:30
(3510 d 13:56 ago)

@ Helmut
Posting: # 15211
Views: 11,405
 

 Owen’s Q | noncentral t | shifted central t - PASS?

Dear Helmut,

❝ ...The documentation of PASS refers to Julious1 (see esp. pp1961–2). Given that, the approxi­ma­tion by the noncentral t-distribution is used.


IMHO here you err. They also refer to Phillips. And this would mean Owen's Q or some sort of.
Since non-central t is a very good approximation in most not-extrem cases it's not that easy to find an example for a numeric inspection.
But remember our Captn's extremal question: power in a 2,2,2-BE trial at N=6, CV=65% and T/R=95% which lead to such famous R-implementations like "EatMyShorts" and "Apfelstrudel" :-D. And was also the jump start of PowerTOST.

Method                power
PowerTOST exact       0.00162
PowerTOST nct         0       (forced to zero, naively calculated negative)
PowerTOST shifted t   0       (forced to zero)
PASS 12               0.00162 


On the other hand PASS uses in the module for "Higher-Order Cross-Over Design" the crude shifted central t-approximation as described in the help pages, although they refer also to Phillips, but later to Chow and Liu (2000?, 1999)*. Numerical inspection gives not so good agreement with f.i. their example 1:
Design = 2x2x3, theta0=0.96, CV=0.4
                PowerTOST
n    PASS12  shifted t  exact   
10   0       0         0.02852
20   0.3051  0.30603   0.31264 
30   0.5858  0.58615   0.58895
40   0.7483  0.74840   0.75025 
...

The reason of the not so good numerical agreement is the different degrees of freedom. PASS uses a model with carry-over included exactly as described in the literature cited below* which reduces the df by 1 compared to PowerTOST.


*Chow, S.C. and Liu, J.P.
Design and Analysis of Bioavailability and Bioequivalence Studies.
Marcel Dekker. New York 1999

Chen, K.W.; Chow, S.C.; and Li, G.
A Note on Sample Size Determination for Bioequivalence Studies with Higher-Order Crossover Designs.
J. Pharmacokinetics and Biopharmaceutics, Volume 25, No. 6, pages 753-765. 1997

Regards,

Detlew
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2015-08-07 03:21
(3514 d 00:05 ago)

@ bkrao
Posting: # 15189
Views: 11,998
 

 Sample size justification

Hi Balaga,

❝ "what is the maximum expected sample size (for two way crossover design) with the intra subject coefficient of variation of pilot study data around 15%.


It depends. ;-)

❝ I have the following data,

❝ Observed Pilot study ISCV% - 12.29%


Sample size of the pilot?

❝ With the observed pilot study (two way crossover design) ISCV 12.29%, is it possible to expect the 15% ISCV or not for pivotal study design?


Yes. Once you’ll tell us the sample size of the pilot maybe more about it…

❝ What should be the null ratio considerate for the same and under what circumstances we should go for widening of the null ration beyond the 95 - 105% limits or we can in all cases?


If you are not dealing with a HVD/HVDP and the GMR in the pilot was within this range, fine. Otherwise expecting a larger deviation is not a bad idea.

❝ During sample size calculation, is there is any restriction to expect the null test/reference ratios in between 95.00 to 105.00% only? I wont feel so.


Correct. BTW, power curves are symmetric around 0 in the log-domain. Therefore, you get the same power at 95% and at 1/95% ~105.26% (log ±0.051293). If you expect a 5% deviation of T from R (and are not sure about the direction), always estimate the sample size at 95%.

❝ […] if there is any separate link to access the Diletti et. al. (1991) sample size calculation article.?


Check your [image].
IMHO, Diletti’s “Table 1” is of historic interest only (too wide step sizes).

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
bkrao
☆    

India,
2015-08-07 08:06
(3513 d 19:20 ago)

@ Helmut
Posting: # 15191
Views: 11,770
 

 Sample size justification

We have enrolled with the sample size of 14 and considered the 13 subjects for final statistical analysis.

Thank you Helmut for your valuable suggestions.


Why we need to expect the Null (true) ratio = 0.95 only?


Edit: Merged with a later (deleted) post. You can edit your posts within 24 hours (see the Forum’s FAQ #3). [Helmut]
Helmut
★★★
avatar
Homepage
Vienna, Austria,
2015-08-07 15:53
(3513 d 11:33 ago)

@ bkrao
Posting: # 15193
Views: 12,005
 

 Guesstimates

Hi Balaga,

❝ ❝ Observed Pilot study ISCV% - 12.29%

❝ We […] considered the 13 subjects for final statistical analysis.

❝ ❝ […] is it possible to expect the 15% ISCV or not for pivotal study design?


Let’s consider the CV first. Calculate the upper confidence limit of the CV you observed in the pilot. Then you could calculate the probability of a CV which is ≥15%. R-code:

library(PowerTOST)
CV     <- 0.1229 # observed
n      <- 13     # sample size (crossover)
alpha  <- 0.05   # default
target <- 0.15   # to explore
# 1. Upper 1-alpha CL of the CV
# -----------------------------
ucl    <- CVCL(CV, df=n-2, alpha=alpha)[["upper CL"]]
# 2. Find the alpha which gives an upper CL = target CV
# -----------------------------------------------------
f      <- function(x) CVCL(CV, df=n-2, alpha=x)[["upper CL"]]-target
p      <- uniroot(f, interval=c(1e-8, 0.5), tol=1e-6)$root
cat(paste0("Sample size: ", n, ", observed CV: ", 100*CV, "%",
  "\nUpper confidence limit of CV: ", round(100*ucl, 2),
  "% (\u03b1 ", alpha, ")", "\nProbability to expect a CV of \u2265",
  round(100*target, 2), "%: ~", signif(p, 2), "\n"))

I got:

Sample size: 13, observed CV: 12.29%
Upper confidence limit of CV: 19.16% (α 0.05)
Probability to expect a CV of ≥15%: ~0.24

In other words, if you plan the pivotal study with a CV of 12.29%, there is a ~24% chance that the ob­served one will be at least 15% (thus compromising power). You can plug in any α you want in the function CVCL(). Let’s say you want to have a 90% chance (α 0.1):

cat(sprintf("%.2f%%%s", 100*CVCL(CV, df=n-2, alpha=0.1)[["upper CL"]], "\n"))
17.32%

Some people use an α of 0.2 (similar to the commonly used producer’s risk):

cat(sprintf("%.2f%%%s", 100*CVCL(CV, df=n-2, alpha=0.2)[["upper CL"]], "\n"))
15.45%


❝ Why we need to expect the Null (true) ratio = 0.95 only?


I never said that. The θ0 is unforgiving. Power curves are relatively flat close to 1, but become in­creas­ing­ly steep further away than ±5%. Had you any chance to look at my presentations as Detlew sug­gest­ed? What does the 90% CI of a BE-study tell us? That the true ratio lies with a probability of 0.9 some­where within its CI. Let’s assume the best (you observed a GMR of 1 in the pilot):

round(100*CI.BE(alpha=0.05, pe=1, CV=0.1229, n=13, design="2x2"), 2)
 lower  upper
 91.74 109.01

The true ratio might by ~9% away from 1. If you plugin a point estimate of 0.95, the lower CL is ~13% away and with a PE of 0.90 already ~17%… Which ratio and CV you use in your sample size estimation is a mix­ture of statistics, guesswork, and gut-feeling. Sorry. See what Anders Fuglsang wrote* on the topic.

Yet another story is the measured content. The EMA allows a dose-correction only if you provide a sound justi­fi­ca­tion that it was impossible to find a batch of the reference which differs ≤5% from the test. Otherwise, any measured difference is ignored (i.e., DT ≡ DR has to be assumed). No analytical method is “perfect”. Let’s presume an amazing method (accuracy 100% and imprecision ±2.5%):

alpha <- 0.05
mean  <- c(97.5, 100, 102.5)
CV    <- rep(2.5, 3)
sd    <- 100*CV/mean
lower <- qnorm(p=alpha/2,   mean=mean, sd=sd)
upper <- qnorm(p=1-alpha/2, mean=mean, sd=sd)
cat("Measured contents (%)   :", sprintf("%6.2f ", mean),
"\nCV of the method (%)    :  ", unique(CV),
"\nSD of means             :", sprintf("%6.2f ", sd),
paste0("\n\u03b1 level                 :  ", alpha, " (", 100*(1-alpha), "% CI)"),
"\nLower CL of contents (%):", sprintf("%6.2f ", lower),
"\nUpper CL of contents (%):", sprintf("%6.2f ", upper), "\n")

I got:

Measured contents (%)   :  97.50  100.00  102.50
CV of the method (%)    :   2.5
SD of means             :   2.56    2.50    2.44
α level                 :   0.05 (95% CI)
Lower CL of contents (%):  92.47   95.10   97.72
Upper CL of contents (%): 102.53  104.90  107.28

Do you get the idea?
Rule of thumb for a ~95% CI: x±2(100CV%/x). Talk to your analyst(s) about what to expect…

I think it is much more interesting to live with uncertainty
than to live with answers that might be wrong.
    Richard Feynman



  • Fuglsang A. Pilot and Repeat Trials as Development Tools Associated with Demonstration of Bioequivalence. AAPS J. 2015;17(3):678–83. doi 10.1208/s12248-015-9744-6

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
bkrao
☆    

India,
2015-08-08 08:03
(3512 d 19:23 ago)

@ Helmut
Posting: # 15197
Views: 11,596
 

 Guesstimates

Thanks you very much Helmut and all others who shared their valuable suggestions and spent time.

Regards,
Balaga Koteswara Rao
jag009
★★★

NJ,
2015-08-10 22:08
(3510 d 05:18 ago)

@ bkrao
Posting: # 15215
Views: 11,281
 

 Guesstimates

Hi Balaga,

Sorry for the off topic question. Do you happen to know Bhaswat Chakraborty?

Thanks
John
bkrao
☆    

India,
2015-08-10 22:44
(3510 d 04:42 ago)

@ jag009
Posting: # 15216
Views: 11,372
 

 Guesstimates

Ha,

He is my overall head. I knew him. Off course he even knows me. He is very great, knowledgeable person.

Why so..?

Thanks & Regards,
Balaga Koteswara Rao.


Edit: Moved from a direct e-mail sent to me. [Helmut]
UA Flag
Activity
 Admin contact
23,409 posts in 4,921 threads, 1,670 registered users;
17 visitors (0 registered, 17 guests [including 2 identified bots]).
Forum time: 02:26 CET (Europe/Vienna)

Ignorance more frequently begets confidence
than does knowledge.    Charles Darwin

The Bioequivalence and Bioavailability Forum is hosted by
BEBAC Ing. Helmut Schütz
HTML5