public class RegressorsForGLMEx2 extends Object
Sets up data for a two-way analysis of covariance.
In this example, a two-way analysis of covariance model containing all the
interaction terms is fit. First, RegressorsForGLM is used to
produce a matrix of regressors, regressors, from the data
x. Then, regressors is used as the input matrix
into Regression to produce the final fit. The mapping from
effects to columns in the matrix regressors is given by the
jagged array returned by getEffectsColumns. Each row in this
matrix gives the column number for the corresponding effect.
| Constructor and Description |
|---|
RegressorsForGLMEx2() |
public static void main(String[] arg)
Copyright © 2020 Rogue Wave Software. All rights reserved.