NAG Library Manual, Mark 28.5
Interfaces:  FL   CL   CPP   AD 

NAG CL Interface Introduction
Example description

nag_blgm_lm_design_matrix (g22ycc) Example Program Data
F1*F2*Con - F1.F2.Con                   :: formula
Sum First                               :: contrast to use
25 3 3                                  :: nobs,nvar,lvnames
3 3 1                                   :: levels
F1 F2 Con                               :: vnames
3 1 -2.4
3 3  0.2
1 3 -1.4
2 1 -5.4
3 3  0.2
3 2  1.4
1 2  6.8
1 2  6.7
1 1  5.3
2 3 -1.3
3 2 -3.6
3 2 -0.7
1 1  5.7
3 3  2.3
1 2  3.3
2 3 -0.5
1 1 -2.6
1 2  3.7
1 2  0.9
3 1 -1.1
2 2  2.1
1 3  4.6
2 3  4.6
1 2  5.1
1 3  0.9                                :: dat
F1 Helmert
F2 Polynomial                           :: new contrasts to use