The Pfizer/BioNTech vaccine has a reported efficacy of 90%. AFAIK, the phase III study has the following preliminary results (as of November 9):
- 43'000 people were given a shot, 50% received the vaccine, 50% a placebo
- Of these 43'000 people, 94 got tested positive for Covid-19 during the study
- Of these 94 people, fewer than nine were in the group that received the vaccine, the others were in the control group.
- This means we have a (preliminary) efficacy of more than 90%.
Let's give these numbers some variable names (and let's fix some numbers to get rid of the "fewer than"):
\begin{aligned}[ll] N &= 43'000\\N_{vac}&=21'500\\N_{cg}&=21'500\\C_{vac}&=9\\C_{cg} &= 85 \end{aligned}
Both the vaccinated group and the control group have 21'500 members. There are $C_{vac}=9$ Covid-19 diagnoses within the vaccinated group, and $C_{cg}=85$ in the control group.
I would like to use these numbers to calculate the probability $P_X$ that the vaccine has efficacy $X$ or higher.
Of course, $P_X$ should have its steepest part around $X=90\%$, because that is the most likely efficacy of the vaccine, according to the study. But still, we have the possibility that the study over-estimated the efficacy of the vaccine, because of random effects.
The higher $N$ is, the more "narrow" we expect the derivative of $P_X$ to be (the more participants in the study, the less uncertainty). For very small $N$, $P_X$ should be very close to $X$ itself, because we do not know much about the vaccine.
How can I calculate $P_X$?