gen.BBD: Box-Behnken Designs (BBDs)

Description Usage Arguments Value References Examples

Description

Generate Box-Behnken designs for k = 3 to 7

Usage

1
  gen.BBD(k, n.center = 1)

Arguments

k

The number of factors or independent variables, k = 3 to 7.

n.center

The number of center points

Value

gen.BBD is called to generate the data frame of the design matrix of the BBD.

References

SAS 9.1 ADX Interface for Design of Experiments. Cary, NC: SAS Institute Inc.

Examples

1
2
3
  gen.BBD(3)
  gen.BBD(4, n.center = 3)
  gen.BBD(7, n.center = 5)

Example output

   X1 X2 X3
1  -1 -1  0
2  -1  1  0
3   1 -1  0
4   1  1  0
5  -1  0 -1
6  -1  0  1
7   1  0 -1
8   1  0  1
9   0 -1 -1
10  0 -1  1
11  0  1 -1
12  0  1  1
13  0  0  0
   X1 X2 X3 X4
1  -1 -1  0  0
2  -1  1  0  0
3   1 -1  0  0
4   1  1  0  0
5  -1  0 -1  0
6  -1  0  1  0
7   1  0 -1  0
8   1  0  1  0
9  -1  0  0 -1
10 -1  0  0  1
11  1  0  0 -1
12  1  0  0  1
13  0 -1 -1  0
14  0 -1  1  0
15  0  1 -1  0
16  0  1  1  0
17  0 -1  0 -1
18  0 -1  0  1
19  0  1  0 -1
20  0  1  0  1
21  0  0 -1 -1
22  0  0 -1  1
23  0  0  1 -1
24  0  0  1  1
25  0  0  0  0
26  0  0  0  0
27  0  0  0  0
   X1 X2 X3 X4 X5 X6 X7
1  -1 -1  0 -1  0  0  0
2  -1 -1  0  1  0  0  0
3  -1  1  0 -1  0  0  0
4  -1  1  0  1  0  0  0
5   1 -1  0 -1  0  0  0
6   1 -1  0  1  0  0  0
7   1  1  0 -1  0  0  0
8   1  1  0  1  0  0  0
9   0 -1 -1  0 -1  0  0
10  0 -1 -1  0  1  0  0
11  0 -1  1  0 -1  0  0
12  0 -1  1  0  1  0  0
13  0  1 -1  0 -1  0  0
14  0  1 -1  0  1  0  0
15  0  1  1  0 -1  0  0
16  0  1  1  0  1  0  0
17  0  0 -1 -1  0 -1  0
18  0  0 -1 -1  0  1  0
19  0  0 -1  1  0 -1  0
20  0  0 -1  1  0  1  0
21  0  0  1 -1  0 -1  0
22  0  0  1 -1  0  1  0
23  0  0  1  1  0 -1  0
24  0  0  1  1  0  1  0
25  0  0  0 -1 -1  0 -1
26  0  0  0 -1 -1  0  1
27  0  0  0 -1  1  0 -1
28  0  0  0 -1  1  0  1
29  0  0  0  1 -1  0 -1
30  0  0  0  1 -1  0  1
31  0  0  0  1  1  0 -1
32  0  0  0  1  1  0  1
33 -1  0  0  0 -1 -1  0
34 -1  0  0  0 -1  1  0
35 -1  0  0  0  1 -1  0
36 -1  0  0  0  1  1  0
37  1  0  0  0 -1 -1  0
38  1  0  0  0 -1  1  0
39  1  0  0  0  1 -1  0
40  1  0  0  0  1  1  0
41  0 -1  0  0  0 -1 -1
42  0 -1  0  0  0 -1  1
43  0 -1  0  0  0  1 -1
44  0 -1  0  0  0  1  1
45  0  1  0  0  0 -1 -1
46  0  1  0  0  0 -1  1
47  0  1  0  0  0  1 -1
48  0  1  0  0  0  1  1
49 -1  0 -1  0  0  0 -1
50 -1  0 -1  0  0  0  1
51 -1  0  1  0  0  0 -1
52 -1  0  1  0  0  0  1
53  1  0 -1  0  0  0 -1
54  1  0 -1  0  0  0  1
55  1  0  1  0  0  0 -1
56  1  0  1  0  0  0  1
57  0  0  0  0  0  0  0
58  0  0  0  0  0  0  0
59  0  0  0  0  0  0  0
60  0  0  0  0  0  0  0
61  0  0  0  0  0  0  0

VdgRsm documentation built on May 2, 2019, 3:48 p.m.

Related to gen.BBD in VdgRsm...