This example illustrates the specification for a simple multiple regression problem with a single dependent variable, and categorical and continuous predictors (ANCOVA design). Note that brief descriptive comments are enclosed in curly brackets. You can run this example with the example data file Exp.sta, Normal distribution and Identity link in the Startup Panel.

GLZ;

{ Dependent or response variable: }

{ Specification of grouping variables (factors); note that

{ Specification of continuous predictor variables (covariates) }

{ Here the bar operator is used to construct the full factorial

For more examples, see GLZ Syntax Examples.