% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wdists.R
\name{lambda.model}
\alias{lambda.model}
\title{Compute the expected information for discrimination (expected weight of evidence)
from the model-based densities}
\usage{
lambda.model(densities)
}
\arguments{
\item{densities}{Adjusted densities computed by
\code{\link{Wdensities.fromraw}}.}
}
\value{
The model-based expected information for discrimination.
}
\description{
Compute the expected information for discrimination (expected weight of evidence)
from the model-based densities
}
\examples{
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)
lambda.model(densities.adj)

}
