See vignette for details. Each row encodes two ESBL observations a time t apart and the covariate values in this time period

btESBL_stanmodeldata

Format

A named list of seven items.

N

Number of rows of data

t

vector of length n, Time between ESBL observations for that row

n_covs

Number of covariates to include in model

covs_type

define types of covariates

start_state

Starting state for row ESBL present absent

end_state

End state for that time period

covs_mat

Covariate values ofr each included covariate

Details

These data are set up to fit a model where the effect of antimicrobial exposure has a time-varying exponential decay effect, and hospitalisation has a time-varying stepwise constant effect