prop.belowthreshold {wevid} | R Documentation |
Proportions of cases and controls below a threshold of weight of evidence
Description
Proportions of cases and controls below a threshold of weight of evidence
Usage
prop.belowthreshold(densities, w.threshold)
Arguments
densities |
Densities object produced by |
w.threshold |
Threshold value of weight of evidence (natural logs). |
Value
Numeric vector of length 2 listing the proportions of controls and cases with weight of evidence below the given threshold.
Examples
data(cleveland)
densities <- with(cleveland, Wdensities(y, posterior.p, prior.p))
w.threshold <- log(4) # threshold Bayes factor of 4
prop.belowthreshold(densities, w.threshold)
[Package wevid version 0.6.2 Index]