Description Usage Arguments Value Examples
Calculate weights of evidence in natural log units
1 | weightsofevidence(posterior.p, prior.p)
|
posterior.p |
Vector of posterior probabilities generated by using model to predict on test data. |
prior.p |
Vector of prior probabilities. |
The weight of evidence in nats for each observation.
1 2 | data(cleveland) # load example dataset
W <- with(cleveland, weightsofevidence(posterior.p, prior.p))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.