delta_regional_posterior: Approximate delta posterior based on regional testing data

Description Usage Arguments

View source: R/delta_prior.R

Description

Approximate delta posterior based on regional testing data

Usage

1
delta_regional_posterior(test_df, I_quant, control, imperfect)

Arguments

test_df

A data.frame with the following columns

  • Nt: Total number of targeted tests in region

  • nt: Number of randomised tests returning positive in region

  • M: Population of region

I_quant

Posterior quantiles of prevalence calculated by randomised_testing_prevalence

control

A list of control parameters defined via get_control_parameters

imperfect

Logical, whether to account for imperfect testing


alan-turing-institute/prevdebiasr documentation built on Dec. 19, 2021, 12:22 a.m.