estimate_ve | R Documentation |
This function applies teh Durham method, Tian method, and ML method to data from a vaccine efficacy/effectiveness study.
estimate_ve(
dat,
params,
write_to_file = TRUE,
path = getwd(),
par_tab,
mcmc_pars
)
dat |
data set |
params |
list of input parameters |
write_to_file |
logical. If true, outputs are written to file |
path |
path where files are to be written. Defaults to working directory |
par_tab |
data frame of parameters for ML method |
mcmc_pars |
vector of MCMC inputs |
list of VE estimates from each method, maximum likelihood parameter estimates from the ML method for each simulation, the proportion of times the null hypothesis was rejected for each method, mean VE estimate over simulations for each time period, and the mean maximum likelihood parameters over all simulations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.