Compute the likelihood of a transmission pair given the serial interval distribution
Source:R/get_likelihood.R
get_likelihood.Rd
Two distributions can be specified for the serial interval distribution: Normal and Gamma. A Normal distribution with mean \(\mu\) and standard deviation \(\sigma\) is assumed by default. If a Gamma distribution is specified, the mean \(\mu\) and standard deviation \(\sigma\) are converted to the shape and rate parameters for a Gamma distribution as: $$ \beta = \frac{\mu}{\sigma^2} \alpha = \left(\frac{\mu}{\beta}\right)^2 $$