```
prob_lower_site_ae_vs_study_ae(
site_ae,
study_ae,
r = 1000,
parallel = FALSE,
under_only = TRUE
)
```

## Arguments

- site_ae
vector with AE numbers

- study_ae
vector with AE numbers

- r
integer, denotes number of simulations, default = 1000

- parallel
logical, toggles parallel processing on and of, default = F

- under_only
compute under-reporting probabilities only, default = TRUE

## Details

sets pvalue=1 if mean AE site is greater than mean AE study

## Examples

```
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
)
#> [1] 0.011
```