Good point! [Power / Sample Size]

posted by intuitivepharma – India, 2015-08-19 09:47 (3464 d 20:33 ago) – Posting: # 15297
Views: 11,262

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,380 posts in 4,914 threads, 1,662 registered users;
26 visitors (0 registered, 26 guests [including 10 identified bots]).
Forum time: 05:21 CET (Europe/Vienna)

Skill is a function of chance.
It’s an intuitive best-use of chance situations.    Philip K. Dick

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