Good point! [Power / Sample Size]

posted by intuitivepharma – India, 2015-08-19 09:47 (3463 d 18:43 ago) – Posting: # 15297
Views: 11,255

Dear Helmut,

I am getting the following error while executing the R Code.

Error in res[j, 7] <- sprintf("%.5f", power.TOST(CV = CV, n = c(n.TR[j],  :
  number of items to replace is not a multiple of replacement length


And the out put is

n TR RT TR.do RT.do        prob power
 30 12 18     6     0 0.009530792  <NA>
 30 13 17     5     1        <NA>  <NA>
 30 14 16     4     2        <NA>  <NA>
 30 15 15     3     3        <NA>  <NA>
 30 16 14     2     4        <NA>  <NA>
 30 17 13     1     5        <NA>  <NA>
 30 18 12     0     6        <NA>  <NA>


Am I missing some thing during copy paste.

Thanks & Regards,
IP.

Complete thread:

UA Flag
Activity
 Admin contact
23,379 posts in 4,913 threads, 1,661 registered users;
216 visitors (0 registered, 216 guests [including 14 identified bots]).
Forum time: 03:31 CET (Europe/Vienna)

Statistics is the art of never having to say you’re wrong.
Variance is what any two statisticians are at.    C.J. Bradfield

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