ClinicalTrial {PoDBAY}R Documentation

Clinical trial: estimation of case-count efficacy

Description

Function assigns disease status (DS) to vaccinated and control groups and based on that calculates the case-count efficacy. Vaccinated and control groups are provided in the form of population class objects (see the Population-class function for more details).

Input populations need to contain information about Probability of disease (PoD) for each subject - calculated using population$assignPoD(PoD(x)). See PoD function for further details.

Usage

ClinicalTrial(vaccinated, control, CI = 0.95)

Arguments

vaccinated

Population-class object: vaccinated subjects with assigned PoD

control

Population-class object: control subjects with assigned PoD

CI

numeric: value from (0, 1) interval, confidence level of interest

Value

Examples

# Loading vaccinated, control population data with PoD information
data(vaccinated)
data(control)

# Estimating the disease status and case-count efficacy with 95\% confidence interval
CT <- ClinicalTrial(vaccinated, control, CI = 0.95)

CT$efficacy
CT$confidenceInterval

CT$vaccinated


[Package PoDBAY version 1.4.3 Index]