d_labes ★★★ Berlin, Germany, 2010-04-07 12:04 (5551 d 16:29 ago) Posting: # 5029 Views: 7,841 |
|
Stephen Senn in Statistical issues in drug development: "Power: That which statisticians are always calculating but never have." Dear All! As discussed frequently here in the forum the CV used in the formulas / software for sample size estimation in BE studies are usually not "carved in stone" like Moses ten commandments (to cite the famous admin of this forum ![]() Helmut has described in his famous lectures how to combine such CV's and how to get an one-sided upper limit of the variability. With that upper limit one can then do a sensitivity analysis of the power / sample size. Just discovered a paper and a book written by the well-known S.A. Julious S. A. Julious, R. J. Owen "Sample size calculations for clinical studies allowing for uncertainty about the variance" Pharmaceutical Statistics, Vol 5(1), 29 - 37 (2006) Steven A. Julious "Sample Sizes for Clinical Trials" CRC press, Chapman/Hall, Boca Raton - London - New York © 2010 by Taylor and Francis Group, LLC ISBN 978-1-58488-739-3 The latter had in chapter 7 "Sample Size Calculations for Bioequivalence Trials" - 7.2.6 or 7.3.2 "Calculations Taking Account of the Imprecision of the Variance Used in the Sample Size Calculations" some handy formulas how to calculate (expected) power taking into account the uncertainty of the variance estimate. Covered are cross-over studies and parallel-group design. These formulas, approximate of course although not so named in the book, rely on the non-central t-distribution and are not so hard to code in any statistical software which has that distribution at hand, f.i. in R. Using the design helper functions of my super-duper code here now the additions for the Julious formulas: # approximate "expected" power according to Joulious book Homework: Calculate the "expected" power with diff=0.95, CV=0.3, dfCV=10 (12 subjects pilot) and n=40 and compare it to the 'classical' solution using D. Labes Eierlegende Wollmilchsau or ElMaestro's Apfelstrudel ![]() The story will continue within a short time. (Oh no, that guy. There we go again!) — Regards, Detlew |
d_labes ★★★ Berlin, Germany, 2010-04-07 12:41 (5551 d 15:51 ago) @ d_labes Posting: # 5030 Views: 6,489 |
|
Stephen Senn in Statistical issues in drug development: "The sample size calculation is an excuse for a sample size and not a reason" Dear All! Here part II of the story: Sample size
#------------------------------------------------------------------------------ BTW: If you copy this code take extremely care of the backslash-eating devil lurking round the corner ![]() Edit: Code corrected according to an Erratum of D Labes in a later post to allow easy copying. [Helmut] |
d_labes ★★★ Berlin, Germany, 2010-04-07 16:43 (5551 d 11:49 ago) @ d_labes Posting: # 5032 Views: 6,372 |
|
Dear All! Just seen: I had not delivered a helper function used here in my original posts. Sorry if anybody had inconvenience with that. Here the helper:
#--- return all properties of the design as dataframe --- — Regards, Detlew |
yjlee168 ★★★ ![]() ![]() Kaohsiung, Taiwan, 2010-04-08 11:10 (5550 d 17:22 ago) (edited on 2010-04-08 13:43) @ d_labes Posting: # 5035 Views: 6,406 |
|
Dear d_labes, Thanks for your great efforts. I just wonder if there is any way to VALIDATE (or how to validate) this method, supposed we have imprecise/uncertain CV (how imprecise can it be allowed?) obtained from a pilot trial (not from the sequential two-staged design). There was no reference or example in Julious SA's text. I have not got the other reference yet that you've pointed here. But I'll get it lately. I was thinking the possibility to solve this using Bayesian inference approach recently. — All the best, -- Yung-jin Lee bear v2.9.2:- created by Hsin-ya Lee & Yung-jin Lee Kaohsiung, Taiwan https://www.pkpd168.com/bear Download link (updated) -> here |
d_labes ★★★ Berlin, Germany, 2010-04-08 12:04 (5550 d 16:29 ago) @ yjlee168 Posting: # 5036 Views: 6,388 |
|
Dear Yung-jin, ❝ ... I just wonder if there is any way to ❝ VALIDATE (or how to validate) this method Unfortunately Julious has not given worked examples in his book considering the case of uncertain variance. But he has given Inflation factors (factors to multiply the classical "carved in stone" sample sizes) on page 115. Here an excerpt with the usual powers:
------- alpha --------- But they are only for the case that the assumed true ratio is 1. ❝ ... imprecise/uncertain CV (how imprecise can it be allowed?) ... As you can see up to df(=m) around 75 there is still approximately a 5% higher sample size compared to the classical calculation depending on alpha, beta. How big this excess is for the true ratio assumed !=1 can be answered using the code supplied above. Note also the nearly doubling of the sample size for df=5 corresponding roughly to a CV from a pilot with 6 subjects! ![]() ❝ ... But I'll late. I was thinking the possibility to solve ❝ this using Bayesian inference approach recently. "He who comes too late will be punished by life." ![]() (Michail Gorbatschow in 1989 to Erich Honnecker shortly before the opening of the Berlin Wall) Julious has not given much details, not to say nearly nothing, about the theory behind his formulas. But I think its sort of Bayesian reasoning. Expected power (aka some sort of average) seems the power averaged over the distribution of the variability namely a chi-squared distribution we (Helmut) up to now used in sensitivity analysis aka upper confidence limit. — Regards, Detlew |
d_labes ★★★ Berlin, Germany, 2010-04-08 15:36 (5550 d 12:57 ago) @ yjlee168 Posting: # 5038 Views: 6,402 |
|
Dear bears, dear all, here some brief calculation results with 'true' ratio =1 and a classical 2x2 cross-over using the common acceptance limits 0.8 - 1.25:
sample size (alpha=0.05) Note that we cannot meet Joulious factors exactly because of the discrete nature of the sample size estimation (steps of 2, meeting target power with different excess). But we are very near of his theoretical derived factors (which do not depend on CV) of 1.652 for power=0.8 and 1.980 for power=0.9 ![]() Moreover it must be noted that Julious factors are derived with Z-quantiles instead of t-quantiles in the sample size formula i.e. are large sample results. Same calculations with ratio=0.95 but only for power=80%:
sample size (alpha=0.05) Stephen Senn in "Statistical issues in drug development": "Clinically relevant difference: That which is used to justify the sample size but will be claimed to have been used to find it." — Regards, Detlew |