Sequential Sample Size and Power Estimate in R [Power / Sample Size]

posted by xpresso – United States, 2023-09-19 15:40 (70 d 19:08 ago) – Posting: # 23720
Views: 1,002

Hi there! I am looking for insight into how to calculate power and sample size estimation for separate PK endpoints (Auclast, Aucinf, etc.). In particular, I am looking to randomly sample different sample sizes and estimate the power to pass for bioequivalence for each given sample size. For example, with 30 subjects (15 per arm) the power for this subset of samples to pass for bioequivalence would be ___ %.

I have already simulated the 1:1 parallel trial of 1,000 individuals and repeated the trial 10,000 times (denoted by the rep column below). I have been using the Rxode2 package in R to simulate, with wanting to calculate the power and sample size estimation based on their "Weight-based dosing example", seen here :

Below is what the dataset currently looks like:

Complete thread:

UA Flag
 Admin contact
22,811 posts in 4,783 threads, 1,642 registered users;
22 visitors (0 registered, 22 guests [including 8 identified bots]).
Forum time: 09:49 CET (Europe/Vienna)

Every man gets a narrower and narrower field of knowledge
in which he must be an expert in order to compete with other people.
The specialist knows more and more about less and less
and finally knows everything about nothing.    Konrad Lorenz

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