GDA Syntax - Example 1: Simple Standard Discriminant Analysis
This example illustrates the specifications for a simple discriminant analysis problem, with continuous predictor variables. Note that brief descriptive comments are enclosed in curly brackets. You can run this example with the example data file Irisdat.sta.
GDA;
{ Dependent variable; no codes (values) are specified, so STATISTICA will by default take all 3 grouping codes in variable Iristype: }
DEPENDENT = IRISTYPE;
{ Specification of continuous predictor variables }
COVARIATE = SEPALLEN SEPALWID PETALLEN PETALWID;
{ Analysis design }
DESIGN = SEPALLEN + SEPALWID + PETALLEN + PETALWID;
For more examples, see Example 2: Stepwise Discriminant Analysis with Categorical Predictors.
Copyright © 2021. Cloud Software Group, Inc. All Rights Reserved.