Monte Carlo Method for Obtaining the Cutoff Value#
Monte Carlo simulation method for obtaining the cutoff value \(c_{univ,j}^+\) in Step 2 of the MDDC method.
Obtain the marginals \(n_{1\bullet}, \ldots, n_{I\bullet}, n_{\bullet 1}, \ldots, n_{\bullet J}\) from the original \(I \times J\) contingency table.
Under the assumption of no association between drugs and AEs (i.e., independence of rows and columns), compute cell probabilities
where \(i = 1, \ldots, I\) and \(j = 1, \ldots, J\).
Generate 10,000 \(I \times J\) contingency tables with the above specified marginals and cell probabilities \(\{p_{ij}\}\) through multinomial distribution
where \(p = (p_{11}, p_{12}, \ldots, p_{IJ})^T\).
For the \(r\)-th simulated table, \(r = 1, \ldots, 10000\), compute \(e_{ij}\) for all the cells in the table, and obtain
for \(j = 1, \ldots, J\). For each drug \(j\), this will provide \(m_{j,1}, m_{j,2}, \ldots, m_{j,10000}\).
For each drug \(j\), obtain the cutoff value \(c_{univ,j}^+\) as the 95-th quantile by ordering \(m_{j,1}, m_{j,2}, \ldots, m_{j,10000}\) from smallest to largest.