Have you upgraded to R v4.0.3 yet? [Power / Sample Size]

posted by yjlee168 Homepage – Kaohsiung, Taiwan, 2020-10-19 02:16 (40 d 19:59 ago) – Posting: # 22023
Views: 916

(edited by yjlee168 on 2020-10-19 02:55)

Dear Helmut,

» However, I guess that simulations in VBA will be extremely slooow.

Perhaps. Maybe Dave can tell us more later. Well, it can be slow, but should not be that slooow.

» ...
» Sample size: 18
» Runtime (seconds):
» user system elapsed
» 0.14 0.01 0.15

I run the codes three times under R v4.0.3 and got:

Sample size: 18
Runtime (seconds):
   user  system elapsed
   0.11    0.00    0.13

Sample size: 18
Runtime (seconds):
   user  system elapsed
   0.09    0.01    0.10

Sample size: 18
Runtime (seconds):
   user  system elapsed
   0.11    0.00    0.11


a little bit faster. :-D I guess that you have not upgraded to R 4.0.3 yet. R v4.0.3 is simply faster (still my gut feeling :-D). I remember that your Xeon computer runs faster than my Windows, even than my Linux notebook last time. Is it the same computer?

» For paranoiacs: Ever heard of [image] macro viruses?

like Melissa? Yes, it's quite possible and should be very careful. But you know we cannot blame VBA. Bad guy is everywhere.

» I know of one company not allowing FARTSSIE…...

True. However, some time there is no need to talk to IT department to install R or anything else. Quite ironically.

» BTW, in v2.5 of last Tuesday Dave removed all reference-scaled methods and gives the code of PowerTOST in a box. ;-)

Thanks for the information.

All the best,
-- Yung-jin Lee
bear v2.8.9:- created by Hsin-ya Lee & Yung-jin Lee
Kaohsiung, Taiwan http://pkpd.kmu.edu.tw/bear
Download link (updated) -> here

Complete thread:

Activity
 Admin contact
21,216 posts in 4,427 threads, 1,482 registered users;
online 10 (0 registered, 10 guests [including 9 identified bots]).
Forum time: Saturday 21:16 CET (Europe/Vienna)

Science may be described as the art of systematic over-simplification –
the art of discerning what we may with advantage omit.    Karl R. Popper

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