get_eumaeus_data.Rcan be used to extract Eumaeus results to apply this method to (requires database key). Those data should be saved into thedatadirectory (git-ignored).get_est_functions.Rcontains functions for applying stan models to historical controls datacompare_likelihoods.Rcompares the timing/results for those models, which use different likelihoods
metanalysis-likelihood.stanis the stan model that implements the method for an arbitrary likelihood. Requires a set of negative control estimates and standard errors per site and a approximation of the profile likelihood of the effect of interest for each site. The prior distributions are specified here but the parameters in the R code. This model assumes that the likelihood was evaluated along a regular series of points (now forced to be in the R code).metanalysis-poisson.stanuses the poisson likelihood (e.g., for historical controls data) to do the same thing. Requires the event counts/person-time for the exposed and comparison group for both the effect of interest and the negative controls (see R code).metanalysis-normal.stanuses the normal likelihood for both the effect of interest and the negative controls. Requires point estimates and standard errors for each.
- Where the Eumaeus results get saved.
- R packages