CVw in Phoenix RSABE-template and PowerTOST CI2CV() [Software]
❝ ❝ BTW, why do you need it?
❝
❝ Because I want to get CVw from a full replicate (n=10) pilot study and the a) CVw obtained with your equation (1) does not match (not even close) b) CVw obtained from the 90% CI with CVfromCI
(PowerTOST in R).
❝ CVw=SQRT(EXP((0.020549392+0.18248611)/2)-1)= 32.7%
❝ CVfromCI(lower=.80633903,upper=1.2274948,design="2x2x4",n=10)
❝ [1] 0.4048149
--> 40.5%
❝
❝ Why is there such a difference here between the two CVw? The study is balanced with complete data. Can the reason be a relatively big difference between variability of test and reference?
library(PowerTOST)
cat(sprintf("CVw = %.2f%%\n",
100 * CI2CV(lower = 0.80633903, upper = 1.2274948,
design = "2x2x4", n = 10, robust = TRUE)))
CVw = 36.90%
Typo in my original post corrected. THX!
I still don’t understand why you need \(\small{CV_\text{w}}\). Do you plan a study for ABE?
library(PowerTOST)
design <- c(rep("2x2x4", 3), "2x2x2")
method <- c("RSABE", "ABEL", rep("ABE", 2))
m.code <- c(1:2, rep(3, 2))
target <- 0.80
theta0 <- 0.95 # the PE in the pilot was 0.995 – extremely risky
s2wR <- 0.020549392
s2wT <- 0.18248611
CVwR <- mse2CV(s2wR)
CVwT <- mse2CV(s2wT)
CVw <- mse2CV((s2wR + s2wT) / 2)
# ‘Carved in stone’ approach for the CVs
# If heteroscedastic, the first element of the CV-vector
# in RSABE and ABEL is T and the second R
x <- data.frame(CVwR = CVwR, CVwT = CVwT, CVw = CVw,
method = method, design = design,
n = NA_integer_, power = NA_real_)
for (j in seq_along(m.code)) {
switch(m.code[j],
x[j, 6:7] <- sampleN.RSABE(CV = c(CVwT, CVwR), theta0 = theta0,
targetpower = target, design = design[j],
print = FALSE, details = FALSE)[8:9],
x[j, 6:7] <- sampleN.scABEL(CV = c(CVwT, CVwR), theta0 = theta0,
targetpower = target, design = design[j],
print = FALSE, details = FALSE)[8:9],
x[j, 6:7] <- sampleN.TOST(CV = CVw, theta0 = theta0,
targetpower = target, design = design[j],
print = FALSE)[7:8])
}
x[, c(1:3, 7)] <- signif(100 * x[, c(1:3, 7)], 4)
names(x)[c(1:3, 7)] <- c("CVwR(%)", "CVwT(%)", "CVw(%)", "power(%)")
print(x, row.names = FALSE)
CVwR(%) CVwT(%) CVw(%) method design n power(%)
14.41 44.74 32.69 RSABE 2x2x4 24 81.30
14.41 44.74 32.69 ABEL 2x2x4 24 82.76
14.41 44.74 32.69 ABE 2x2x4 24 82.86
14.41 44.74 32.69 ABE 2x2x2 46 80.87
Dif-tor heh smusma 🖖🏼 Довге життя Україна!
Helmut Schütz
The quality of responses received is directly proportional to the quality of the question asked. 🚮
Science Quotes
Complete thread:
- SAS code of partial replicate design pa1kumar.anna 2008-12-01 09:51 [Software]
- Etiquette Ohlbe 2008-12-01 10:45
- SAS code for what? d_labes 2008-12-02 09:17
- partial replicate = 3-period replicate Helmut 2008-12-03 15:42
- partial replicate = 3-period replicate MGR 2008-12-04 11:19
- 3-period replicate designs and SAS d_labes 2008-12-04 14:17
- Extra-reference or partial replicate design d_labes 2008-12-12 10:51
- Extra-reference or partial replicate design Helmut 2008-12-12 11:34
- Simple minded d_labes 2008-12-12 13:28
- Simple minded Helmut 2008-12-12 14:58
- SAS and WinNonlin d_labes 2008-12-12 15:44
- SAS and WinNonlin Helmut 2008-12-12 16:33
- SAS and WinNonlin BEQool 2024-07-29 09:38
- Phoenix RSABE-template Helmut 2024-07-29 13:29
- Phoenix RSABE-template BEQool 2024-07-29 19:47
- CVw in Phoenix RSABE-template Helmut 2024-07-30 09:15
- CVw in Phoenix RSABE-template BEQool 2024-07-30 10:56
- CVw in Phoenix RSABE-template and PowerTOST CI2CV()Helmut 2024-07-30 11:23
- CVw in Phoenix RSABE-template and PowerTOST CI2CV() BEQool 2024-07-31 05:49
- General ABE? mittyri 2024-07-31 18:25
- General ABE? BEQool 2024-08-01 05:45
- General ABE? mittyri 2024-07-31 18:25
- CVw in Phoenix RSABE-template and PowerTOST CI2CV() BEQool 2024-07-31 05:49
- CVw in Phoenix RSABE-template and PowerTOST CI2CV()Helmut 2024-07-30 11:23
- CVw in Phoenix RSABE-template BEQool 2024-07-30 10:56
- CVw in Phoenix RSABE-template Helmut 2024-07-30 09:15
- Phoenix RSABE-template BEQool 2024-07-29 19:47
- Phoenix RSABE-template Helmut 2024-07-29 13:29
- SAS and WinNonlin BEQool 2024-07-29 09:38
- SAS and WinNonlin Helmut 2008-12-12 16:33
- Switchability and Prescribability in WinNonlin MGR 2008-12-30 10:12
- PBE and IBE in WinNonlin Helmut 2008-12-30 16:04
- PBE and IBE in WinNonlin MGR 2008-12-31 07:52
- Switchability NPavan 2009-01-12 13:10
- PBE and IBE in WinNonlin MGR 2008-12-31 07:52
- PBE and IBE in WinNonlin Helmut 2008-12-30 16:04
- SAS and WinNonlin d_labes 2008-12-12 15:44
- Simple minded Helmut 2008-12-12 14:58
- Simple minded d_labes 2008-12-12 13:28
- Extra-reference or partial replicate design Helmut 2008-12-12 11:34
- Extra-reference or partial replicate design d_labes 2008-12-12 10:51
- partial replicate = 3-period replicate Helmut 2008-12-03 15:42