R/varfreq_expected_mbias.R
varfreq_expected_mbias.Rd
This function calculates the multiplicative bias of the observed variant proportion relative to the actual variant proportion. This function assumes that variant 1 is the variant of concern. This function is specific to the two-variant system.
varfreq_expected_mbias(p_v1, c_ratio)
actual variant prevalence (proportion)
coefficient of detection ratio, calculated as the ratio of the coefficients of variant 1 to variant 2
scalar giving the multiplicative bias of variant 1
Other variant frequency functions:
varfreq_cdf_logistic()
,
varfreq_freq_logistic()
,
varfreq_obs_freq()
varfreq_expected_mbias(p_v1 = 0.1, c_ratio = 1.1)
#> [1] 1.089109