Error rate of the Bayes rule for two-class Gaussian homoscedastic model
The optimal error rate of Bayes rule for two-class Gaussian homoscedastic model
errorrate(beta0, beta, pi, mu, sigma)
beta0
: An matrix where each row represents an individual observationbeta
: Number of observations.pi
: A g-dimensional vector for the initial values of the mixing proportions.mu
: A matrix for the initial values of the location parameters.sigma
: A covariance matrix if ncov=1
, or a list of g covariance matrices with dimension if ncov=2
.The optimal error rate of Bayes rule for two-class Gaussian homoscedastic model can be expressed as
where is a normal probability function with mean and covariance matrix .
Useful links