-------------------------------------------------------------------------------
help for daoneway
-------------------------------------------------------------------------------

One-way discriminant function analysis

daoneway varlist [if exp] [in range], by(groupvar) [ gen(varname) ]

daclass varlist [, priors ]

Description

daoneway performs a one-way discriminant function analysis. by(groupvar) specifies the variable identifying the groups and is not optional.

daclass classifies obsevation into groups, saving the classification into the variable _daclass. To use daoneway you must use the gen option in daoneway. The varlist in daclass uses the discriminant function score variables created in daoneway.

daoneway Options

gen saves the discriminant function scores beginning with the stub varname.

daclass Options

priors uses prior probabilities in computing group classification.

Examples

. daoneway y1 y2 y3, by(group) . daoneway y1 y2 y3, by(group) gen(d)

. daclass d1 d2

Author

Philip B. Ender UCLA Depatment of Education UCLA Academic Technology Services enderatucla.edu