The ultimate crackpot iteration! [Two-Stage / GS Designs]

posted by Helmut Homepage – Vienna, Austria, 2017-08-20 15:11  – Posting: # 17720
Views: 23,524

Hi ElMaestro,

» GetNps(0.165) ##should be 9, right??

Rather 8.

library(PowerTOST)
sampleN.TOST(alpha=0.0294, CV=0.165, theta0=0.95,
             targetpower=0.8, method="shifted")


+++++++++++ 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
True ratio = 0.95,  CV = 0.165

Sample size (total)
 n     power
16   0.801537

Approximate power calculation with
shifted central t-distribution.


Cheers,
Helmut Schütz
[image]

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

Complete thread:

Activity
 Admin contact
20,249 posts in 4,261 threads, 1,397 registered users;
online 19 (0 registered, 19 guests [including 4 identified bots]).
Forum time (Europe/Vienna): 06:46 CET

Many people tend to look at programming styles and languages like religions:
if you belong to one, you cannot belong to others.
But this analogy is another fallacy.    Niklaus Wirth

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