Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
[SerializableAttribute] public class ANCOVA |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class ANCOVA |
Visual C++ |
---|
[SerializableAttribute] public ref class ANCOVA |
Remarks
Class ANCOVA performs analyses for models that combine the features of a one-way analysis of variance model with that of a multiple linear regression model. The basic one-way analysis of covariance model is










In practice, sometimes the regression functions are not parallel. In addition to estimates for the model assuming parallelism (parallel regression planes), ANCOVA computes estimates and summary statistics for the separate regressions of each group. These estimates can be examined using the methods GetCoefficientTables and GetANOVATables.
Estimates for the 's and
,
, ...,
in the model assuming parallelism are
returned using the method GetModelCoefficients. Summary
statistics are also computed for this model and returned by the
Compute method.
The adjusted group means, stored in the last column of xymean, are computed using the formula:

where xymean is the matrix returned by GetMeans and ncov is the number of covariates.
The estimated covariance between the -th and
-th adjusted group mean is
given by

where is the entry in
covb[p-1][q-1], where covb is returned by
GetVarCovCoefficients and is the estimated covariance between
the p-th and q-th estimated coefficients in the
regression function.