A vaccine is reported in the news to have 90% efficacy. I'd like to know how much confidence there is in that efficacy measure.
The protocol for this reports that a vaccine or placebo was administered to 43538 patients. Half received the vaccine, half received a placebo.
Of those who received the vaccine, 94 people were infected. With a 90% efficacy being reported, that implies that of the infected, 86 people received placebo and 8 were given the vaccine.
I can create a 2x2 contingency table and run a risk ratio calculator on that table:
> ct <- cbind(c(21683,21761), c(86,8))
> rownames(ct) <- c("Placebo", "Vaccine")
> colnames(ct) <- c("Not Infected", "Infected")
> library("epitools")
> riskratio(ct)
$data
Not Infected Infected Total
Placebo 21683 86 21769
Vaccine 21761 8 21769
Total 43444 94 43538
$measure
NA
risk ratio with 95% C.I. estimate lower upper
Placebo 1.00000000 NA NA
Vaccine 0.09302326 0.04508851 0.1919186
$p.value
NA
two-sided midp.exact fisher.exact chi.square
Placebo NA NA NA
Vaccine 0 1.153398e-17 8.027243e-16
$correction
[1] FALSE
attr(,"method")
[1] "Unconditional MLE & normal approximation (Wald) CI"
Did I set up the table and analysis correctly, and how does the calculated risk ratio value (and its CI) affect the efficacy? That is, how much range is there around the given efficacy?