ClinicalTrialCoverage {PoDBAY} | R Documentation |
Clinical trial function expanded for usage in simulations when the calculation of coverage probability is needed for three confidence intervals: 80%, 90%, and user-defined
Description
Function works the same way as ClinicalTrial
function but it also calculates 80% and 90% confidence intervals.
Usage
ClinicalTrialCoverage(vaccinated, control, CI = 0.95)
Arguments
vaccinated |
|
control |
|
CI |
numeric: value from (0, 1) interval, confidence level of interest |
Value
vaccinated: vaccinated subjects with assigned DS,
Population-class
objectcontrol: control subjects with assigned DS,
Population-class
objectefficacy: case-count efficacy
confidenceInterval: confidence interval calculated with
waldCI
functionconfidenceInterval90: 90% confidence interval calculated with
waldCI
functionconfidenceInterval80: 80% confidence interval calculated with
waldCI
function
[Package PoDBAY version 1.4.3 Index]