These simulations set the antimicrobial and hospital exposure to arbitrary values, set starting probability of colonisation to 0.5 then draw parameter values from the posterior of the fitted model (btESBL_model2posterior) to generate probability of being ESBL colonised a time t later

btESBL_model2simulations

Format

A data frame with 600,000 rows and 18 variables:

sim_run

Simulation run ID

draw

Unique ID of draw from posterior (1,2...1000)

time

Time t in days

hosp_days

Number of days of hospitalisation

abx_days

Number of days of antimicrobial exposure

pr_esbl_pos_t0esblneg

Probability of ESBL colonisation at time t conditional on no colonisation at time 0

pr_esbl_pos_t0esblpos

Probability of ESBL colonisation at time t conditional on colonisation at time 0

pr_esbl_pos

Overall estimated prevalence of ESBL colonisation at time t assuming initial prevalence 0.5

prev_hosp

Time of cessation of prev hospitalisation (999=none)