powered by
Internal function used by sim_sites()
sim_sites()
prob_lower_site_ae_vs_study_ae( site_ae, study_ae, r = 1000, parallel = FALSE, under_only = TRUE )
pval
vector with AE numbers
integer, denotes number of simulations, default = 1000
logical, toggles parallel processing on and of, default = F
compute under-reporting probabilities only, default = TRUE
sets pvalue=1 if mean AE site is greater than mean AE study
safely
prob_lower_site_ae_vs_study_ae( site_ae = c(5, 3, 3, 2, 1, 6), study_ae = c(9, 8, 7, 9, 6, 7, 8), parallel = FALSE )
Run the code above in your browser using DataLab