Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
The DISCRIM Procedure

Posterior Probability Error-Rate Estimates

The posterior probability error-rate estimates (Fukunaga and Kessell 1973; Glick 1978; Hora and Wilcox 1982) for each group are based on the posterior probabilities of the observations classified into that same group.

A sample of observations with classification results can be used to estimate the posterior error rates. The following notation is used to describe the sample.

S
the set of observations in the (training) sample

n
the number of observations in S

nt
the number of observations in S in group t

Rt
the set of observations such that the posterior probability belonging to group t is the largest

Rut
the set of observations from group u such that the posterior probability belonging to group t is the largest.
The classification error rate for group t is defined as
e_t = 1- \int_{{\mathcal R}_t} f_t(x) d{x}
The posterior probability of x for group t can be written as
p(t|{x}) = \frac{q_t f_t(x)}{f(x)}
where f(x) = \sum_u q_u f_u(x)is the unconditional density of x.

Thus, if you replace ft(x) with p(t|{x}) f(x)/q_t, the error rate is
e_t = 1 - \frac{1}{q_t} \int_{{\mathcal R}_t} p(t|{x}) f(x) d{x}
An estimator of et, unstratified over the groups from which the observations come, is then given by
\hat{e}_t { (unstratified)} = 1 - \frac{1}{nq_t} 
\sum_{{\mathcal R}_t} p(t|{x})
where p(t|{x}) is estimated from the classification criterion, and the summation is over all sample observations of S classified into group t. The true group membership of each observation is not required in the estimation. The term nqt is the number of observations that are expected to be classified into group t, given the priors. If more observations than expected are classified into group t, then \hat{e}_t can be negative.

Further, if you replace f(x) with \sum_u q_u f_u(x), the error rate can be written as
e_t = 1 - \frac{1}{q_t} \sum_u q_u \int_{{\mathcal R}_{ut}} p(t|{x}) 
f_u(x) d{x}
and an estimator stratified over the group from which the observations come is given by
\hat{e}_t { (stratified)} = 1 - \frac{1}{q_t} \sum_u q_u 
\frac{1}{n_u} ( \sum_{{\mathcal R}_{ut}} p(t|{x}) )
The inner summation is over all sample observations of S coming from group u and classified into group t, and nu is the number of observations originally from group u. The stratified estimate uses only the observations with known group membership. When the prior probabilities of the group membership are proportional to the group sizes, the stratified estimate is the same as the unstratified estimator.

The estimated group-specific error rates can be less than zero, usually due to a large discrepancy between prior probabilities of group membership and group sizes. To have a reliable estimate for group-specific error rate estimates, you should use group sizes that are at least approximately proportional to the prior probabilities of group membership.

A total error rate is defined as a weighted average of the individual group error rates
e = \sum_t q_t e_t
and can be estimated from
\hat{e} { (unstratified)} = \sum_t q_t \hat{e}_t 
{ (unstratified)}
or
\hat{e} { (stratified)} = \sum_t q_t \hat{e}_t 
{ (stratified)}
The total unstratified error-rate estimate can also be written as
\hat{e} { (unstratified)} = 1 - \frac{1}n \sum_t 
\sum_{{\mathcal R}_t} p(t|{x})
which is one minus the average value of the maximum posterior probabilities for each observation in the sample. The prior probabilities of group membership do not appear explicitly in this overall estimate.

Chapter Contents
Chapter Contents
Previous
Previous
Next
Next
Top
Top

Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.