Pooling – example [Power / Sample Size]
❝ Let's say I have results of 3 studies (imagined):
❝ n=24, CV=0.16
❝ n=36, CV=0.28
❝ n=18, CV=0.14
❝
❝ How to write R-code in this case to calculate CV pooled?
Adapting my code from above:
library(PowerTOST)
CV <- c(0.16, 0.28, 0.14)
n <- c(24, 36, 18)
source <- c("study 1", "study 2", "study 3")
CVdata <- data.frame(CV, n, rep("2x2", length(source)), source)
names(CVdata) <- names(CVdata) <- c("CV", "n", "design", "source")
print(CVdata, row.names=FALSE); print(CVpooled(CVdata, alpha=0.2), verbose=T)
CV n design source
0.16 24 2x2 study 1
0.28 36 2x2 study 2
0.14 18 2x2 study 3
Pooled CV = 0.221 with 72 degrees of freedom
Upper 80% confidence limit of CV = 0.2391
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:
- Why do we need pooled CV? BE-proff 2016-08-24 08:48 [Power / Sample Size]
- Maximum CV might be misleading Helmut 2016-08-24 12:07
- Maximum CV might be misleading BE-proff 2016-08-26 10:41
- Pooling – exampleHelmut 2016-08-26 11:34
- Pooling – example BE-proff 2016-12-28 14:37
- in my protocols… Helmut 2016-12-29 12:27
- Pooling – example BE-proff 2016-12-28 14:37
- Pooling – exampleHelmut 2016-08-26 11:34
- Maximum CV might be misleading BE-proff 2016-08-26 10:41
- Why do we need pooled CV? ElMaestro 2016-08-24 13:03
- Yessir! Common sense! Helmut 2016-08-24 13:53
- Common sense weighting before pooling mittyri 2016-08-24 15:13
- Gut feeling is the answer! DavidManteigas 2016-08-25 11:09
- The reasons not to pool Astea 2016-08-26 20:40
- The reasons not to pool mittyri 2016-08-28 22:05
- Know your drug/formulation! Helmut 2016-08-29 11:56
- The reasons not to pool Astea 2016-08-26 20:40
- Yessir! Common sense! Helmut 2016-08-24 13:53
- Maximum CV might be misleading Helmut 2016-08-24 12:07