Get the predicted concentrations in each lab site
Source:R/model_component_fwd_sim.R
get_pred_obs_conc.Rd
Get the predicted concentrations in each lab site
Usage
get_pred_obs_conc(
n_lab_sites,
ot,
ht,
log_g_over_n_site,
log_m_lab_sites,
sigma_ww_lab_site,
site,
ml_of_ww_per_person_day
)
Arguments
- n_lab_sites
Integer indicating the number of unique combinations of labs and sites in the dataset.
- ot
integer indicating the number of days we will have observed data for in the calibration period
- ht
integer indicating the time after the last observed time to
- log_g_over_n_site
matrix of n_site rows and ot + ht columns indicating the genomes per person each day in each site
- log_m_lab_sites
vector of the lab-site mutlipliers
- sigma_ww_lab_site
vector of the lab_site observation errors
- site
vector of integers indicating which site (WWTP) each separate lab-site observation comes from
- ml_of_ww_per_person_day
Scalar indicating the number of mL of wastewater produced per person per day