Unbalanced [General Sta­tis­tics]

posted by d_labes  – Berlin, Germany, 2013-01-09 17:56 (4552 d 16:24 ago) – Posting: # 9806
Views: 8,379

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,424 posts in 4,927 threads, 1,688 registered users;
95 visitors (0 registered, 95 guests [including 13 identified bots]).
Forum time: 11:21 CEST (Europe/Vienna)

Complex, statistically improbable things are by their nature
more difficult to explain than
simple, statistically probable things.    Richard Dawkins

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