Skip to main content
. 2022 Oct 30;10(11):1838. doi: 10.3390/vaccines10111838
Algorithm 1. Update rule for uncorrelated Beta distributions
This rule is for updating the beta distribution for the probability of observing response r for some dose di based on the n+1th data point. Let this n+1th data point had dose dj.
BEGIN ALGORITHM
If di=dj
  If response r was observed for individual n+1
   Set αi,rn+1=αi,rn+1
   Set βi,rn+1=βi,rn
  Else (response r was not observed for individual n+1)
   Set αi,rn+1=αi,rn
   Set βi,rn+1=βi,rn+1
Else (didj)
   Set αi,rn+1=αi,rn
   Set βi,rn+1=βi,rn
END ALGORITHM