From charlesreid1

Line 91: Line 91:


|}
|}
<pre>
>> help ff2n
FF2N  Two-level full-factorial design.
    X = FF2N(N) creates a two-level full-factorial design, X.
    N is the number of columns of X. The number of rows is 2^N.
    Reference page in Help browser
      doc ff2n
</pre>

Revision as of 23:27, 28 June 2011

Overview

Composite experimental design refers to the successive sampling of parameter space in such a way as to construct a first or second order polynomial function.

Explanation

Setting Up the Whole Design

1. Select 5 (or 3) levels for each variable. Each level will be coded with $ +2, +1, 0, -1, -2 $.

2. Create variable transforms (see below)

3. Create a one-factor-at-a-time design

4. Fill that in to create a fractional factorial design

5. Fill that in to create a full factorial design

6. Fill that in to create a full composite design

Variable Transforms

For a variable $ x_i $ with range $ \alpha_i \leq x_i \leq \beta_i $,

  • the transformed variable $ \hat{x}_i $ has the range $ -1 \leq \hat{x}_i \leq +1 $ for factorial design
  • the transformed variable $ \hat{x}_i $ has the range $ -2 \leq \hat{x}_i \leq +2 $ for composite design

Linear Variables

To transform a linear variable $ x_i $ to the variable $ \hat{x}_i \in [-1, +1] $:

$ \hat{x}_i = \frac{ x_i - \left( \frac{\beta_i - \alpha_i}{2} + \alpha_i \right) }{ \frac{\beta_i - \alpha_i}{2} } $

To transform a linear variable $ x_i $ to the variable $ \hat{x}_i \in [-2, +2] $:

$ \hat{x}_i = \frac{ x_i - \left( \frac{\beta_i - \alpha_i}{2} + \alpha_i \right) }{ \frac{\beta_i - \alpha_i}{4} } $

Log Variables

To transform a log variable $ x_i $ to the variable $ \hat{x}_i \in [-1, +1] $:

$ \hat{x}_i = \frac{ \log{(x_i)} - \left( \frac{ \log{(\beta_i)} - \log{(\alpha_i)}}{2} + \log{(\alpha_i)} \right) }{ \frac{ \log{(\beta_i)} - \log{(\alpha_i)} }{2} } $

To transform a log variable $ x_i $ to the variable $ \hat{x}_i \in [-2, +2] $:

$ \hat{x}_i = \frac{ \log{(x_i)} - \left( \frac{ \log{(\beta_i)} - \log{(\alpha_i)}}{2} + \log{(\alpha_i)} \right) }{ \frac{ \log{(\beta_i)} - \log{(\alpha_i)} }{4} } $

One Factor At A Time

Fractional Factorial

Full Factorial

Composite

Example

Mass flowrate k(T) Lmix
+1 +1 +1
+1 +1 -1
+1 -1 +1
+1 -1 -1


>> help ff2n
 FF2N   Two-level full-factorial design.
    X = FF2N(N) creates a two-level full-factorial design, X.
    N is the number of columns of X. The number of rows is 2^N.

    Reference page in Help browser
       doc ff2n