Gutting PowerTOST [R for BE/BA]

posted by Helmut Homepage – Vienna, Austria, 2018-11-02 10:50 (692 d 10:49 ago) – Posting: # 19523
Views: 2,313

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 🖖
Helmut Schütz
[image]

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

Complete thread:

Activity
 Admin contact
21,074 posts in 4,394 threads, 1,468 registered users;
online 3 (0 registered, 3 guests [including 2 identified bots]).
Forum time: Thursday 22:39 CEST (Europe/Vienna)

Enlightenment is man’s emergence from his self-imposed nonage
for which he himself was responsible.
Nonage is the inability to use one’s own intellect
without the direction of another.    Immanuel Kant

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