REGRESS Call
performs regression analysis
- RUN REGRESS( , , name, <tval>, <l1>,
<l2>, <l3>);
The inputs to the REGRESS subroutine are as follows:
- is an numeric matrix, where is the
number of variables and is the number of data points.
- is an response vector.
- name
- is an matrix of variable names.
- tval
- is an optional -value.
- l1, l2, l3
- are optional vectors that specify linear
combinations of coefficients for hypothesis testing.
The REGRESS module does regression analysis and prints results.
The design matrix is given by
, and
is the response vector.
The
name vector identifies each of the variables.
If you specify a
-value, the module prints a table of
observed and predicted values, residuals, hat diagonal,
and confidence limits for the mean and predicted values.
If you also specify linear combinations with
l1,
l2, and
l3, the module performs
the hypothesis test
,
where
is the vector of parameter estimates.
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.