We can define the density
over the graphs of drug-adverse reaction
the product is over all the association candidate
indicated by the graph
Here we use the Metropolis algorithm
to update the graph
randomly adding or deleting an edge
between drug and adverse reaction
(i.e., a drug-adverse reaction relationship).
The present dataset
consists of 13343 rows.
The first 22 columns
of 0's and 1's indicates
the subset of the reported medical products (drug),
and the next 27 columns of 0's and 1's
indicates the subset of the adversed reactions,
and the last column shows the frequency of event.
The names of drug
and the medical terms describing the adverse events
can be found in the separate files
The dataset freq.csv
is extracted from the US database
from January 2004 to March 2005
available by FDA;
see the link to AERS.
© TTU Mathematics