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

NAG CL Interface Introduction
Example description

nag_blgm_lm_submodel (g22ydc) Example Program Data
25 3 3                  :: nobs,nvar,lvnames
3 4 1                   :: levels
Fact1 Fact2 Con         :: vnames
3 1 -2.4   1.16
3 4  0.2   4.96
1 4 -1.4  -1.67
2 1 -5.4 -11.80
3 3  0.2   6.03
3 2  1.4  11.70
1 2  6.8  33.34
1 4  6.7  31.97
1 1  5.3  23.93
2 3 -1.3   3.17
3 2 -3.6   1.68
3 2 -0.7   8.01
1 4  5.7  26.14
3 3  2.3  11.04
1 2  3.3  20.32
2 3 -0.5   5.62
1 1 -2.6  -6.21
1 2  3.7  22.45
1 2  0.9  10.93
3 4 -1.1   1.59
2 2  2.1  13.55
1 3  4.6  24.16
2 3  4.6  20.70
1 2  5.1  28.30
1 3  0.9   9.69         :: dat, y
(Fact2 + Con + Fact1)^2 :: Model formula
Fact1 + Fact2 + Con     :: Sub-Model formula