.BG
.VE $Header: /usr3/s/current/s/.help/RCS/discr,v 1.2 83/12/30 19:27:48 rab Exp $
.FN discr
.TL
discr: Discriminant Analysis
.CS
discr(x, k)
.PP
.AG x
matrix of data
.AG k
either the number of groups (if groups are equal in size),
or the vector of group sizes; i.e., first `k[1]' rows form
group 1, next `k[2]' group2, etc.
.PP
Note that the rows of `x' must be ordered by groups.
.RT
a structure describing the discriminant analysis, with the
following components:
.PP
.RC cor
vector of discriminant correlations (cor. between linear
combination of variables and comb. of groups)
.RC groups
matrix of linear combinations of groups predicted.
.RC vars
matrix of linear combinations of variables.
.PP
Columns of `vars' give discriminant variables; i.e., `x %* vars'
produces the matrix of discriminant variables.
.SH SEE ALSO
the macro `?discr' uses a categorical variable to define
groups for function `discr'.
.KW array*
.KW multivariate
.WR
