Unbalanced [General Sta­tis­tics]

posted by d_labes  – Berlin, Germany, 2013-01-09 17:56 (4905 d 17:32 ago) – Posting: # 9806
Views: 9,672

Dear Helmut!

❝ With roundit=T I got 0.033605.

Me too.

❝ Same value if I switch lines 65–66 to R’s round(). With my original code I got (R’s rounding) 0.033786, but run-time was ~30 minutes.


Your observation that cround() and round() work equal if rounded to 4 decimals.

❝ BTW, couldn’t figure out how to modify the code for imbalanced sequences.


Described in the question for unbalanced designs.
Based on this:
power2.TOST(CV=0.3,n=c(4,7),theta0=1.25)
[1] 0.02718537
set.seed(123)
power.sim2x2(CV=0.3, n=c(4,7), GMR=1.25)
[1] 0.027217

Regards,

Detlew

Complete thread:

UA Flag
Activity
 Admin contact
23,654 posts in 4,992 threads, 1,571 registered users;
138 visitors (0 registered, 138 guests [including 20 identified bots]).
Forum time: 12:29 CEST (Europe/Vienna)

Always listen to experts.
They’ll tell you what can’t be done and why.
Then do it.    Robert A. Heinlein

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