ldb.p.correct {grt} | R Documentation |
Probability of correct classification based on the optimal linear decision bound.
Description
Estimates the probability of correct classification under the condition in which the optimal linear decision boundary is used to categorize the samples from two multivariate normal populations with the specified parameters
Usage
ldb.p.correct(means, covs, noise = 0)
Arguments
means |
a list of vectors, each specifying the means of a multivariate normal population. |
covs |
a matrix or a list of matrices specifying the covariance matrix of the each multivariate normal population. If a list is given and length(covs) > 2, an unweighted average of the matrices is used. |
noise |
an optional numeric value specifying the noise associated with the decision bound. Default to 0. |
Author(s)
Author of the original Matlab routine ‘linprobcorr’: Leola Alfonso-Reese
Author of R adaptation: Kazunaga Matsuki
References
Alfonso-Reese, L. A. (2006) General recognition theory of categorization: A MATLAB toolbox. Behavior Research Methods, 38, 579-583.
Examples
foo <- grtMeans(diag(c(625,625)), centroid=c(200, 200*.6),
optldb=c(.6,-1,0), p.correct=.85)
ldb.p.correct(foo$means, foo$covs)