Wdensities.fromraw: Adjust the crude densities of weights of evidence in cases...

Description Usage Arguments Examples

Description

Adjust the crude densities of weights of evidence in cases and controls to make them mathematically consistent

Usage

1
Wdensities.fromraw(densities)

Arguments

densities

Unadjusted densities computed by Wdensities.unadjusted.

Examples

1
2
3
4
5
data("cleveland") # load example dataset
W <- with(cleveland, weightsofevidence(posterior.p, prior.p))
densities.unadj <- Wdensities.unadjusted(cleveland$y, W)
densities.adj <- Wdensities.fromraw(densities.unadj)
plotWdists(densities.unadj, densities.adj)

pmckeigue/wevid documentation built on May 29, 2019, 5:41 a.m.