Gutting PowerTOST [🇷 for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2018-11-02 11:50 (2421 d 15:16 ago) – Posting: # 19523
Views: 4,498

Hi GM,

not Detlew but answering anyway. ;-)

❝ I am trying to calculate the sample size for replicate design using R software with sampleN.RSABE.


So why are you not simply using it?

library(PowerTOST)
sampleN.RSABE(CV=0.4, theta0=0.9, targetpower=0.8, design="2x2x4")

If you want further information about the arguments and their defaults, type ?sampleN.RSABE in the R-console / R-Studio’s console or consult the online manual.

❝ I am a beginner of R software


If you want to dive into the code, be aware of R’s steep learning curve.

❝ […] but I tried to understand this.


OK, this is a laudable.

❝ There are some intermediate functions like .sampleN0, .sampleN0.2, .power.RSABE are involved.

❝ I got the informationn of first two functions from the same github. but not the third one.


.power.RSABE is contained in power_RSABE2L_isc.R.

Dif-tor heh smusma 🖖🏼 Довге життя Україна! [image]
Helmut Schütz
[image]

The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes

Complete thread:

UA Flag
Activity
 Admin contact
23,424 posts in 4,927 threads, 1,677 registered users;
42 visitors (0 registered, 42 guests [including 12 identified bots]).
Forum time: 04:06 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