Closed fredjaya closed 5 months ago
Example usage of design_effect after refactoring sample_design/fi_pool:
design_effect
sample_design <- sample_design(pool_size = 5, pool_number = 10, sensitivity = 0.99, specificity = 0.95) design_effect(sample_design, prevalence = 0.01, correlation = 0.05)
However in design_effect(), pool_size = 1 :
design_effect()
pool_size = 1
... pool_number * pool_size * fi_pool(pool_size = 1, prevalence, sensitivity, specificity) ...
Need to think about how to deal with this.
Will leave fi_pool etc. as a function for now
fi_pool
Example usage of
design_effect
after refactoring sample_design/fi_pool:However in
design_effect()
,pool_size = 1
:Need to think about how to deal with this.