PRR(DATABASE, RR0 = 1, MIN.n11 = 1, DECISION = 1,
DECISION.THRES = 0.05, RANKSTAT = 1)
as.PhViD
.RR0=1
.MIN.n11 = 1
. 2 = Number of signals
3 = Ranking statistic. See RANKSTAT
DECISION
. Ex 0.05 for FDR (DECISION
=1).1 = P-value
2 = Lower bound of the 95% two sided confidence interval of log(PRR).
MIN.n11
notifications ordered by RANKSTAT
. It contains notably the labels, the cell counts, the expected counts ($n1. \times n.1 / N$, see as.PhViD
), RANKSTAT
, the observed relative risks (PRR), the marginal counts and the estimations of FDR (when RANKSTAT=1
.)ALLSIGNALS
but restricted to the list of generated signals.Dalmasso C,
Evans SJ, Waller PC, Davis S, Use of Proportional Reporting Ratios (PRRs) for Signal Generation from Spontaneous Adverse Drug Reaction Reports Pharmacoepidemiology and Drug Safety, 2001, 10, 483-486.
van Puijenbroek EP, Bate A, Leufkens HGM, Lindquist M, Orre R and Egberts ACG, A comparison of measures of disproportionality for signal detection in spontaneous reporting systems for adverse drug reactions, Pharmacoepidemiology and Drug Safety, 2002, 11, 3-10.
## start
data(PhViDdata.frame)
PhViDdata <- as.PhViD(PhViDdata.frame)
res <- PRR(PhViDdata)
## end
Run the code above in your browser using DataLab