<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.reliawiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Richard+House</id>
	<title>ReliaWiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.reliawiki.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Richard+House"/>
	<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php/Special:Contributions/Richard_House"/>
	<updated>2026-05-18T09:32:18Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Reliability_Demonstration_Test_Design_for_Repairable_Systems&amp;diff=65423</id>
		<title>Reliability Demonstration Test Design for Repairable Systems</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Reliability_Demonstration_Test_Design_for_Repairable_Systems&amp;diff=65423"/>
		<updated>2019-02-14T15:09:50Z</updated>

		<summary type="html">&lt;p&gt;Richard House: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:RGA BOOK|8|Reliability Demonstration Test Design for Repairable Systems}}&lt;br /&gt;
The RGA software provides a utility that allows you to design reliability demonstration tests for repairable systems. For example, you may want to design a test to demonstrate a specific cumulative MTBF for a specific operating period at a specific confidence level for a repairable system. The same applies for demonstrating an instantaneous MTBF or cumulative and instantaneous failure intensity at a given time &amp;lt;math&amp;gt;t.\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
==Underlying Theory==&lt;br /&gt;
The failure process in a repairable system is considered to be a non-homogeneous Poisson process (NHPP) with power law failure intensity. The instantaneous failure intensity at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\lambda }_{i}}\left( t \right)=\lambda \beta {{t}^{\beta -1}}={{\lambda }_{c}}\left( t \right)\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So, the cumulative failure intensity at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\lambda }_{c}}\left( t \right)=\lambda {{t}^{\beta -1}}=\frac{{{\lambda }_{i}}\left( t \right)}{\beta }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The instantaneous MTBF is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
   MTB{{F}_{i}}\left( t \right)= &amp;amp; \frac{1}{{{\lambda }_{i\left( t \right)}}} \\ &lt;br /&gt;
  = &amp;amp; \frac{1}{\lambda \beta }{{t}^{1-\beta }} \\ &lt;br /&gt;
  = &amp;amp; \frac{MTB{{F}_{c}}\left( t \right)}{\beta }  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The cumulative MTBF at time &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;MTB{{F}_{c}}\left( t  \right)=\frac{1}{{{\lambda }_{c}}\left( t \right)}=\frac{1}{\lambda }{{t}^{1-\beta }}=MTB{{F}_{i}}\left( t \right)\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The relation between the confidence level, required test time, number of systems under test and allowed total number of failures in the test is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;1-CL=\underset{i=0}{\overset{r}{\mathop \sum }}\,\frac{{{\left( m\lambda {{T}^{\beta }} \right)}^{i}}\exp (-m\lambda {{T}^{\beta }})}{i!}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; is the total test time for each system.&lt;br /&gt;
*&amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; is the number of systems under test.&lt;br /&gt;
*&amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of allowed failures in the test.&lt;br /&gt;
*&amp;lt;math&amp;gt;CL\,\!&amp;lt;/math&amp;gt; is the confidence level.&lt;br /&gt;
&lt;br /&gt;
Given any three of the parameters, the equation above can be solved for the fourth unknown parameter. Note that when &amp;lt;math&amp;gt;\beta =1,\,\!&amp;lt;/math&amp;gt; the number of failures is a homogeneous Poisson process, and the time between failures is given by the exponential distribution.&lt;br /&gt;
&lt;br /&gt;
==Example: Solve for Time==&lt;br /&gt;
{{:Repairable_System_Test_Design_Example_-_Solve_for_Time}}&lt;br /&gt;
&lt;br /&gt;
==Example: Solve for Number of Samples==&lt;br /&gt;
{{:Repairable_System_Test_Design_Example_-_Solve_for_Sample_Size}}&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Arrhenius_Relationship&amp;diff=65422</id>
		<title>Arrhenius Relationship</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Arrhenius_Relationship&amp;diff=65422"/>
		<updated>2019-02-07T16:42:19Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Formulation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:ALTABOOK|4}}&lt;br /&gt;
The Arrhenius life-stress model (or relationship) is probably the most common life-stress relationship utilized in accelerated life testing. It has been widely used when the stimulus or acceleration variable (or stress) is thermal (i.e., temperature). It is derived from the Arrhenius reaction rate equation proposed by the Swedish physical chemist Svandte Arrhenius in 1887. &lt;br /&gt;
&lt;br /&gt;
===Formulation===&lt;br /&gt;
The Arrhenius reaction rate equation is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T)=A{{e}^{-\tfrac{{{E}_{a}}}{k\cdot T}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; is the speed of reaction.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is an unknown nonthermal constant.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{E}_{a}}\,\!&amp;lt;/math&amp;gt; is the activation energy &amp;lt;math&amp;gt;(\text{eV})\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; is the Boltzmann&#039;s constant &amp;lt;math&amp;gt;(8.6173303\times {{10}^{-5}}\text{eV}{{\text{K}}^{-1}})\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; is the absolute temperature &amp;lt;math&amp;gt;(\text{K})\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The activation energy is the energy that a molecule must have to participate in the reaction. In other words, the activation energy is a measure of the effect that temperature has on the reaction.&lt;br /&gt;
&lt;br /&gt;
The Arrhenius life-stress model is formulated by assuming that life is proportional to the inverse reaction rate of the process, thus the Arrhenius life-stress relationship is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L(V)=C{{e}^{\tfrac{B}{V}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents a quantifiable life measure, such as mean life, characteristic life, median life, or &amp;lt;math&amp;gt;B(x)\,\!&amp;lt;/math&amp;gt; life, etc.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;V\,\!&amp;lt;/math&amp;gt; represents the stress level (formulated for temperature and &#039;&#039;&#039;temperature values in absolute units, degrees Kelvin or degrees Rankine&#039;&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is one of the model parameters to be determined, &amp;lt;math&amp;gt;(C&amp;gt;0)\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is another model parameter to be determined.&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.1.png|center|400px|Graphical look at the Arrhenius life-stress relationship (linear scale) for a different life characteristics, assuming a Weibull distribution.]]&lt;br /&gt;
&lt;br /&gt;
Since the Arrhenius is a physics-based model derived for temperature dependence, it is used for temperature accelerated tests. For the same reason, temperature values must be in absolute units (Kelvin or Rankine), even though the Arrhenius equation is unitless.&lt;br /&gt;
&lt;br /&gt;
===Life Stress Plots===&lt;br /&gt;
The Arrhenius relationship can be linearized and plotted on a Life vs. Stress plot, also called the Arrhenius plot. The relationship is linearized by taking the natural logarithm of both sides in the Arrhenius equation or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ln(L(V))=ln(C)+\frac{B}{V}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.2.png|center|400px|Arrhenius plot for Weibull life distribution.]]&lt;br /&gt;
&lt;br /&gt;
In the linearized Arrhenius equation, &amp;lt;math&amp;gt;\ln (C)\,\!&amp;lt;/math&amp;gt; is the intercept of the line and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is the slope of the line. Note that the inverse of the stress, and not the stress, is the variable. In the above figure, life is plotted versus stress and not versus the inverse stress. This is because the linearized Arrhenius equation was plotted on a reciprocal scale. On such a scale, the slope &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; appears to be negative even though it has a positive value. This is because &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is actually the slope of the reciprocal of the stress and not the slope of the stress. The reciprocal of the stress is decreasing as stress is increasing ( &amp;lt;math&amp;gt;\tfrac{1}{V}\,\!&amp;lt;/math&amp;gt; is decreasing as &amp;lt;math&amp;gt;V\,\!&amp;lt;/math&amp;gt; is increasing). The two different axes are shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.3.png|center|400px|An illustration of both reciprocal and non-reciprocal scales.]]&lt;br /&gt;
&lt;br /&gt;
The Arrhenius relationship is plotted on a reciprocal scale for practical reasons. For example, in the above figure it is more convenient to locate the life corresponding to a stress level of 370K than to take the reciprocal of 370K (0.0027) first, and then locate the corresponding life.&lt;br /&gt;
The shaded areas shown in the above figure are the imposed at each test stress level. From such imposed  &#039;&#039;pdfs&#039;&#039;  one can see the range of the life at each test stress level, as well as the scatter in life. The next figure illustrates a case in which there is a significant scatter in life at each of the test stress levels.&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.4.png|center|400px|An example of scatter in life at each test stress level.]]&lt;br /&gt;
&lt;br /&gt;
===Activation Energy and the Parameter &#039;&#039;B&#039;&#039; ===&lt;br /&gt;
Depending on the application (and where the stress is exclusively thermal), the parameter &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; can be replaced by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;B=\frac{{{E}_{a}}}{k}=\frac{\text{activation energy}}{\text{Boltzman}{{\text{n}}^{\prime }}\text{s constant}}=\frac{\text{activation energy}}{8.617385\times {{10}^{-5}}\text{eV}{{\text{K}}^{-1}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in this formulation, the activation energy &amp;lt;math&amp;gt;{{E}_{a}}\,\!&amp;lt;/math&amp;gt; must be known a priori. If the activation energy is known then there is only one model parameter remaining, &amp;lt;math&amp;gt;C.\,\!&amp;lt;/math&amp;gt; Because in most real life situations this is rarely the case, all subsequent formulations will assume that this activation energy is unknown and treat &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; as one of the model parameters. &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; has the same properties as the activation energy. In other words, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is a measure of the effect that the stress (i.e. temperature) has on the life. The larger the value of &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; the higher the dependency of the life on the specific stress. Parameter &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; may also take negative values. In that case, life is increasing with increasing stress. An example of this would be plasma filled bulbs, where low temperature is a higher stress on the bulbs than high temperature.&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.5.png|center|400px|Behavior of the parameter &#039;&#039;B&#039;&#039;.]]&lt;br /&gt;
&lt;br /&gt;
===Acceleration Factor===&lt;br /&gt;
Most practitioners use the term acceleration factor to refer to the ratio of the life (or acceleration characteristic) between the use level and a higher test stress level or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{A}_{F}}=\frac{{{L}_{USE}}}{{{L}_{Accelerated}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For the Arrhenius model this factor is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{A}_{F}}=\frac{{{L}_{USE}}}{{{L}_{Accelerated}}}=\frac{C\text{ }{{e}^{\tfrac{B}{{{V}_{u}}}}}}{C\text{ }{{e}^{\tfrac{B}{{{V}_{A}}}}}}=\frac{\text{ }{{e}^{\tfrac{B}{{{V}_{u}}}}}}{\text{ }{{e}^{\tfrac{B}{{{V}_{A}}}}}}={{e}^{\left( \tfrac{B}{{{V}_{u}}}-\tfrac{B}{{{V}_{A}}} \right)}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, if &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is assumed to be known a priori (using an activation energy), the assumed activation energy alone dictates this acceleration factor!&lt;br /&gt;
&lt;br /&gt;
=Arrhenius-Exponential=&lt;br /&gt;
The &#039;&#039;pdf&#039;&#039; of the 1-parameter exponential distribution is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
f(t)=\lambda {{e}^{-\lambda t}} &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It can be easily shown that the mean life for the 1-parameter exponential distribution (presented in detail [[Distributions used in Accelerated Testing#The Exponential Distribution|here]]) is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\lambda =\frac{1}{m}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
thus:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f(t)=\frac{1}{m}{{e}^{-\tfrac{t}{m}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Arrhenius-exponential model &#039;&#039;pdf&#039;&#039; can then be obtained by setting &amp;lt;math&amp;gt;m=L(V)\,\!&amp;lt;/math&amp;gt;: &lt;br /&gt;
&lt;br /&gt;
Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;m=L(V)=C{{e}^{\tfrac{B}{V}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substituting for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; yields a &#039;&#039;pdf&#039;&#039; that is both a function of time and stress or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f(t,V)=\frac{1}{C{{e}^{\tfrac{B}{V}}}}\cdot {{e}^{-\tfrac{1}{C{{e}^{\tfrac{B}{V}}}}\cdot t}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Arrhenius-Exponential Statistical Properties Summary==&lt;br /&gt;
====Mean or MTTF====&lt;br /&gt;
The mean, &amp;lt;math&amp;gt;\overline{T},\,\!&amp;lt;/math&amp;gt; or Mean Time To Failure (MTTF) of the Arrhenius-exponential is given by,&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
   \overline{T}=\int_{0}^{\infty }t\cdot f(t,V)dt=\int_{0}^{\infty }t\cdot \frac{1}{C{{e}^{\tfrac{B}{V}}}}{{e}^{-\tfrac{t}{C{{e}^{\tfrac{B}{V}}}}}}dt =\  C{{e}^{\tfrac{B}{V}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Median====&lt;br /&gt;
The median, &amp;lt;math&amp;gt;\breve{T}\,\!&amp;lt;/math&amp;gt; of the Arrhenius-exponential model is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\breve{T}=0.693\cdot C{{e}^{\tfrac{B}{V}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Mode====&lt;br /&gt;
The mode, &amp;lt;math&amp;gt;\tilde{T},\,\!&amp;lt;/math&amp;gt; of the Arrhenius-exponential model is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\tilde{T}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Standard Deviation====&lt;br /&gt;
The standard deviation, &amp;lt;math&amp;gt;{{\sigma }_{T}}\,\!&amp;lt;/math&amp;gt;, of the Arrhenius-exponential model is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\sigma }_{T}}=C{{e}^{\tfrac{B}{V}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Arrhenius-Exponential Reliability Function====&lt;br /&gt;
The Arrhenius-exponential reliability function is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,V)={{e}^{-\tfrac{T}{C{{e}^{\tfrac{B}{V}}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This function is the complement of the Arrhenius-exponential cumulative distribution function or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,V)=1-Q(T,V)=1-\int_{0}^{T}f(T,V)dT\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,V)=1-\int_{0}^{T}\frac{1}{C{{e}^{\tfrac{B}{V}}}}{{e}^{-\tfrac{T}{C{{e}^{\tfrac{B}{V}}}}}}dT={{e}^{-\tfrac{T}{C{{e}^{\tfrac{B}{V}}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Conditional Reliability====&lt;br /&gt;
The Arrhenius-exponential conditional reliability function is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R((t|T),V)=\frac{R(T+t,V)}{R(T,V)}=\frac{{{e}^{-\lambda (T+t)}}}{{{e}^{-\lambda T}}}={{e}^{-\tfrac{t}{C{{e}^{\tfrac{B}{V}}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Reliable Life====&lt;br /&gt;
For the Arrhenius-exponential model, the reliable life, or the mission duration for a desired reliability goal, &amp;lt;math&amp;gt;{{t}_{R}},\,\!&amp;lt;/math&amp;gt; is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R({{t}_{R}},V)={{e}^{-\tfrac{{{t}_{R}}}{C{{e}^{\tfrac{B}{V}}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\ln [R({{t}_{R}},V)]=-\frac{{{t}_{R}}}{C{{e}^{\tfrac{B}{V}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{t}_{R}}=-C{{e}^{\tfrac{B}{V}}}\ln [R({{t}_{R}},V)]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Parameter Estimation==&lt;br /&gt;
====Maximum Likelihood Estimation Method====&lt;br /&gt;
The log-likelihood function for the exponential distribution is as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \ln (L)= &amp;amp; \Lambda =\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\ln \left[ \lambda {{e}^{-\lambda {{T}_{i}}}} \right]-\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\lambda T_{i}^{\prime } \ &lt;br /&gt;
 &amp;amp; \overset{FI}{\mathop{\underset{i=1}{\mathop{+\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\ln [\Phi (z_{Ri}^{\prime \prime })-\Phi (z_{Li}^{\prime \prime })]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R_{Li}^{\prime \prime }={{e}^{-\lambda T_{Li}^{\prime \prime }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R_{Ri}^{\prime \prime }={{e}^{-\lambda T_{Ri}^{\prime \prime }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{F}_{e}}\,\!&amp;lt;/math&amp;gt; is the number of groups of exact times-to-failure data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{N}_{i}}\,\!&amp;lt;/math&amp;gt; is the number of times-to-failure in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; time-to-failure data group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\lambda \,\!&amp;lt;/math&amp;gt; is the failure rate parameter (unknown).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{T}_{i}}\,\!&amp;lt;/math&amp;gt; is the exact failure time of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;S\,\!&amp;lt;/math&amp;gt; is the number of groups of suspension data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;N_{i}^{\prime }\,\!&amp;lt;/math&amp;gt; is the number of suspensions in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group of suspension data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{i}^{\prime }\,\!&amp;lt;/math&amp;gt; is the time of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; suspension data group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;FI\,\!&amp;lt;/math&amp;gt; is the number of interval data groups.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;N_{i}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the number of intervals in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group of data intervals.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{Li}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the beginning of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; interval.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{Ri}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the ending of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; interval.&lt;br /&gt;
&lt;br /&gt;
Substituting the Arrhenius-exponential model into the log-likelihood function yields:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  \Lambda = \underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\ln \left[ \frac{1}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}}{{e}^{-\tfrac{1}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}}{{T}_{i}}}} \right] -\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\frac{1}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}}T_{i}^{\prime }+\overset{FI}{\mathop{\underset{i=1}{\mathop{\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\ln [R_{Li}^{\prime \prime }-R_{Ri}^{\prime \prime }]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R_{Li}^{\prime \prime }={{e}^{-\tfrac{T_{Li}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R_{Ri}^{\prime \prime }={{e}^{-\tfrac{T_{Ri}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The solution (parameter estimates) will be found by solving for the parameters &amp;lt;math&amp;gt;\widehat{B},\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{C}\,\!&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial B}=0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial C}=0\,\!&amp;lt;/math&amp;gt;, where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{\partial \Lambda }{\partial B}= &amp;amp; \frac{1}{C}\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\left( \frac{{{T}_{i}}}{{{V}_{i}}{{e}^{\tfrac{B}{{{V}_{i}}}}}}-\frac{C}{{{V}_{i}}} \right)+\frac{1}{C}\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\frac{T_{i}^{\prime }}{{{V}_{i}}{{e}^{\tfrac{B}{{{V}_{i}}}}}} \overset{FI}{\mathop{\underset{i=1}{\mathop{+\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{T_{Li}^{\prime \prime }R_{Li}^{\prime \prime }-T_{Ri}^{\prime \prime }R_{Ri}^{\prime \prime }}{(R_{Li}^{\prime \prime }-R_{Ri}^{\prime \prime })C{{V}_{i}}{{e}^{\tfrac{B}{{{V}_{i}}}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{\partial \Lambda }{\partial C}= &amp;amp; \frac{1}{C}\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\left( \frac{{{T}_{i}}}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}}-1 \right)+\frac{1}{{{C}^{2}}}\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\frac{T_{i}^{\prime }}{{{e}^{\tfrac{B}{{{V}_{i}}}}}} \overset{FI}{\mathop{\underset{i=1}{\mathop{+\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{T_{Li}^{\prime \prime }R_{Li}^{\prime \prime }-T_{Ri}^{\prime \prime }R_{Ri}^{\prime \prime }}{(R_{Li}^{\prime \prime }-R_{Ri}^{\prime \prime }){{C}^{2}}{{e}^{\tfrac{B}{{{V}_{i}}}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Arrhenius-Weibull=&amp;lt;!-- THIS SECTION HEADER IS LINKED TO: Arrhenius Example. IF YOU RENAME THE SECTION, YOU MUST UPDATE THE LINK. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;pdf&#039;&#039; for the 2-parameter Weibull distribution is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f(t)=\frac{\beta }{\eta }{{\left( \frac{t}{\eta } \right)}^{\beta -1}}{{e}^{-{{\left( \tfrac{t}{\eta } \right)}^{\beta }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The scale parameter (or characteristic life) of the Weibull distribution is &amp;lt;math&amp;gt;\eta \,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Arrhenius-Weibull model &#039;&#039;pdf&#039;&#039; can then be obtained by setting &amp;lt;math&amp;gt;\eta =L(V)\,\!&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\eta =L(V)=C\cdot {{e}^{\tfrac{B}{V}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and substituting for &amp;lt;math&amp;gt;\eta \,\!&amp;lt;/math&amp;gt; in the 2-parameter Weibull distribution equation:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f(t,V)=\frac{\beta }{C\cdot {{e}^{\tfrac{B}{V}}}}{{\left( \frac{t}{C\cdot {{e}^{\tfrac{B}{V}}}} \right)}^{\beta -1}}{{e}^{-{{\left( \tfrac{t}{C\cdot {{e}^{\tfrac{B}{V}}}} \right)}^{\beta }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
An illustration of the &#039;&#039;pdf&#039;&#039;  for different stresses is shown in the next figure.  As expected, the &#039;&#039;pdf&#039;&#039; at lower stress levels is more stretched to the right, with a higher scale parameter, while its shape remains the same (the shape parameter is approximately 3). This behavior is observed when the parameter &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; of the Arrhenius model is positive.&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.6.png|center|400px|Behavior of the probability density function at different stresses and with the parameters held constant.]]&lt;br /&gt;
&lt;br /&gt;
The advantage of using the Weibull distribution as the life distribution lies in its flexibility to assume different shapes. The Weibull distribution is presented in greater detail in [[The Weibull Distribution]].&lt;br /&gt;
&lt;br /&gt;
==Arrhenius-Weibull Statistical Properties Summary==&lt;br /&gt;
====Mean or MTTF====&lt;br /&gt;
The mean, &amp;lt;math&amp;gt;\overline{T}\,\!&amp;lt;/math&amp;gt; (also called &amp;lt;math&amp;gt;MTTF\,\!&amp;lt;/math&amp;gt; by some authors), of the Arrhenius-Weibull relationship is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\overline{T}=C\cdot {{e}^{\tfrac{B}{V}}}\cdot \Gamma \left( \frac{1}{\beta }+1 \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\Gamma \left( \tfrac{1}{\beta }+1 \right)\,\!&amp;lt;/math&amp;gt; is the gamma function evaluated at the value of &amp;lt;math&amp;gt;\left( \tfrac{1}{\beta }+1 \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Median====&lt;br /&gt;
The median, &amp;lt;math&amp;gt;\breve{T},\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
for the Arrhenius-Weibull model is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\breve{T}=C\cdot {{e}^{\tfrac{B}{V}}}{{\left( \ln 2 \right)}^{\tfrac{1}{\beta }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Mode====&lt;br /&gt;
The mode, &amp;lt;math&amp;gt;\tilde{T},\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
for the Arrhenius-Weibull model is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\tilde{T}=C\cdot {{e}^{\tfrac{B}{V}}}{{\left( 1-\frac{1}{\beta } \right)}^{\tfrac{1}{\beta }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Standard Deviation====&lt;br /&gt;
The standard deviation, &amp;lt;math&amp;gt;{{\sigma }_{T}},\,\!&amp;lt;/math&amp;gt; for the Arrhenius-Weibull model is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\sigma }_{T}}=C\cdot {{e}^{\tfrac{B}{V}}}\cdot \sqrt{\Gamma \left( \frac{2}{\beta }+1 \right)-{{\left( \Gamma \left( \frac{1}{\beta }+1 \right) \right)}^{2}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Arrhenius-Weibull Reliability Function====&lt;br /&gt;
The Arrhenius-Weibull reliability function is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,V)={{e}^{-{{\left( \tfrac{T}{C\cdot {{e}^{\tfrac{B}{V}}}} \right)}^{\beta }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If the parameter &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is positive, then the reliability increases as stress decreases.&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.7.png|center|500px|Behavior of the reliability function at different stress and constant parameter values.]]&lt;br /&gt;
&lt;br /&gt;
The behavior of the reliability function of the Weibull distribution for different values of &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; was illustrated [[Distributions used in Accelerated Testing#The Weibull Distribution|here]]. In the case of the Arrhenius-Weibull model, however, the reliability is a function of stress also. A 3D plot such as the ones shown in the next figure is now needed to illustrate the effects of both the stress and &amp;lt;math&amp;gt;\beta .\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.8.png|center|800px|Reliability function for &amp;lt;math&amp;gt;\Beta&amp;lt;1 \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Beta=1 \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\Beta&amp;gt;1 \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
====Conditional Reliability Function====&lt;br /&gt;
The Arrhenius-Weibull conditional reliability function at a specified stress level is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R((t|T),V)=\frac{R(T+t,V)}{R(T,V)}=\frac{{{e}^{-{{\left( \tfrac{T+t}{\eta } \right)}^{\beta }}}}}{{{e}^{-{{\left( \tfrac{T}{\eta } \right)}^{\beta }}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R((t|T),V)={{e}^{-\left[ {{\left( \tfrac{T+t}{C\cdot {{e}^{\tfrac{B}{V}}}} \right)}^{\beta }}-{{\left( \tfrac{T}{C\cdot {{e}^{\tfrac{B}{V}}}} \right)}^{\beta }} \right]}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Reliable Life====&lt;br /&gt;
For the Arrhenius-Weibull relationship, the reliable life, &amp;lt;math&amp;gt;{{t}_{R}}\,\!&amp;lt;/math&amp;gt;, of a unit for a specified reliability and starting the mission at age zero is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{t}_{R}}=C\cdot {{e}^{\tfrac{B}{V}}}{{\left\{ -\ln \left[ R\left( {{t}_{R}},V \right) \right] \right\}}^{\tfrac{1}{\beta }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is the life for which the unit will function successfully with a reliability of &amp;lt;math&amp;gt;R({{t}_{R}})\,\!&amp;lt;/math&amp;gt;. If &amp;lt;math&amp;gt;R({{t}_{R}})=0.50\,\!&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;{{t}_{R}}=\breve{T}\,\!&amp;lt;/math&amp;gt;, the median life, or the life by which half of the units will survive.&lt;br /&gt;
&lt;br /&gt;
====Arrhenius-Weibull Failure Rate Function====&lt;br /&gt;
The Arrhenius-Weibull failure rate function, &amp;lt;math&amp;gt;\lambda (T)\,\!&amp;lt;/math&amp;gt;, is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\lambda \left( T,V \right)=\frac{f\left( T,V \right)}{R\left( T,V \right)}=\frac{\beta }{C\cdot {{e}^{\tfrac{B}{V}}}}{{\left( \frac{T}{C\cdot {{e}^{\tfrac{B}{V}}}} \right)}^{\beta -1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:ALTA6.9.png|center|800px|Failure rate function for &amp;lt;math&amp;gt;\Beta&amp;lt;1 \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\Beta=1 \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;\Beta&amp;gt;1 \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
==Parameter Estimation==&lt;br /&gt;
====Maximum Likelihood Estimation Method====&lt;br /&gt;
The Arrhenius-Weibull log-likelihood function is as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Lambda = &amp;amp; \underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\ln \left[ \frac{\beta }{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}}{{\left( \frac{{{T}_{i}}}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta -1}}{{e}^{-{{\left( \tfrac{{{T}_{i}}}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}}} \right] \ -\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }{{\left( \frac{T_{i}^{\prime }}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}+\overset{FI}{\mathop{\underset{i=1}{\mathop{\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\ln [R_{Li}^{\prime \prime }-R_{Ri}^{\prime \prime }]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R_{Li}^{\prime \prime }={{e}^{-{{\left( \tfrac{T_{Li}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R_{Ri}^{\prime \prime }={{e}^{-{{\left( \tfrac{T_{Ri}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{F}_{e}}\,\!&amp;lt;/math&amp;gt; is the number of groups of exact times-to-failure data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{N}_{i}}\,\!&amp;lt;/math&amp;gt; is the number of times-to-failure data points in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; time-to-failure data group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; is the Weibull shape parameter (unknown, the first of three parameters to be estimated).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is the Arrhenius parameter (unknown, the second of three parameters to be estimated).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is the second Arrhenius parameter (unknown, the third of three parameters to be estimated).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{V}_{i}}\,\!&amp;lt;/math&amp;gt; is the stress level of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{T}_{i}}\,\!&amp;lt;/math&amp;gt; is the exact failure time of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;S\,\!&amp;lt;/math&amp;gt; is the number of groups of suspension data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;N_{i}^{\prime }\,\!&amp;lt;/math&amp;gt; is the number of suspensions in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group of suspension data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{i}^{\prime }\,\!&amp;lt;/math&amp;gt; is the running time of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; suspension data group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;FI\,\!&amp;lt;/math&amp;gt; is the number of interval data groups.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;N_{i}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the number of intervals in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group of data intervals.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{Li}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the beginning of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; interval.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{Ri}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the ending of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; interval.&lt;br /&gt;
&lt;br /&gt;
The solution (parameter estimates) will be found by solving for &amp;lt;math&amp;gt;\widehat{\beta },\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{B},\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{C}\,\!&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial \beta }=0,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial B}=0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial C}=0\,\!&amp;lt;/math&amp;gt;, where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  \frac{\partial \Lambda }{\partial \beta }=\ &amp;amp; \frac{1}{\beta }\underset{i=1}{\overset{{{F}_{e}}}{\mathop{\sum }}}\,{{N}_{i}}+\underset{i=1}{\overset{{{F}_{e}}}{\mathop{\sum }}}\,{{N}_{i}}\ln \left( \frac{{{T}_{i}}}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right) -\underset{i=1}{\overset{{{F}_{e}}}{\mathop{\sum }}}\,{{N}_{i}}{{\left( \frac{{{T}_{i}}}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}\ln \left( \frac{{{T}_{i}}}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right) -\underset{i=1}{\overset{S}{\mathop{\sum }}}\,N_{i}^{\prime }{{\left( \frac{T_{i}^{\prime }}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}\ln \left( \frac{T_{i}^{\prime }}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right) \\ &lt;br /&gt;
 &amp;amp; \overset{FI}{\mathop{\underset{i=1}{\mathop{-\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{{{\left( \tfrac{T_{Li}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}\ln \left( \tfrac{T_{Li}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)R_{Li}^{\prime \prime }-{{\left( \tfrac{T_{Ri}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}\ln \left( \tfrac{T_{Ri}^{\prime \prime }}{C{{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)R_{Ri}^{\prime \prime }}{R_{Li}^{\prime \prime }-R_{Ri}^{\prime \prime }}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{\partial \Lambda }{\partial B}= -\beta \underset{i=1}{\overset{{{F}_{e}}}{\mathop{\sum }}}\,{{N}_{i}}\frac{1}{{{V}_{i}}}+\beta \underset{i=1}{\overset{{{F}_{e}}}{\mathop{\sum }}}\,{{N}_{i}}\frac{1}{{{V}_{i}}}{{\left( \frac{{{T}_{i}}}{\widehat{C}{{e}^{\tfrac{\widehat{B}}{{{V}_{i}}}}}} \right)}^{\beta }}+\beta \underset{i=1}{\overset{S}{\mathop{\sum }}}\,N_{i}^{\prime }\frac{1}{{{V}_{i}}}{{\left( \frac{T_{i}^{\prime }}{\widehat{C}{{e}^{\tfrac{\widehat{B}}{{{V}_{i}}}}}} \right)}^{\beta }} +\overset{FI}{\mathop{\underset{i=1}{\mathop{\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{\beta }{{{V}_{i}}}\frac{{{(T_{Li}^{\prime \prime })}^{\beta }}R_{Li}^{\prime \prime }-{{(T_{Ri}^{\prime \prime })}^{\beta }}R_{Ri}^{\prime \prime }}{{{\left( C{{e}^{\tfrac{B}{{{V}_{i}}}}} \right)}^{\beta }}\left( R_{Li}^{\prime \prime }-R_{Ri}^{\prime \prime } \right)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{\partial \Lambda }{\partial C}= -\frac{\beta }{C}\underset{i=1}{\overset{{{F}_{e}}}{\mathop{\sum }}}\,{{N}_{i}}+\frac{\beta }{C}\underset{i=1}{\overset{{{F}_{e}}}{\mathop{\sum }}}\,{{N}_{i}}{{\left( \frac{{{T}_{i}}}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }}+\frac{\beta }{C}\underset{i=1}{\overset{S}{\mathop{\sum }}}\,N_{i}^{\prime }{{\left( \frac{T_{i}^{\prime }}{C\cdot {{e}^{\tfrac{B}{{{V}_{i}}}}}} \right)}^{\beta }} +\overset{FI}{\mathop{\underset{i=1}{\mathop{\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{\beta }{C}\frac{{{(T_{Li}^{\prime \prime })}^{\beta }}R_{Li}^{\prime \prime }-{{(T_{Ri}^{\prime \prime })}^{\beta }}R_{Ri}^{\prime \prime }}{{{\left( C{{e}^{\tfrac{B}{{{V}_{i}}}}} \right)}^{\beta }}\left( R_{Li}^{\prime \prime }-R_{Ri}^{\prime \prime } \right)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Arrhenius-Weibull example==&lt;br /&gt;
{{:Arrhenius_Example}}&lt;br /&gt;
&lt;br /&gt;
=Arrhenius-Lognormal=&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;pdf&#039;&#039; of the lognormal distribution is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f(T)=\frac{1}{T\text{ }{{\sigma }_{{{T}&#039;}}}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{{T}&#039;-\bar{{{T}&#039;}}}{{{\sigma }_{{{T}&#039;}}}} \right)}^{2}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{T}&#039;=\ln(T)&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T=\,\!&amp;lt;/math&amp;gt; times-to-failure.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{T}&#039;=\,\!&amp;lt;/math&amp;gt; mean of the natural logarithms of the times-to-failure.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{\sigma }_{{{T}&#039;}}}=\,\!&amp;lt;/math&amp;gt; standard deviation of the natural logarithms of the times-to-failure.&lt;br /&gt;
&lt;br /&gt;
The median of the lognormal distribution is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\breve{T}={{e}^{{{\overline{T}}^{\prime }}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Arrhenius-lognormal model &#039;&#039;pdf&#039;&#039; can be obtained first by setting &amp;lt;math&amp;gt;\breve{T}=L(V)\,\!&amp;lt;/math&amp;gt;. Therefore: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\breve{T}=L(V)=C{{e}^{\tfrac{B}{V}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{e}^{{{\overline{T}}^{\prime }}}}=C{{e}^{\tfrac{B}{V}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\overline{T}}^{\prime }}=\ln (C)+\frac{B}{V}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Substituting the above equation into the lognormal &#039;&#039;pdf&#039;&#039; yields the Arrhenius-lognormal model &#039;&#039;pdf&#039;&#039; or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;f(T,V)=\frac{1}{T\text{ }{{\sigma }_{{{T}&#039;}}}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{{T}&#039;-\ln (C)-\tfrac{B}{V}}{{{\sigma }_{{{T}&#039;}}}} \right)}^{2}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that in the Arrhenius-lognormal &#039;&#039;pdf&#039;&#039;, it was assumed that the standard deviation of the natural logarithms of the times-to-failure, &amp;lt;math&amp;gt;{{\sigma }_{{{T}&#039;}}},\,\!&amp;lt;/math&amp;gt; is independent of stress. This assumption implies that the shape of the distribution does not change with stress ( &amp;lt;math&amp;gt;{{\sigma }_{{{T}&#039;}}}\,\!&amp;lt;/math&amp;gt; is the shape parameter of the lognormal distribution).&lt;br /&gt;
&lt;br /&gt;
==Arrhenius-Lognormal Statistical Properties Summary==&lt;br /&gt;
====The Mean====&lt;br /&gt;
*The mean life of the Arrhenius-lognormal model (mean of the times-to-failure), &amp;lt;math&amp;gt;\bar{T}\,\!&amp;lt;/math&amp;gt;, is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \bar{T}= &amp;amp; {{e}^{\bar{{T}&#039;}+\tfrac{1}{2}\sigma _{{{T}&#039;}}^{2}}} =\ &amp;amp; {{e}^{\ln (C)+\tfrac{B}{V}+\tfrac{1}{2}\sigma _{{{T}&#039;}}^{2}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The mean of the natural logarithms of the times-to-failure, &amp;lt;math&amp;gt;{{\bar{T}}^{^{\prime }}}\,\!&amp;lt;/math&amp;gt;, in terms of &amp;lt;math&amp;gt;\bar{T}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\sigma }_{T}}\,\!&amp;lt;/math&amp;gt; is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{T}}^{\prime }}=\ln \left( {\bar{T}} \right)-\frac{1}{2}\ln \left( \frac{\sigma _{T}^{2}}{{{{\bar{T}}}^{2}}}+1 \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====The Standard Deviation====&lt;br /&gt;
*The standard deviation of the Arrhenius-lognormal model (standard deviation of the times-to-failure), &amp;lt;math&amp;gt;{{\sigma }_{T}}\,\!&amp;lt;/math&amp;gt;, is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\sigma }_{T}}= &amp;amp; \sqrt{\left( {{e}^{2\bar{{T}&#039;}+\sigma _{{{T}&#039;}}^{2}}} \right)\left( {{e}^{\sigma _{{{T}&#039;}}^{2}}}-1 \right)} =\ &amp;amp; \sqrt{\left( {{e}^{2\left( \ln (C)+\tfrac{B}{V} \right)+\sigma _{{{T}&#039;}}^{2}}} \right)\left( {{e}^{\sigma _{{{T}&#039;}}^{2}}}-1 \right)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The standard deviation of the natural logarithms of the times-to-failure, &amp;lt;math&amp;gt;{{\sigma }_{{{T}&#039;}}}\,\!&amp;lt;/math&amp;gt;, in terms of &amp;lt;math&amp;gt;\bar{T}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\sigma }_{T}}\,\!&amp;lt;/math&amp;gt; is given by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\sigma }_{{{T}&#039;}}}=\sqrt{\ln \left( \frac{\sigma _{T}^{2}}{{{{\bar{T}}}^{2}}}+1 \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====The Mode====&lt;br /&gt;
*The mode of the Arrhenius-lognormal model is given by: &lt;br /&gt;
	&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
	  &amp;amp; \tilde{T}=\ {{e}^{{{\overline{T}}^{\prime }}-\sigma _{{{T}&#039;}}^{2}}} =\  {{e}^{\ln (C)+\tfrac{B}{V}-\sigma _{{{T}&#039;}}^{2}}}  &lt;br /&gt;
	\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Arrhenius-Lognormal Reliability Function====&lt;br /&gt;
The reliability for a mission of time &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt;, starting at age 0, for the Arrhenius-lognormal model is determined by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,V)=\int_{T}^{\infty }f(t,V)dt\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(T,V)=\int_{{{T}^{^{\prime }}}}^{\infty }\frac{1}{{{\sigma }_{{{T}&#039;}}}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{t-\ln (C)-\tfrac{B}{V}}{{{\sigma }_{{{T}&#039;}}}} \right)}^{2}}}}dt\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There is no closed form solution for the lognormal reliability function. Solutions can be obtained via the use of standard normal tables. Since the application automatically solves for the reliability, we will not discuss manual solution methods.&lt;br /&gt;
&lt;br /&gt;
====Reliable Life====&lt;br /&gt;
For the Arrhenius-lognormal model, the reliable life, or the mission duration for a desired reliability goal, &amp;lt;math&amp;gt;{{t}_{R}},\,\!&amp;lt;/math&amp;gt; is estimated by first solving the reliability equation with respect to time, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{T}&#039;_{R}}= ln(C)+\frac{B}{V}+z \cdot {{\sigma}_{{T}&#039;}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;z={{\Phi }^{-1}}\left[ F\left( T_{R}^{\prime },V \right) \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\Phi (z)=\frac{1}{\sqrt{2\pi }}\int_{-\infty }^{z({T}&#039;,V)}{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since &amp;lt;math&amp;gt;{T}&#039;=\ln (T)\,\!&amp;lt;/math&amp;gt; the reliable life, &amp;lt;math&amp;gt;{{t}_{R}},\,\!&amp;lt;/math&amp;gt; is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{t}_{R}}={{e}^{T_{R}^{\prime }}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Arrhenius-Lognormal Failure Rate====&lt;br /&gt;
The Arrhenius-lognormal failure rate is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\lambda (T,V)=\frac{f(T,V)}{R(T,V)}=\frac{\tfrac{1}{T\text{ }{{\sigma }_{{{T}&#039;}}}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{{T}&#039;-\ln (C)-\tfrac{B}{V}}{{{\sigma }_{{{T}&#039;}}}} \right)}^{2}}}}}{\int_{{{T}&#039;}}^{\infty }\tfrac{1}{{{\sigma }_{{{T}&#039;}}}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{{T}&#039;-\ln (C)-\tfrac{B}{V}}{{{\sigma }_{{{T}&#039;}}}} \right)}^{2}}}}dt}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Parameter Estimation==&lt;br /&gt;
====Maximum Likelihood Estimation Method====&lt;br /&gt;
&lt;br /&gt;
The lognormal log-likelihood function for the Arrhenius-lognormal model is as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \ln (L)= &amp;amp; \Lambda =\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\ln \left[ \frac{1}{{{\sigma }_{{{T}&#039;}}}{{T}_{i}}}\phi \left( \frac{\ln \left( {{T}_{i}} \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right) \right] \text{ }+\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\ln \left[ 1-\Phi \left( \frac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right) \right] +\overset{FI}{\mathop{\underset{i=1}{\mathop{\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\ln [\Phi (z_{Ri}^{\prime \prime })-\Phi (z_{Li}^{\prime \prime })]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;z_{Li}^{\prime \prime }=\frac{\ln T_{Li}^{\prime \prime }-\ln C-\tfrac{B}{{{V}_{i}}}}{\sigma _{T}^{\prime }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;z_{Ri}^{\prime \prime }=\frac{\ln T_{Ri}^{\prime \prime }-\ln C-\tfrac{B}{{{V}_{i}}}}{\sigma _{T}^{\prime }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{F}_{e}}\,\!&amp;lt;/math&amp;gt; is the number of groups of exact times-to-failure data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{N}_{i}}\,\!&amp;lt;/math&amp;gt; is the number of times-to-failure data points in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; time-to-failure data group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{\sigma}_{{T}&#039;}}\,\!&amp;lt;/math&amp;gt; is the standard deviation of the natural logarithm of the times-to-failure (unknown, the first of three parameters to be estimated).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is the Arrhenius parameter (unknown, the second of three parameters to be estimated).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is the second Arrhenius parameter (unknown, the third of three parameters to be estimated).&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{V}_{i}}\,\!&amp;lt;/math&amp;gt; is the stress level of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{T}_{i}}\,\!&amp;lt;/math&amp;gt; is the exact failure time of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;S\,\!&amp;lt;/math&amp;gt; is the number of groups of suspension data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;N_{i}^{\prime }\,\!&amp;lt;/math&amp;gt; is the number of suspensions in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group of suspension data points.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{i}^{\prime }\,\!&amp;lt;/math&amp;gt; is the running time of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; suspension data group.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;FI\,\!&amp;lt;/math&amp;gt; is the number of interval data groups.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;N_{i}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the number of intervals in the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; group of data intervals.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{Li}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the beginning of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; interval.&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;T_{Ri}^{\prime \prime }\,\!&amp;lt;/math&amp;gt; is the ending of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; interval.&lt;br /&gt;
&lt;br /&gt;
The solution (parameter estimates) will be found by solving for &amp;lt;math&amp;gt;{{\widehat{\sigma }}_{{{T}&#039;}}},\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{B},\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{C}\,\!&amp;lt;/math&amp;gt; so that &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial {{\sigma }_{{{T}&#039;}}}}=0,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial B}=0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\tfrac{\partial \Lambda }{\partial C}=0\,\!&amp;lt;/math&amp;gt;, where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{\partial \Lambda }{\partial B}= \frac{1}{\sigma _{{{T}&#039;}}^{2}}\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\frac{1}{{{V}_{i}}}(\ln ({{T}_{i}})-\ln (C)-\frac{B}{{{V}_{i}}}) +\frac{1}{{{\sigma }_{{{T}&#039;}}}}\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\frac{1}{{{V}_{i}}}\frac{\phi \left( \tfrac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right)}{1-\Phi \left( \tfrac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right)} \overset{FI}{\mathop{\underset{i=1}{\mathop{-\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{\varphi (z_{Ri}^{\prime \prime })-\varphi (z_{Li}^{\prime \prime })}{\sigma _{T}^{\prime }{{V}_{i}}(\Phi (z_{Ri}^{\prime \prime })-\Phi (z_{Li}^{\prime \prime }))}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{\partial \Lambda }{\partial C}= \frac{1}{C\cdot \sigma _{{{T}&#039;}}^{2}}\underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}(\ln ({{T}_{i}})-\ln (C)-\frac{B}{{{V}_{i}}}) +\frac{1}{C\cdot {{\sigma }_{{{T}&#039;}}}}\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\frac{\phi \left( \tfrac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right)}{1-\Phi \left( \tfrac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right)} \overset{FI}{\mathop{\underset{i=1}{\mathop{-\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{\varphi (z_{Ri}^{\prime \prime })-\varphi (z_{Li}^{\prime \prime })}{\sigma _{T}^{\prime }C(\Phi (z_{Ri}^{\prime \prime })-\Phi (z_{Li}^{\prime \prime }))} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;  \\ &lt;br /&gt;
 &amp;amp; \frac{\partial \Lambda }{\partial {{\sigma }_{{{T}&#039;}}}}= \underset{i=1}{\overset{{{F}_{e}}}{\mathop \sum }}\,{{N}_{i}}\left( \frac{{{\left( \ln ({{T}_{i}})-\ln (C)-\tfrac{B}{{{V}_{i}}} \right)}^{2}}}{\sigma _{{{T}&#039;}}^{3}}-\frac{1}{{{\sigma }_{{{T}&#039;}}}} \right) +\frac{1}{{{\sigma }_{{{T}&#039;}}}}\underset{i=1}{\overset{S}{\mathop \sum }}\,N_{i}^{\prime }\frac{\left( \tfrac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right)\phi \left( \tfrac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right)}{1-\Phi \left( \tfrac{\ln \left( T_{i}^{\prime } \right)-\ln (C)-\tfrac{B}{{{V}_{i}}}}{{{\sigma }_{{{T}&#039;}}}} \right)} \overset{FI}{\mathop{\underset{i=1}{\mathop{-\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,N_{i}^{\prime \prime }\frac{z_{Ri}^{\prime \prime }\varphi (z_{Ri}^{\prime \prime })-z_{Li}^{\prime \prime }\varphi (z_{Li}^{\prime \prime })}{\sigma _{T}^{\prime }(\Phi (z_{Ri}^{\prime \prime })-\Phi (z_{Li}^{\prime \prime }))}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\phi \left( x \right)=\frac{1}{\sqrt{2\pi }}\cdot {{e}^{-\tfrac{1}{2}{{\left( x \right)}^{2}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\Phi (x)=\frac{1}{\sqrt{2\pi }}\int_{-\infty }^{x}{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=Arrhenius Confidence Bounds=&amp;lt;!-- THIS SECTION HEADER IS LINKED TO: Arrhenius_Example. IF YOU RENAME THE SECTION, YOU MUST UPDATE THE LINK. --&amp;gt;&lt;br /&gt;
==Approximate Confidence Bounds for the Arrhenius-Exponential==&lt;br /&gt;
There are different methods for computing confidence bounds. ALTA utilizes confidence bounds that are based on the asymptotic theory for maximum likelihood estimates, most commonly referred to as the Fisher matrix bounds.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
====Confidence Bounds on the Mean Life====&lt;br /&gt;
&lt;br /&gt;
The Arrhenius-exponential distribution is given by setting &amp;lt;math&amp;gt;m=L(V)\,\!&amp;lt;/math&amp;gt; in the exponential &#039;&#039;pdf&#039;&#039; equation. The upper &amp;lt;math&amp;gt;({{m}_{U}})\,\!&amp;lt;/math&amp;gt; and lower &amp;lt;math&amp;gt;({{m}_{L}})\,\!&amp;lt;/math&amp;gt; bounds on the mean life are then estimated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
 &amp;amp; {{m}_{U}}= \widehat{m}\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{m})}}{\widehat{m}}}} \\ &lt;br /&gt;
 &amp;amp; {{m}_{L}}= \widehat{m}\cdot {{e}^{-\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{m})}}{\widehat{m}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{K}_{\alpha }}\,\!&amp;lt;/math&amp;gt; is defined by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha =\frac{1}{\sqrt{2\pi }}\int_{{{K}_{\alpha }}}^{\infty }{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; is the confidence level (i.e., 95%=0.95), then &amp;lt;math&amp;gt;\alpha =\tfrac{1-\delta }{2}\,\!&amp;lt;/math&amp;gt; for the two-sided bounds, and &amp;lt;math&amp;gt;\alpha =1-\delta \,\!&amp;lt;/math&amp;gt; for the one-sided bounds. The variance of &amp;lt;math&amp;gt;\widehat{m}\,\!&amp;lt;/math&amp;gt; is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(\widehat{m})= &amp;amp; {{\left( \frac{\partial m}{\partial C} \right)}^{2}}Var(\widehat{C})+{{\left( \frac{\partial m}{\partial B} \right)}^{2}}Var(\widehat{B}) +2\left( \frac{\partial m}{\partial C} \right)\left( \frac{\partial m}{\partial B} \right)Cov(\widehat{B},\widehat{C})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var(\widehat{m})={{e}^{\tfrac{2\widehat{B}}{V}}}\left[ Var(\widehat{C})+\frac{{{\widehat{C}}^{2}}}{{{V}^{2}}}Var(\widehat{B})+\frac{2\widehat{C}}{V}Cov(\widehat{B},\widehat{C}) \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variances and covariance of &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; are estimated from the local Fisher matrix (evaluated at &amp;lt;math&amp;gt;\widehat{B}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\widehat{C})\,\!&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\left[ \begin{matrix}&lt;br /&gt;
   Var(\widehat{B}) &amp;amp; Cov(\widehat{B},\widehat{C})  \\&lt;br /&gt;
   Cov(\widehat{C},\widehat{B}) &amp;amp; Var(\widehat{C})  \\&lt;br /&gt;
\end{matrix} \right]={{\left[ \begin{matrix}&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{B}^{2}}} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial B\partial C}  \\&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial C\partial B} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{C}^{2}}}  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Confidence Bounds on Reliability====&lt;br /&gt;
The bounds on reliability for any given time, &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt;, are estimated by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{R}_{U}}(T)= &amp;amp; {{e}^{-\tfrac{T}{{{m}_{U}}}}} \\ &lt;br /&gt;
 &amp;amp; {{R}_{L}}(T)= &amp;amp; {{e}^{-\tfrac{T}{{{m}_{L}}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{m}_{U}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{m}_{L}}\,\!&amp;lt;/math&amp;gt; are estimated estimated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
 &amp;amp; {{m}_{U}}= \widehat{m}\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{m})}}{\widehat{m}}}} \\ &lt;br /&gt;
 &amp;amp; {{m}_{L}}= \widehat{m}\cdot {{e}^{-\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{m})}}{\widehat{m}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Confidence Bounds on Time====&lt;br /&gt;
The bounds on time (ML estimate of time) for a given reliability are estimated by first solving the reliability function with respect to time:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{T}=-\widehat{m}\cdot \ln (R)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The corresponding confidence bounds are then estimated from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{T}_{U}}= -{{m}_{U}}\cdot \ln (R) \\ &lt;br /&gt;
 &amp;amp; {{T}_{L}}= -{{m}_{L}}\cdot \ln (R)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{m}_{U}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{m}_{L}}\,\!&amp;lt;/math&amp;gt; are estimated estimated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
 &amp;amp; {{m}_{U}}= \widehat{m}\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{m})}}{\widehat{m}}}} \\ &lt;br /&gt;
 &amp;amp; {{m}_{L}}= \widehat{m}\cdot {{e}^{-\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{m})}}{\widehat{m}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Approximate Confidence Bounds for the Arrhenius-Weibull==&lt;br /&gt;
====Bounds on the Parameters====&lt;br /&gt;
From the asymptotically normal property of the maximum likelihood estimators, and since &amp;lt;math&amp;gt;\widehat{\beta },\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\widehat{C}\,\!&amp;lt;/math&amp;gt; are positive parameters, &amp;lt;math&amp;gt;\ln (\widehat{\beta }),\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\ln (\widehat{C})\,\!&amp;lt;/math&amp;gt; can then be treated as normally distributed. After performing this transformation, the bounds on the parameters can be estimated from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\beta }_{U}}= \widehat{\beta }\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{\beta })}}{\widehat{\beta }}}} \\ &lt;br /&gt;
 &amp;amp; {{\beta }_{L}}= \widehat{\beta }\cdot {{e}^{-\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{\beta })}}{\widehat{\beta }}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
also:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{B}_{U}}= \widehat{B}+{{K}_{\alpha }}\sqrt{Var(\widehat{B})} \\ &lt;br /&gt;
 &amp;amp; {{B}_{L}}= \widehat{B}-{{K}_{\alpha }}\sqrt{Var(\widehat{B})}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{C}_{U}}= \widehat{C}\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{C})}}{\widehat{C}}}} \\ &lt;br /&gt;
 &amp;amp; {{C}_{L}}= \widehat{C}\cdot {{e}^{-\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{C})}}{\widehat{C}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variances and covariances of &amp;lt;math&amp;gt;\beta ,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; are estimated from the local Fisher matrix (evaluated at &amp;lt;math&amp;gt;\widehat{\beta },\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{B},\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{C})\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\left[ \begin{matrix}&lt;br /&gt;
   Var(\widehat{\beta }) &amp;amp; Cov(\widehat{\beta },\widehat{B}) &amp;amp; Cov(\widehat{\beta },\widehat{C})  \\&lt;br /&gt;
   Cov(\widehat{B},\widehat{\beta }) &amp;amp; Var(\widehat{B}) &amp;amp; Cov(\widehat{B},\widehat{C})  \\&lt;br /&gt;
   Cov(\widehat{C},\widehat{\beta }) &amp;amp; Cov(\widehat{C},\widehat{B}) &amp;amp; Var(\widehat{C})  \\&lt;br /&gt;
\end{matrix} \right]={{\left[ \begin{matrix}&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{\beta }^{2}}} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial \beta \partial B} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial \beta \partial C}  \\&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial B\partial \beta } &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{B}^{2}}} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial B\partial C}  \\&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial C\partial \beta } &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial C\partial B} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{C}^{2}}}  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Confidence Bounds on Reliability====&lt;br /&gt;
The reliability function for the Arrhenius-Weibull model (ML estimate) is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{R}(T,V)={{e}^{-{{\left( \tfrac{T}{\widehat{C}\cdot {{e}^{\tfrac{\widehat{B}}{V}}}} \right)}^{\widehat{\beta }}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{R}(T)={{e}^{-{{e}^{\ln \left[ {{\left( \tfrac{T}{\widehat{C}\cdot {{e}^{\tfrac{\widehat{B}}{V}}}} \right)}^{\widehat{\beta }}} \right]}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Setting: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{u}=\ln \left[ {{\left( \frac{T}{\widehat{C}\cdot {{e}^{\tfrac{\widehat{B}}{V}}}} \right)}^{\widehat{\beta }}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{u}=\widehat{\beta }\left[ \ln (T)-\ln (\widehat{C})-\frac{\widehat{B}}{V} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The reliability function now becomes:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{R}(T,V)={{e}^{-{{e}^{\widehat{u}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next step is to find the upper and lower bounds on &amp;lt;math&amp;gt;\widehat{u}\ \ :\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{u}_{U}}=\widehat{u}+{{K}_{\alpha }}\sqrt{Var(\widehat{u})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{u}_{L}}=\widehat{u}-{{K}_{\alpha }}\sqrt{Var(\widehat{u})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(\widehat{u})= {{\left( \frac{\partial \widehat{u}}{\partial \beta } \right)}^{2}}Var(\widehat{\beta })+{{\left( \frac{\partial \widehat{u}}{\partial B} \right)}^{2}}Var(\widehat{B})+{{\left( \frac{\partial \widehat{u}}{\partial C} \right)}^{2}}Var(\widehat{C}) +2\left( \frac{\partial \widehat{u}}{\partial \beta } \right)\left( \frac{\partial \widehat{u}}{\partial B} \right)Cov(\widehat{\beta },\widehat{B})+2\left( \frac{\partial \widehat{u}}{\partial \beta } \right)\left( \frac{\partial \widehat{u}}{\partial C} \right)Cov(\widehat{\beta },\widehat{C}) +2\left( \frac{\partial \widehat{u}}{\partial B} \right)\left( \frac{\partial \widehat{u}}{\partial C} \right)Cov(\widehat{B},\widehat{C})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(\widehat{u})= {{\left( \frac{\widehat{u}}{\widehat{\beta }} \right)}^{2}}Var(\widehat{\beta })+{{\left( \frac{\widehat{\beta }}{V} \right)}^{2}}Var(\widehat{B})+{{\left( \frac{\widehat{\beta }}{\widehat{C}} \right)}^{2}}Var(\widehat{C}) -\frac{2\widehat{u}}{V}Cov(\widehat{\beta },\widehat{B})-\frac{2\widehat{u}}{\widehat{C}}Cov(\widehat{\beta },\widehat{C})+\frac{2{{\widehat{\beta }}^{2}}}{V\widehat{C}}Cov(\widehat{B},\widehat{C})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds on reliability are:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{R}_{U}}(T,V)= {{e}^{-{{e}^{\left( {{u}_{L}} \right)}}}} \\ &lt;br /&gt;
 &amp;amp; {{R}_{L}}(T,V)= {{e}^{-{{e}^{\left( {{u}_{U}} \right)}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Confidence Bounds on Time====&lt;br /&gt;
The bounds on time for a given reliability are estimated by first solving the reliability function with respect to time:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
   \ln (R)&amp;amp;=  -{{\left( \frac{\widehat{T}}{\widehat{C}\cdot {{e}^{\tfrac{\widehat{B}}{V}}}} \right)}^{\widehat{\beta }}} \\ &lt;br /&gt;
  \ln (-\ln (R))&amp;amp;=  \widehat{\beta }\left( \ln \widehat{T}-\ln \widehat{C}-\frac{\widehat{B}}{V} \right)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{u}=\frac{1}{\widehat{\beta }}\ln (-\ln (R))+\ln \widehat{C}+\frac{\widehat{B}}{V}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\widehat{u}=\ln \widehat{T}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds on &amp;lt;math&amp;gt;u\,\!&amp;lt;/math&amp;gt; are estimated from:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{u}_{U}}=\widehat{u}+{{K}_{\alpha }}\sqrt{Var(\widehat{u})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{u}_{L}}=\widehat{u}-{{K}_{\alpha }}\sqrt{Var(\widehat{u})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(\widehat{u})= &amp;amp; {{\left( \frac{\partial \widehat{u}}{\partial \beta } \right)}^{2}}Var(\widehat{\beta })+{{\left( \frac{\partial \widehat{u}}{\partial B} \right)}^{2}}Var(\widehat{B})+{{\left( \frac{\partial \widehat{u}}{\partial C} \right)}^{2}}Var(\widehat{C}) +2\left( \frac{\partial \widehat{u}}{\partial \beta } \right)\left( \frac{\partial \widehat{u}}{\partial B} \right)Cov(\widehat{\beta },\widehat{B})+2\left( \frac{\partial \widehat{u}}{\partial \beta } \right)\left( \frac{\partial \widehat{u}}{\partial C} \right)Cov(\widehat{\beta },\widehat{C}) +2\left( \frac{\partial \widehat{u}}{\partial B} \right)\left( \frac{\partial \widehat{u}}{\partial C} \right)Cov(\widehat{B},\widehat{C})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(\widehat{u})= &amp;amp; \frac{1}{{{\widehat{\beta }}^{4}}}{{\left[ \ln (-\ln (R)) \right]}^{2}}Var(\widehat{\beta })+\frac{1}{{{V}^{2}}}Var(\widehat{B})+\frac{1}{{{\widehat{C}}^{2}}}Var(\widehat{C})-\frac{2\ln (-\ln (R))}{{{\widehat{\beta }}^{2}}V}Cov(\widehat{\beta },\widehat{B})-\frac{2\ln (-\ln (R))}{{{\widehat{\beta }}^{2}}\widehat{C}}Cov(\widehat{\beta },\widehat{C}) +\frac{2}{V\widehat{C}}Cov(\widehat{B},\widehat{C})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds on time can then found by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{T}_{U}}= &amp;amp; {{e}^{{{u}_{U}}}} \\ &lt;br /&gt;
 &amp;amp; {{T}_{L}}= &amp;amp; {{e}^{{{u}_{L}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Approximate Confidence Bounds for the Arrhenius-Lognormal==&lt;br /&gt;
====Bounds on the Parameters====&lt;br /&gt;
The lower and upper bounds on &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are estimated from: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{B}_{U}}= \widehat{B}+{{K}_{\alpha }}\sqrt{Var(\widehat{B})}\text{ (Upper bound)} \\ &lt;br /&gt;
 &amp;amp; {{B}_{L}}= \widehat{B}-{{K}_{\alpha }}\sqrt{Var(\widehat{B})}\text{ (Lower bound)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Since the standard deviation, &amp;lt;math&amp;gt;{{\widehat{\sigma }}_{{{T}&#039;}}}\,\!&amp;lt;/math&amp;gt;, and the parameter &amp;lt;math&amp;gt;\widehat{C}\,\!&amp;lt;/math&amp;gt; are positive parameters, &amp;lt;math&amp;gt;\ln ({{\widehat{\sigma }}_{{{T}&#039;}}})\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\ln (\widehat{C})\,\!&amp;lt;/math&amp;gt; are treated as normally distributed. The bounds are estimated from: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{C}_{U}}= \widehat{C}\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{C})}}{\widehat{C}}}}\text{ (Upper bound)} \\ &lt;br /&gt;
 &amp;amp; {{C}_{L}}= \frac{\widehat{C}}{{{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{C})}}{\widehat{C}}}}}\text{ (Lower bound)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\sigma }_{U}}= {{\widehat{\sigma }}_{{{T}&#039;}}}\cdot {{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var({{\widehat{\sigma }}_{{{T}&#039;}}})}}{{{\widehat{\sigma }}_{{{T}&#039;}}}}}}\text{ (Upper bound)} \\ &lt;br /&gt;
 &amp;amp; {{\sigma }_{L}}= \frac{{{\widehat{\sigma }}_{{{T}&#039;}}}}{{{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var({{\widehat{\sigma }}_{{{T}&#039;}}})}}{{{\widehat{\sigma }}_{{{T}&#039;}}}}}}}\text{ (Lower bound)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The variances and covariances of &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;C,\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\sigma }_{{{T}&#039;}}}\,\!&amp;lt;/math&amp;gt; are estimated from the local Fisher matrix (evaluated at &amp;lt;math&amp;gt;\widehat{B},\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{C}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\widehat{\sigma }}_{{{T}&#039;}}}),\,\!&amp;lt;/math&amp;gt; as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\left[ \begin{matrix}&lt;br /&gt;
   Var\left( {{\widehat{\sigma }}_{{{T}&#039;}}} \right) &amp;amp; Cov\left( \widehat{B},{{\widehat{\sigma }}_{{{T}&#039;}}} \right) &amp;amp; Cov\left( \widehat{C},{{\widehat{\sigma }}_{{{T}&#039;}}} \right)  \\&lt;br /&gt;
   Cov\left( {{\widehat{\sigma }}_{{{T}&#039;}}},\widehat{B} \right) &amp;amp; Var\left( \widehat{B} \right) &amp;amp; Cov\left( \widehat{B},\widehat{C} \right)  \\&lt;br /&gt;
   Cov\left( {{\widehat{\sigma }}_{{{T}&#039;}}},\widehat{C} \right) &amp;amp; Cov\left( \widehat{C},\widehat{B} \right) &amp;amp; Var\left( \widehat{C} \right)  \\&lt;br /&gt;
\end{matrix} \right]= {{\left[ \begin{matrix}&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial \sigma _{{{T}&#039;}}^{2}} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{\sigma }_{{{T}&#039;}}}\partial B} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{\sigma }_{{{T}&#039;}}}\partial C}  \\&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial B\partial {{\sigma }_{{{T}&#039;}}}} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{B}^{2}}} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial B\partial C}  \\&lt;br /&gt;
   -\tfrac{{{\partial }^{2}}\Lambda }{\partial C\partial {{\sigma }_{{{T}&#039;}}}} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial C\partial B} &amp;amp; -\tfrac{{{\partial }^{2}}\Lambda }{\partial {{C}^{2}}}  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Bounds on Reliability====&lt;br /&gt;
The reliability of the lognormal distribution is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R({T}&#039;,V;B,C,{{\sigma }_{{{T}&#039;}}})=\int_{{{T}&#039;}}^{\infty }\frac{1}{{{\widehat{\sigma }}_{{{T}&#039;}}}\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{\left( \tfrac{t-\ln (\widehat{C})-\tfrac{\widehat{B}}{V}}{{{\widehat{\sigma }}_{{{T}&#039;}}}} \right)}^{2}}}}dt\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;\widehat{z}(t,V;B,C,{{\sigma }_{T}})=\tfrac{t-\ln (\widehat{C})-\tfrac{\widehat{B}}{V}}{{{\widehat{\sigma }}_{{{T}&#039;}}}},\,\!&amp;lt;/math&amp;gt; then &amp;lt;math&amp;gt;\frac{d \widehat{z}}{dt}=\frac{1}{{\widehat{\sigma }}_{{{T}&#039;}}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
For &amp;lt;math&amp;gt;t={T}&#039;\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\widehat{z}=\tfrac{{T}&#039;-\ln (\widehat{C})-\tfrac{\widehat{B}}{V}}{{{\widehat{\sigma }}_{{{T}&#039;}}}}\,\!&amp;lt;/math&amp;gt;, and for &amp;lt;math&amp;gt;t=\infty ,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;\widehat{z}=\infty .\,\!&amp;lt;/math&amp;gt; The above equation then becomes: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(\widehat{z})=\int_{\widehat{z}({T}&#039;)}^{\infty }\frac{1}{\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{z}^{2}}}}dz\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The bounds on &amp;lt;math&amp;gt;z\,\!&amp;lt;/math&amp;gt; are estimated from: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{z}_{U}}= &amp;amp; \widehat{z}+{{K}_{\alpha }}\sqrt{Var(\widehat{z})} \\ &lt;br /&gt;
 &amp;amp; {{z}_{L}}= &amp;amp; \widehat{z}-{{K}_{\alpha }}\sqrt{Var(\widehat{z})}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
   Var(\widehat{z})=&amp;amp; \left( \frac{\partial \widehat{z}}{\partial B} \right)_{\widehat{B}}^{2}Var(\widehat{B})+\left( \frac{\partial \widehat{z}}{\partial C} \right)_{\widehat{C}}^{2}Var(\widehat{C})+\left( \frac{\partial \widehat{z}}{\partial {{\sigma }_{{{T}&#039;}}}} \right)_{{{\widehat{\sigma }}_{{{T}&#039;}}}}^{2}Var({{\widehat{\sigma }}_{T}}) +2{{\left( \frac{\partial \widehat{z}}{\partial B} \right)}_{\widehat{B}}}{{\left( \frac{\partial \widehat{z}}{\partial C} \right)}_{\widehat{C}}}Cov\left( \widehat{B},\widehat{C} \right) \\ &lt;br /&gt;
 &amp;amp;  +2{{\left( \frac{\partial \widehat{z}}{\partial B} \right)}_{\widehat{B}}}{{\left( \frac{\partial \widehat{z}}{\partial {{\sigma }_{{{T}&#039;}}}} \right)}_{{{\widehat{\sigma }}_{{{T}&#039;}}}}}Cov\left( \widehat{B},{{\widehat{\sigma }}_{T}} \right) +2{{\left( \frac{\partial \widehat{z}}{\partial C} \right)}_{\widehat{C}}}{{\left( \frac{\partial \widehat{z}}{\partial {{\sigma }_{{{T}&#039;}}}} \right)}_{{{\widehat{\sigma }}_{{{T}&#039;}}}}}Cov\left( \widehat{C},{{\widehat{\sigma }}_{T}} \right)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var(\widehat{z})= &amp;amp; \frac{1}{\widehat{\sigma }_{{{T}&#039;}}^{2}}[\frac{1}{{{V}^{2}}}Var(\widehat{B})+\frac{1}{{{C}^{2}}}Var(\widehat{C})+{{\widehat{z}}^{2}}Var({{\widehat{\sigma }}_{{{T}&#039;}}}) +\frac{2}{C\cdot V}Cov\left( \widehat{B},\widehat{C} \right)+\frac{2\widehat{z}}{V}Cov\left( \widehat{B},{{\widehat{\sigma }}_{{{T}&#039;}}} \right)+\frac{2\widehat{z}}{C}Cov\left( \widehat{B},{{\widehat{\sigma }}_{{{T}&#039;}}} \right)]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds on reliability are: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{R}_{U}}= &amp;amp; \int_{{{z}_{L}}}^{\infty }\frac{1}{\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{z}^{2}}}}dz\text{ (Upper bound)} \\ &lt;br /&gt;
 &amp;amp; {{R}_{L}}= &amp;amp; \int_{{{z}_{U}}}^{\infty }\frac{1}{\sqrt{2\pi }}{{e}^{-\tfrac{1}{2}{{z}^{2}}}}dz\text{ (Lower bound)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
====Confidence Bounds on Time====&lt;br /&gt;
The bounds around time, for a given lognormal percentile (unreliability), are estimated by first solving the reliability equation with respect to time, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{T}&#039;(V;\widehat{B},\widehat{C},{{\widehat{\sigma }}_{{{T}&#039;}}})=\ln (\widehat{C})+\frac{\widehat{B}}{V}+z\cdot {{\widehat{\sigma }}_{{{T}&#039;}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  {T}&#039;(V;\widehat{B},\widehat{C},{{\widehat{\sigma }}_{{{T}&#039;}}})=&amp;amp;\ \ln (T) \\ &lt;br /&gt;
  z= &amp;amp; \ {{\Phi }^{-1}}\left[ F({T}&#039;) \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\Phi (z)=\frac{1}{\sqrt{2\pi }}\int_{-\infty }^{z({T}&#039;)}{{e}^{-\tfrac{1}{2}{{z}^{2}}}}dz\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The next step is to calculate the variance of &amp;lt;math&amp;gt;{T}&#039;(V;\widehat{B},\widehat{C},{{\widehat{\sigma }}_{{{T}&#039;}}}):\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  Var({T}&#039;)= &amp;amp; {{\left( \frac{\partial {T}&#039;}{\partial B} \right)}^{2}}Var(\widehat{B})+{{\left( \frac{\partial {T}&#039;}{\partial C} \right)}^{2}}Var(\widehat{C})+{{\left( \frac{\partial {T}&#039;}{\partial {{\sigma }_{{{T}&#039;}}}} \right)}^{2}}Var({{\widehat{\sigma }}_{{{T}&#039;}}}) +2\left( \frac{\partial {T}&#039;}{\partial B} \right)\left( \frac{\partial {T}&#039;}{\partial C} \right)Cov\left( \widehat{B},\widehat{C} \right) \\ &lt;br /&gt;
 &amp;amp;  +2\left( \frac{\partial {T}&#039;}{\partial B} \right)\left( \frac{\partial {T}&#039;}{\partial {{\sigma }_{{{T}&#039;}}}} \right)Cov\left( \widehat{B},{{\widehat{\sigma }}_{{{T}&#039;}}} \right) +2\left( \frac{\partial {T}&#039;}{\partial C} \right)\left( \frac{\partial {T}&#039;}{\partial {{\sigma }_{{{T}&#039;}}}} \right)Cov\left( \widehat{C},{{\widehat{\sigma }}_{{{T}&#039;}}} \right)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
or: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Var({T}&#039;)= \frac{1}{{{V}^{2}}}Var(\widehat{B})+\frac{1}{{{C}^{2}}}Var(\widehat{C})+{{\widehat{z}}^{2}}Var({{\widehat{\sigma }}_{{{T}&#039;}}}) +\frac{2}{B\cdot C}Cov\left( \widehat{B},\widehat{C} \right) +\frac{2\widehat{z}}{V}Cov\left( \widehat{B},{{\widehat{\sigma }}_{{{T}&#039;}}} \right) +\frac{2\widehat{z}}{C}Cov\left( \widehat{C},{{\widehat{\sigma }}_{{{T}&#039;}}} \right)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds are then found by:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; T_{U}^{\prime }= &amp;amp; \ln {{T}_{U}}={T}&#039;+{{K}_{\alpha }}\sqrt{Var({T}&#039;)} \\ &lt;br /&gt;
 &amp;amp; T_{L}^{\prime }= &amp;amp; \ln {{T}_{L}}={T}&#039;-{{K}_{\alpha }}\sqrt{Var({T}&#039;)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Solving for &amp;lt;math&amp;gt;{{T}_{U}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{T}_{L}}\,\!&amp;lt;/math&amp;gt; yields:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{T}_{U}}= &amp;amp; {{e}^{T_{U}^{\prime }}}\text{ (Upper bound)} \\ &lt;br /&gt;
 &amp;amp; {{T}_{L}}= &amp;amp; {{e}^{T_{L}^{\prime }}}\text{ (Lower bound)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=XFMEA_Examples&amp;diff=65344</id>
		<title>XFMEA Examples</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=XFMEA_Examples&amp;diff=65344"/>
		<updated>2018-06-07T17:30:32Z</updated>

		<summary type="html">&lt;p&gt;Richard House: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Image:Xfmea_Examples_Banner.png|left|400px|link=Xfmea_Examples|alt=Xfmea Examples|Caption]] __NOTOC__&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Quick Start Guide==&lt;br /&gt;
The &#039;&#039;Xfmea &amp;amp; RCM++ Quick Start Guide&#039;&#039; has been designed to help you explore many of the software&#039;s key features by working through step-by-step instructions for some practical application examples. The guide is available as a free *.PDF download.&lt;br /&gt;
* [http://www.synthesisplatform.net/Xfmea/en/QS_Xfmea10.pdf Download the print-ready *.pdf file]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Design for Reliability===&lt;br /&gt;
*Creating a Customized DFR Planner -- [http://www.synthesis8.com/Xfmea/en/QS_Xfmea10.pdf See Chapter 3]&lt;br /&gt;
&lt;br /&gt;
===Design FMEA===&lt;br /&gt;
*DFMEA for a Single Light Pendant Chandelier -- [http://www.synthesis8.com/Xfmea/en/QS_Xfmea10.pdf See Chapter 5]&lt;br /&gt;
&lt;br /&gt;
===Risk Discovery Analysis===&lt;br /&gt;
*[http://www.reliawiki.org/index.php/Xfmea_Risk_Discovery_Analysis_Example Risk Discovery Analysis for a Multi-Function Printer]&lt;br /&gt;
* Preliminary Risk Assessment for a Single Light Pendant Chandelier -- [http://www.synthesis8.com/Xfmea/en/QS_Xfmea10.pdf See Chapter 4]&lt;br /&gt;
&lt;br /&gt;
===Failure Modes and Reliability Analysis===&lt;br /&gt;
*Estimating System Reliability for a Single Light Pendant Chandelier -- [http://www.synthesis8.com/Xfmea/en/QS_Xfmea10.pdf See Chapter 6]&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ReliaSoft_API_Reference&amp;diff=65293</id>
		<title>ReliaSoft API Reference</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ReliaSoft_API_Reference&amp;diff=65293"/>
		<updated>2018-01-31T20:45:19Z</updated>

		<summary type="html">&lt;p&gt;Richard House: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:API}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #D0CDE8; background:#EEEDF7; border-radius:10px; width:auto; margin:0 0 1em 1em; padding:1em; float:right;&amp;quot;&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;[[API Changelog|Changelog]]&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;[[API Reference Documentation|API Documentation]]&lt;br /&gt;
*&#039;&#039;&#039;[[API Tutorials|Tutorials]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Synthesis Platform’s &#039;&#039;Application Programming Interface&#039;&#039; (API) enables you to programmatically read and write data to Synthesis repositories, as well as analyze and plot data sets from external sources. It is provided for Visual Basic for Applications (VBA) and .NET applications, allowing you to create automated solutions using popular Microsoft Office applications, such as Excel and PowerPoint, or create custom applications for your organization. &lt;br /&gt;
&lt;br /&gt;
Implementing the Synthesis API allows you to connect data in Synthesis repositories with the systems and tools used within your organization. It provides the functionality to:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Transfer and synchronize data via XML&#039;&#039;&#039;&lt;br /&gt;
:Use XML files to manage structured data (such as system hierarchies/BOMs, incidents and work orders) between ReliaSoft’s [http://xfracas.reliasoft.com/ XFRACAS] and a variety of different PLMs, ERPs, CMMS and other external systems. You can also use XML files to create reliability block diagrams (RBDs) in [http://www.reliasoft.com/products/reliability-analysis/blocksim BlockSim]. &lt;br /&gt;
*&#039;&#039;&#039;Read/write specific data elements&#039;&#039;&#039;&lt;br /&gt;
:Read or write data to Synthesis resources (models, actions, URDs, etc.), system hierarchy items and FMEA records (causes, effects, failures, etc.). Initiate batch data processing and create custom solutions for importing/exporting data from Synthesis repositories, as well as load data into the Synthesis Data Warehouse (SDW). &lt;br /&gt;
*&#039;&#039;&#039;Obtain calculated results&#039;&#039;&#039;&lt;br /&gt;
:Read data from published Synthesis models and obtain calculated results such as reliability, probability of failure, BX% life, failure rate and mean time. &lt;br /&gt;
*&#039;&#039;&#039;Analyze data&#039;&#039;&#039;&lt;br /&gt;
:Use [http://www.reliasoft.com/products/reliability-analysis/weibull Weibull++&#039;s] or [http://www.reliasoft.com/products/reliability-analysis/alta ALTA’s] analysis and plotting engines to analyze data from third-party sources, and incorporate the functionality into your own custom applications. (Requires a Synthesis API license.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
*&#039;&#039;&#039;Getting the latest version&#039;&#039;&#039;&lt;br /&gt;
:The Synthesis API consists of a library file that contains the classes, methods and events that provide access to Synthesis applications. The file is located in the folder where the Synthesis application is installed. By default, this folder is at &amp;quot;C:\Program Files\ReliaSoft\Synthesis 11.&amp;quot; For VBA, you will use the &#039;&#039;&#039;SynthesisAPI.tlb&#039;&#039;&#039; file; for .NET applications, you will use the &#039;&#039;&#039;SynthesisAPI.dll&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
:To obtain the latest version of the library file and the Synthesis application, choose &#039;&#039;&#039;File &amp;gt; Help &amp;gt; Check for Updates&#039;&#039;&#039; or download the latest version at http://www.ReliaSoft.com/synthesis/downloads.htm.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Build environment&#039;&#039;&#039;&lt;br /&gt;
:For Visual Studio projects using Version 10 or 11 of the Synthesis Platform, at minimum you will need Visual Studio 2010 and the .NET Framework 4.0 runtime. Version 2018 and later require Visual Studio 2015 and the .NET Framework 4.6.1 developer pack and runtime.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;32- vs. 64-bit&#039;&#039;&#039;&lt;br /&gt;
:For VBA, the bit version of the Synthesis Platform that you&#039;ve installed must match your installed version of Microsoft Office. If they do not match, you may see an error related to ActiveX controls. (See [http://www.reliasoft.com/support/rs20024.htm ReliaSoft KB article RS20024].) &lt;br /&gt;
&lt;br /&gt;
:For Visual Studio projects targeting the .NET Framework 4.5 (or later) and compiled to run an any platform (Any CPU), turn off the &#039;&#039;&#039;Prefer 32-bit&#039;&#039;&#039; property of the build configuration if you want instances of your application to run as a 64-bit process; otherwise, the application will run as a 32-bit process on both 32- and 64-bit versions of Windows. Note that when using [http://www.synthesisplatform.net/licensing_locally_hosted.htm locally hosted licensing], it is necessary to ensure your application bitness matches the bitness of the Synthesis Platform installed wherever your application is run due to dependencies on platform-specific libraries.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Running API applications on a server &lt;br /&gt;
:If you plan to run the API on a Windows server, you must use [http://www.synthesisplatform.net/licensing_locally_hosted.htm locally hosted licensing] and you’ll need to install the ReliaSoft API Ante Service to scale the implementation (the service is not required when running the API on a Windows desktop environment). For instructions on how to install and configure the service, see http://www.synthesisplatform.net/reliasoft_api_ante_service.htm. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Access to calculations functionality&lt;br /&gt;
:Access to Weibull++&#039;s and ALTA’s analysis and plotting engines require a Synthesis API license. To obtain a license, please [http://www.reliasoft.com/contact.htm contact ReliaSoft].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
====Referencing the Synthesis API Library File====&lt;br /&gt;
&amp;lt;!-- This &amp;quot;onlyinclude&amp;quot; section is transcluded into the API Tutorials page --&amp;gt;&lt;br /&gt;
&amp;lt;onlyinclude&amp;gt;To use the Synthesis API in your code, you must reference the Synthesis API library in your VBA or .NET projects. The file is located in the folder where the Synthesis application is installed. By default, this folder is at &amp;quot;C:\Program Files\ReliaSoft\Synthesis 11.&amp;quot; For VBA, you will use the &#039;&#039;&#039;SynthesisAPI.tlb&#039;&#039;&#039; file; for .NET applications, you will use the &#039;&#039;&#039;SynthesisAPI.dll&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To reference the library in VBA&#039;&#039;&#039;:&lt;br /&gt;
:#Enter the VBA environment by clicking the &#039;&#039;&#039;Visual Basic&#039;&#039;&#039; command on the Developer tab (If the Developer tab is not visible, see [https://msdn.microsoft.com/en-us/library/bb608625.aspx this Microsoft article]). &lt;br /&gt;
:#In the VBA environment, choose &#039;&#039;&#039;Tools &amp;gt; References&#039;&#039;&#039;.&lt;br /&gt;
:#Click &#039;&#039;&#039;Browse&#039;&#039;&#039; and find the SynthesisAPI.tlb file on your computer. Click &#039;&#039;&#039;OK&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To reference the library in Visual Studio:&#039;&#039;&#039;&lt;br /&gt;
:#In the Solution Explorer, right-click the &#039;&#039;&#039;References&#039;&#039;&#039; node and choose &#039;&#039;&#039;Add References&#039;&#039;&#039;. &lt;br /&gt;
:#In the Reference Manager window, click the &#039;&#039;&#039;Browse&#039;&#039;&#039; tab and find the SynthesisAPI.dll file on your computer. Click &#039;&#039;&#039;OK&#039;&#039;&#039;. &lt;br /&gt;
:#Copy the following files from the Synthesis installation folder to your target folder (e.g., bin/Debug or bin/Release Folder). &lt;br /&gt;
:::*licncr.dll&lt;br /&gt;
:::*licncr.dll.nsign&lt;br /&gt;
:::*licshr.dll&lt;br /&gt;
:::*licshr.dll.nsign&lt;br /&gt;
:::*msvcp110.dll&lt;br /&gt;
:::*msvcr110.dll&lt;br /&gt;
:::*RSDB.dll&lt;br /&gt;
:::*RSLM8nCodeDotNetWrapper.dll&lt;br /&gt;
:::*utlibr.dll&lt;br /&gt;
&amp;lt;/onlyinclude&amp;gt;&lt;br /&gt;
====Examples====&lt;br /&gt;
Sample applications that you can test and tweak yourself are included with the Synthesis Platform installation. The files are stored on your computer at C:\Users\Public\Public Documents\ReliaSoft\Examples11\API. (For Version 10, see C:\Users\Public\Public Documents\ReliaSoft\Examples10\API.)&lt;br /&gt;
 &lt;br /&gt;
The sample applications are available for Excel VBA and VB.NET projects. (To run the Excel examples, macros must be enabled. See [http://office.microsoft.com/en-us/excel-help/enable-or-disable-macros-in-office-documents-HA010031071.aspx this Microsoft article].) &lt;br /&gt;
&lt;br /&gt;
====Tutorials====&lt;br /&gt;
[[API Tutorials|Tutorials]] are available to help you learn the core objects of the Synthesis API and start coding right away. The tutorials include code samples for both VBA and VB.NET.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Object Library ==&lt;br /&gt;
Below is a summary of the core objects in the Synthesis API library. For an alphabetical listing of all objects in the latest version, see [[API Reference Documentation]]. (Click [[API Reference Documentation 10| here]] for the list of objects in Version 10.)&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[Repository Class|Repository]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents the Synthesis repository. All other objects use the functions in this class to read or write data to the repository. This class also contains the functions for importing/exporting XML files. &lt;br /&gt;
&lt;br /&gt;
*The following objects represent the Synthesis resources. Instances of each class can be used to store data for an existing or new resource.  &lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CAction Class|cAction]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CCorrectiveTask Class|cCorrectiveTask]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CScheduledTask Class|cScheduledTask]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CCrew Class|cCrew]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CModel Class|cModel]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CPool Class|cPool]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CProfile Class|cProfile]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CURD Class|cURD]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CVariable Class|cVariable]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CXfmeaControl Class|cXfmeaControl]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*The following objects build data sets for the Synthesis Data Warehouse (SDW).&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[RawData Class|RawData]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; represents a single data point.&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[RawDataSet Class|RawDataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; serves as the data container for &amp;lt;code&amp;gt;RawData&amp;lt;/code&amp;gt; objects.&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaItem Class|XfmeaItem]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a system hierarchy item. Instances of this class can be used to store data for a system or assembly, as well as build a multi-level system configuration. &lt;br /&gt;
&lt;br /&gt;
*The following objects represent the FMEA records. Instances of each class can be used to store data for an existing or new FMEA analysis. &lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaFunction Class|XfmeaFunction]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaCause Class|XfmeaCause]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaEffect Class|XfmeaEffect]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaFailure Class|XfmeaFailure]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[WeibullDataSet Class|WeibullDataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a Weibull++ data sheet for life data analysis. Instances of this class are used to define a data set and fit a statistical distribution to the data.&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[ALTADataSet Class|ALTADataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents an ALTA data sheet for accelerated life testing data analysis. Instances of this class are used to define a data set, and fit a distribution and life-stress relationship to the data. &lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[WAPlots Class|WAPlots]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a plot based on a &amp;lt;code&amp;gt;cModel&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;WeibullDataSet&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ALTADataSet&amp;lt;/code&amp;gt; object. Instances of this class are used to display a plot of the analysis results.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ReliaSoft_API_Reference&amp;diff=65292</id>
		<title>ReliaSoft API Reference</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ReliaSoft_API_Reference&amp;diff=65292"/>
		<updated>2018-01-31T20:44:37Z</updated>

		<summary type="html">&lt;p&gt;Richard House: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:API}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #D0CDE8; background:#EEEDF7; border-radius:10px; width:auto; margin:0 0 1em 1em; padding:1em; float:right;&amp;quot;&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;[[API Changelog|Changelog]]&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;[[API Reference Documentation|API Documentation]]&lt;br /&gt;
*&#039;&#039;&#039;[[API Tutorials|Tutorials]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Synthesis Platform’s &#039;&#039;Application Programming Interface&#039;&#039; (API) enables you to programmatically read and write data to Synthesis repositories, as well as analyze and plot data sets from external sources. It is provided for Visual Basic for Applications (VBA) and .NET applications, allowing you to create automated solutions using popular Microsoft Office applications, such as Excel and PowerPoint, or create custom applications for your organization. &lt;br /&gt;
&lt;br /&gt;
Implementing the Synthesis API allows you to connect data in Synthesis repositories with the systems and tools used within your organization. It provides the functionality to:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Transfer and synchronize data via XML&#039;&#039;&#039;&lt;br /&gt;
:Use XML files to manage structured data (such as system hierarchies/BOMs, incidents and work orders) between ReliaSoft’s [http://xfracas.reliasoft.com/ XFRACAS] and a variety of different PLMs, ERPs, CMMS and other external systems. You can also use XML files to create reliability block diagrams (RBDs) in [http://www.reliasoft.com/products/reliability-analysis/blocksim BlockSim]. &lt;br /&gt;
*&#039;&#039;&#039;Read/write specific data elements&#039;&#039;&#039;&lt;br /&gt;
:Read or write data to Synthesis resources (models, actions, URDs, etc.), system hierarchy items and FMEA records (causes, effects, failures, etc.). Initiate batch data processing and create custom solutions for importing/exporting data from Synthesis repositories, as well as load data into the Synthesis Data Warehouse (SDW). &lt;br /&gt;
*&#039;&#039;&#039;Obtain calculated results&#039;&#039;&#039;&lt;br /&gt;
:Read data from published Synthesis models and obtain calculated results such as reliability, probability of failure, BX% life, failure rate and mean time. &lt;br /&gt;
*&#039;&#039;&#039;Analyze data&#039;&#039;&#039;&lt;br /&gt;
:Use [http://weibull.reliasoft.com/ Weibull++&#039;s] or [http://alta.reliasoft.com/ ALTA’s] analysis and plotting engines to analyze data from third-party sources, and incorporate the functionality into your own custom applications. (Requires a Synthesis API license.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
*&#039;&#039;&#039;Getting the latest version&#039;&#039;&#039;&lt;br /&gt;
:The Synthesis API consists of a library file that contains the classes, methods and events that provide access to Synthesis applications. The file is located in the folder where the Synthesis application is installed. By default, this folder is at &amp;quot;C:\Program Files\ReliaSoft\Synthesis 11.&amp;quot; For VBA, you will use the &#039;&#039;&#039;SynthesisAPI.tlb&#039;&#039;&#039; file; for .NET applications, you will use the &#039;&#039;&#039;SynthesisAPI.dll&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
:To obtain the latest version of the library file and the Synthesis application, choose &#039;&#039;&#039;File &amp;gt; Help &amp;gt; Check for Updates&#039;&#039;&#039; or download the latest version at http://www.ReliaSoft.com/synthesis/downloads.htm.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Build environment&#039;&#039;&#039;&lt;br /&gt;
:For Visual Studio projects using Version 10 or 11 of the Synthesis Platform, at minimum you will need Visual Studio 2010 and the .NET Framework 4.0 runtime. Version 2018 and later require Visual Studio 2015 and the .NET Framework 4.6.1 developer pack and runtime.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;32- vs. 64-bit&#039;&#039;&#039;&lt;br /&gt;
:For VBA, the bit version of the Synthesis Platform that you&#039;ve installed must match your installed version of Microsoft Office. If they do not match, you may see an error related to ActiveX controls. (See [http://www.reliasoft.com/support/rs20024.htm ReliaSoft KB article RS20024].) &lt;br /&gt;
&lt;br /&gt;
:For Visual Studio projects targeting the .NET Framework 4.5 (or later) and compiled to run an any platform (Any CPU), turn off the &#039;&#039;&#039;Prefer 32-bit&#039;&#039;&#039; property of the build configuration if you want instances of your application to run as a 64-bit process; otherwise, the application will run as a 32-bit process on both 32- and 64-bit versions of Windows. Note that when using [http://www.synthesisplatform.net/licensing_locally_hosted.htm locally hosted licensing], it is necessary to ensure your application bitness matches the bitness of the Synthesis Platform installed wherever your application is run due to dependencies on platform-specific libraries.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Running API applications on a server &lt;br /&gt;
:If you plan to run the API on a Windows server, you must use [http://www.synthesisplatform.net/licensing_locally_hosted.htm locally hosted licensing] and you’ll need to install the ReliaSoft API Ante Service to scale the implementation (the service is not required when running the API on a Windows desktop environment). For instructions on how to install and configure the service, see http://www.synthesisplatform.net/reliasoft_api_ante_service.htm. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Access to calculations functionality&lt;br /&gt;
:Access to Weibull++&#039;s and ALTA’s analysis and plotting engines require a Synthesis API license. To obtain a license, please [http://www.reliasoft.com/contact.htm contact ReliaSoft].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
====Referencing the Synthesis API Library File====&lt;br /&gt;
&amp;lt;!-- This &amp;quot;onlyinclude&amp;quot; section is transcluded into the API Tutorials page --&amp;gt;&lt;br /&gt;
&amp;lt;onlyinclude&amp;gt;To use the Synthesis API in your code, you must reference the Synthesis API library in your VBA or .NET projects. The file is located in the folder where the Synthesis application is installed. By default, this folder is at &amp;quot;C:\Program Files\ReliaSoft\Synthesis 11.&amp;quot; For VBA, you will use the &#039;&#039;&#039;SynthesisAPI.tlb&#039;&#039;&#039; file; for .NET applications, you will use the &#039;&#039;&#039;SynthesisAPI.dll&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To reference the library in VBA&#039;&#039;&#039;:&lt;br /&gt;
:#Enter the VBA environment by clicking the &#039;&#039;&#039;Visual Basic&#039;&#039;&#039; command on the Developer tab (If the Developer tab is not visible, see [https://msdn.microsoft.com/en-us/library/bb608625.aspx this Microsoft article]). &lt;br /&gt;
:#In the VBA environment, choose &#039;&#039;&#039;Tools &amp;gt; References&#039;&#039;&#039;.&lt;br /&gt;
:#Click &#039;&#039;&#039;Browse&#039;&#039;&#039; and find the SynthesisAPI.tlb file on your computer. Click &#039;&#039;&#039;OK&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To reference the library in Visual Studio:&#039;&#039;&#039;&lt;br /&gt;
:#In the Solution Explorer, right-click the &#039;&#039;&#039;References&#039;&#039;&#039; node and choose &#039;&#039;&#039;Add References&#039;&#039;&#039;. &lt;br /&gt;
:#In the Reference Manager window, click the &#039;&#039;&#039;Browse&#039;&#039;&#039; tab and find the SynthesisAPI.dll file on your computer. Click &#039;&#039;&#039;OK&#039;&#039;&#039;. &lt;br /&gt;
:#Copy the following files from the Synthesis installation folder to your target folder (e.g., bin/Debug or bin/Release Folder). &lt;br /&gt;
:::*licncr.dll&lt;br /&gt;
:::*licncr.dll.nsign&lt;br /&gt;
:::*licshr.dll&lt;br /&gt;
:::*licshr.dll.nsign&lt;br /&gt;
:::*msvcp110.dll&lt;br /&gt;
:::*msvcr110.dll&lt;br /&gt;
:::*RSDB.dll&lt;br /&gt;
:::*RSLM8nCodeDotNetWrapper.dll&lt;br /&gt;
:::*utlibr.dll&lt;br /&gt;
&amp;lt;/onlyinclude&amp;gt;&lt;br /&gt;
====Examples====&lt;br /&gt;
Sample applications that you can test and tweak yourself are included with the Synthesis Platform installation. The files are stored on your computer at C:\Users\Public\Public Documents\ReliaSoft\Examples11\API. (For Version 10, see C:\Users\Public\Public Documents\ReliaSoft\Examples10\API.)&lt;br /&gt;
 &lt;br /&gt;
The sample applications are available for Excel VBA and VB.NET projects. (To run the Excel examples, macros must be enabled. See [http://office.microsoft.com/en-us/excel-help/enable-or-disable-macros-in-office-documents-HA010031071.aspx this Microsoft article].) &lt;br /&gt;
&lt;br /&gt;
====Tutorials====&lt;br /&gt;
[[API Tutorials|Tutorials]] are available to help you learn the core objects of the Synthesis API and start coding right away. The tutorials include code samples for both VBA and VB.NET.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Object Library ==&lt;br /&gt;
Below is a summary of the core objects in the Synthesis API library. For an alphabetical listing of all objects in the latest version, see [[API Reference Documentation]]. (Click [[API Reference Documentation 10| here]] for the list of objects in Version 10.)&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[Repository Class|Repository]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents the Synthesis repository. All other objects use the functions in this class to read or write data to the repository. This class also contains the functions for importing/exporting XML files. &lt;br /&gt;
&lt;br /&gt;
*The following objects represent the Synthesis resources. Instances of each class can be used to store data for an existing or new resource.  &lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CAction Class|cAction]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CCorrectiveTask Class|cCorrectiveTask]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CScheduledTask Class|cScheduledTask]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CCrew Class|cCrew]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CModel Class|cModel]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CPool Class|cPool]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CProfile Class|cProfile]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CURD Class|cURD]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CVariable Class|cVariable]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CXfmeaControl Class|cXfmeaControl]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*The following objects build data sets for the Synthesis Data Warehouse (SDW).&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[RawData Class|RawData]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; represents a single data point.&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[RawDataSet Class|RawDataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; serves as the data container for &amp;lt;code&amp;gt;RawData&amp;lt;/code&amp;gt; objects.&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaItem Class|XfmeaItem]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a system hierarchy item. Instances of this class can be used to store data for a system or assembly, as well as build a multi-level system configuration. &lt;br /&gt;
&lt;br /&gt;
*The following objects represent the FMEA records. Instances of each class can be used to store data for an existing or new FMEA analysis. &lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaFunction Class|XfmeaFunction]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaCause Class|XfmeaCause]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaEffect Class|XfmeaEffect]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaFailure Class|XfmeaFailure]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[WeibullDataSet Class|WeibullDataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a Weibull++ data sheet for life data analysis. Instances of this class are used to define a data set and fit a statistical distribution to the data.&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[ALTADataSet Class|ALTADataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents an ALTA data sheet for accelerated life testing data analysis. Instances of this class are used to define a data set, and fit a distribution and life-stress relationship to the data. &lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[WAPlots Class|WAPlots]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a plot based on a &amp;lt;code&amp;gt;cModel&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;WeibullDataSet&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ALTADataSet&amp;lt;/code&amp;gt; object. Instances of this class are used to display a plot of the analysis results.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=ReliaSoft_API_Reference&amp;diff=65291</id>
		<title>ReliaSoft API Reference</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=ReliaSoft_API_Reference&amp;diff=65291"/>
		<updated>2018-01-31T20:42:44Z</updated>

		<summary type="html">&lt;p&gt;Richard House: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:API}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div style=&amp;quot;border:1px solid #D0CDE8; background:#EEEDF7; border-radius:10px; width:auto; margin:0 0 1em 1em; padding:1em; float:right;&amp;quot;&amp;gt;&lt;br /&gt;
*&#039;&#039;&#039;[[API Changelog|Changelog]]&#039;&#039;&#039;&lt;br /&gt;
*&#039;&#039;&#039;[[API Reference Documentation|API Documentation]]&lt;br /&gt;
*&#039;&#039;&#039;[[API Tutorials|Tutorials]]&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The Synthesis Platform’s &#039;&#039;Application Programming Interface&#039;&#039; (API) enables you to programmatically read and write data to Synthesis repositories, as well as analyze and plot data sets from external sources. It is provided for Visual Basic for Applications (VBA) and .NET applications, allowing you to create automated solutions using popular Microsoft Office applications, such as Excel and PowerPoint, or create custom applications for your organization. &lt;br /&gt;
&lt;br /&gt;
Implementing the Synthesis API allows you to connect data in Synthesis repositories with the systems and tools used within your organization. It provides the functionality to:&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Transfer and synchronize data via XML&#039;&#039;&#039;&lt;br /&gt;
:Use XML files to manage structured data (such as system hierarchies/BOMs, incidents and work orders) between ReliaSoft’s [http://xfracas.reliasoft.com/ XFRACAS] and a variety of different PLMs, ERPs, CMMS and other external systems. You can also use XML files to create reliability block diagrams (RBDs) in [http://blocksim.reliasoft.com/ BlockSim]. &lt;br /&gt;
*&#039;&#039;&#039;Read/write specific data elements&#039;&#039;&#039;&lt;br /&gt;
:Read or write data to Synthesis resources (models, actions, URDs, etc.), system hierarchy items and FMEA records (causes, effects, failures, etc.). Initiate batch data processing and create custom solutions for importing/exporting data from Synthesis repositories, as well as load data into the Synthesis Data Warehouse (SDW). &lt;br /&gt;
*&#039;&#039;&#039;Obtain calculated results&#039;&#039;&#039;&lt;br /&gt;
:Read data from published Synthesis models and obtain calculated results such as reliability, probability of failure, BX% life, failure rate and mean time. &lt;br /&gt;
*&#039;&#039;&#039;Analyze data&#039;&#039;&#039;&lt;br /&gt;
:Use [http://weibull.reliasoft.com/ Weibull++&#039;s] or [http://alta.reliasoft.com/ ALTA’s] analysis and plotting engines to analyze data from third-party sources, and incorporate the functionality into your own custom applications. (Requires a Synthesis API license.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Prerequisites==&lt;br /&gt;
*&#039;&#039;&#039;Getting the latest version&#039;&#039;&#039;&lt;br /&gt;
:The Synthesis API consists of a library file that contains the classes, methods and events that provide access to Synthesis applications. The file is located in the folder where the Synthesis application is installed. By default, this folder is at &amp;quot;C:\Program Files\ReliaSoft\Synthesis 11.&amp;quot; For VBA, you will use the &#039;&#039;&#039;SynthesisAPI.tlb&#039;&#039;&#039; file; for .NET applications, you will use the &#039;&#039;&#039;SynthesisAPI.dll&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
:To obtain the latest version of the library file and the Synthesis application, choose &#039;&#039;&#039;File &amp;gt; Help &amp;gt; Check for Updates&#039;&#039;&#039; or download the latest version at http://www.ReliaSoft.com/synthesis/downloads.htm.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Build environment&#039;&#039;&#039;&lt;br /&gt;
:For Visual Studio projects using Version 10 or 11 of the Synthesis Platform, at minimum you will need Visual Studio 2010 and the .NET Framework 4.0 runtime. Version 2018 and later require Visual Studio 2015 and the .NET Framework 4.6.1 developer pack and runtime.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;32- vs. 64-bit&#039;&#039;&#039;&lt;br /&gt;
:For VBA, the bit version of the Synthesis Platform that you&#039;ve installed must match your installed version of Microsoft Office. If they do not match, you may see an error related to ActiveX controls. (See [http://www.reliasoft.com/support/rs20024.htm ReliaSoft KB article RS20024].) &lt;br /&gt;
&lt;br /&gt;
:For Visual Studio projects targeting the .NET Framework 4.5 (or later) and compiled to run an any platform (Any CPU), turn off the &#039;&#039;&#039;Prefer 32-bit&#039;&#039;&#039; property of the build configuration if you want instances of your application to run as a 64-bit process; otherwise, the application will run as a 32-bit process on both 32- and 64-bit versions of Windows. Note that when using [http://www.synthesisplatform.net/licensing_locally_hosted.htm locally hosted licensing], it is necessary to ensure your application bitness matches the bitness of the Synthesis Platform installed wherever your application is run due to dependencies on platform-specific libraries.&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Running API applications on a server &lt;br /&gt;
:If you plan to run the API on a Windows server, you must use [http://www.synthesisplatform.net/licensing_locally_hosted.htm locally hosted licensing] and you’ll need to install the ReliaSoft API Ante Service to scale the implementation (the service is not required when running the API on a Windows desktop environment). For instructions on how to install and configure the service, see http://www.synthesisplatform.net/reliasoft_api_ante_service.htm. &lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;&#039;Access to calculations functionality&lt;br /&gt;
:Access to Weibull++&#039;s and ALTA’s analysis and plotting engines require a Synthesis API license. To obtain a license, please [http://www.reliasoft.com/contact.htm contact ReliaSoft].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Getting Started==&lt;br /&gt;
&lt;br /&gt;
====Referencing the Synthesis API Library File====&lt;br /&gt;
&amp;lt;!-- This &amp;quot;onlyinclude&amp;quot; section is transcluded into the API Tutorials page --&amp;gt;&lt;br /&gt;
&amp;lt;onlyinclude&amp;gt;To use the Synthesis API in your code, you must reference the Synthesis API library in your VBA or .NET projects. The file is located in the folder where the Synthesis application is installed. By default, this folder is at &amp;quot;C:\Program Files\ReliaSoft\Synthesis 11.&amp;quot; For VBA, you will use the &#039;&#039;&#039;SynthesisAPI.tlb&#039;&#039;&#039; file; for .NET applications, you will use the &#039;&#039;&#039;SynthesisAPI.dll&#039;&#039;&#039; file.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To reference the library in VBA&#039;&#039;&#039;:&lt;br /&gt;
:#Enter the VBA environment by clicking the &#039;&#039;&#039;Visual Basic&#039;&#039;&#039; command on the Developer tab (If the Developer tab is not visible, see [https://msdn.microsoft.com/en-us/library/bb608625.aspx this Microsoft article]). &lt;br /&gt;
:#In the VBA environment, choose &#039;&#039;&#039;Tools &amp;gt; References&#039;&#039;&#039;.&lt;br /&gt;
:#Click &#039;&#039;&#039;Browse&#039;&#039;&#039; and find the SynthesisAPI.tlb file on your computer. Click &#039;&#039;&#039;OK&#039;&#039;&#039;. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;To reference the library in Visual Studio:&#039;&#039;&#039;&lt;br /&gt;
:#In the Solution Explorer, right-click the &#039;&#039;&#039;References&#039;&#039;&#039; node and choose &#039;&#039;&#039;Add References&#039;&#039;&#039;. &lt;br /&gt;
:#In the Reference Manager window, click the &#039;&#039;&#039;Browse&#039;&#039;&#039; tab and find the SynthesisAPI.dll file on your computer. Click &#039;&#039;&#039;OK&#039;&#039;&#039;. &lt;br /&gt;
:#Copy the following files from the Synthesis installation folder to your target folder (e.g., bin/Debug or bin/Release Folder). &lt;br /&gt;
:::*licncr.dll&lt;br /&gt;
:::*licncr.dll.nsign&lt;br /&gt;
:::*licshr.dll&lt;br /&gt;
:::*licshr.dll.nsign&lt;br /&gt;
:::*msvcp110.dll&lt;br /&gt;
:::*msvcr110.dll&lt;br /&gt;
:::*RSDB.dll&lt;br /&gt;
:::*RSLM8nCodeDotNetWrapper.dll&lt;br /&gt;
:::*utlibr.dll&lt;br /&gt;
&amp;lt;/onlyinclude&amp;gt;&lt;br /&gt;
====Examples====&lt;br /&gt;
Sample applications that you can test and tweak yourself are included with the Synthesis Platform installation. The files are stored on your computer at C:\Users\Public\Public Documents\ReliaSoft\Examples11\API. (For Version 10, see C:\Users\Public\Public Documents\ReliaSoft\Examples10\API.)&lt;br /&gt;
 &lt;br /&gt;
The sample applications are available for Excel VBA and VB.NET projects. (To run the Excel examples, macros must be enabled. See [http://office.microsoft.com/en-us/excel-help/enable-or-disable-macros-in-office-documents-HA010031071.aspx this Microsoft article].) &lt;br /&gt;
&lt;br /&gt;
====Tutorials====&lt;br /&gt;
[[API Tutorials|Tutorials]] are available to help you learn the core objects of the Synthesis API and start coding right away. The tutorials include code samples for both VBA and VB.NET.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Object Library ==&lt;br /&gt;
Below is a summary of the core objects in the Synthesis API library. For an alphabetical listing of all objects in the latest version, see [[API Reference Documentation]]. (Click [[API Reference Documentation 10| here]] for the list of objects in Version 10.)&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[Repository Class|Repository]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents the Synthesis repository. All other objects use the functions in this class to read or write data to the repository. This class also contains the functions for importing/exporting XML files. &lt;br /&gt;
&lt;br /&gt;
*The following objects represent the Synthesis resources. Instances of each class can be used to store data for an existing or new resource.  &lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CAction Class|cAction]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CCorrectiveTask Class|cCorrectiveTask]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CScheduledTask Class|cScheduledTask]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CCrew Class|cCrew]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CModel Class|cModel]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CPool Class|cPool]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CProfile Class|cProfile]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CURD Class|cURD]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CVariable Class|cVariable]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[CXfmeaControl Class|cXfmeaControl]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; &lt;br /&gt;
&lt;br /&gt;
*The following objects build data sets for the Synthesis Data Warehouse (SDW).&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[RawData Class|RawData]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; represents a single data point.&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[RawDataSet Class|RawDataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; serves as the data container for &amp;lt;code&amp;gt;RawData&amp;lt;/code&amp;gt; objects.&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaItem Class|XfmeaItem]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a system hierarchy item. Instances of this class can be used to store data for a system or assembly, as well as build a multi-level system configuration. &lt;br /&gt;
&lt;br /&gt;
*The following objects represent the FMEA records. Instances of each class can be used to store data for an existing or new FMEA analysis. &lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaFunction Class|XfmeaFunction]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaCause Class|XfmeaCause]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaEffect Class|XfmeaEffect]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
**&amp;lt;code&amp;gt;&#039;&#039;&#039;[[XfmeaFailure Class|XfmeaFailure]]&#039;&#039;&#039;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[WeibullDataSet Class|WeibullDataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a Weibull++ data sheet for life data analysis. Instances of this class are used to define a data set and fit a statistical distribution to the data.&lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[ALTADataSet Class|ALTADataSet]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents an ALTA data sheet for accelerated life testing data analysis. Instances of this class are used to define a data set, and fit a distribution and life-stress relationship to the data. &lt;br /&gt;
&lt;br /&gt;
*The &amp;lt;code&amp;gt;&#039;&#039;&#039;[[WAPlots Class|WAPlots]]&#039;&#039;&#039;&amp;lt;/code&amp;gt; object represents a plot based on a &amp;lt;code&amp;gt;cModel&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;WeibullDataSet&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;ALTADataSet&amp;lt;/code&amp;gt; object. Instances of this class are used to display a plot of the analysis results.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Monte_Carlo_Simulation_Example&amp;diff=65251</id>
		<title>Monte Carlo Simulation Example</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Monte_Carlo_Simulation_Example&amp;diff=65251"/>
		<updated>2017-08-11T15:59:05Z</updated>

		<summary type="html">&lt;p&gt;Richard House: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Banner Weibull Examples}}&lt;br /&gt;
&#039;&#039;This example appears in the [[Risk_Analysis_and_Probabilistic_Design_with_Monte_Carlo_Simulation|Life Data Analysis Reference book]]&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;Monte Carlo simulation can be used to perform simple relationship-based simulations. This type of simulation has many applications in probabilistic design, risk analysis, quality control, etc. The Monte Carlo utility includes a &#039;&#039;User Defined&#039;&#039; distribution feature that allows you to specify an equation relating different random variables. The following example uses the Life Comparison tool to compare the &#039;&#039;pdf&#039;&#039; of two user-defined distributions. A variation of the example that demonstrates how to obtain the joint &#039;&#039;pdf&#039;&#039; of random variables is available in the [http://help.synthesis8.com/weibull_alta11/user-defined_equation_example.htm Weibull++/ALTA Help file]. A demonstration on how to perform the example using ReliaSoft&#039;s advanced stochastic event simulation software, [http://reno.reliasoft.com &#039;&#039;&#039;RENO&#039;&#039;&#039;], is also available ([http://www.reliasoft.com/reno/examples/renoexr3/index.htm view it in html]).&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Monte Carlo Simulation: A Hinge Length Example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
A hinge is made up of four components A, B, C, D, as shown next. Seven units of each component were taken from the assembly line and measurements (in cm) were recorded. &lt;br /&gt;
&lt;br /&gt;
[[Image:WB.23 lda26.1.png|center|250px| ]] &lt;br /&gt;
&lt;br /&gt;
The following table shows the measurements. Determine the probability that D will fall out of specifications.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Dimensions for A} &amp;amp; \text{Dimensions for B} &amp;amp; \text{Dimensions for C} &amp;amp; \text{Dimensions for D}  \\&lt;br /&gt;
   \text{2}\text{.0187} &amp;amp; \text{1}\text{.9795} &amp;amp; \text{30}\text{.4216} &amp;amp; \text{33}\text{.6573}  \\&lt;br /&gt;
   \text{1}\text{.9996} &amp;amp; \text{2}\text{.0288} &amp;amp; \text{29}\text{.9818} &amp;amp; \text{34}\text{.5432}  \\&lt;br /&gt;
   \text{2}\text{.0167} &amp;amp; \text{1}\text{.9883} &amp;amp; \text{29}\text{.9724} &amp;amp; \text{34}\text{.6218}  \\&lt;br /&gt;
   \text{2}\text{.0329} &amp;amp; \text{2}\text{.0327} &amp;amp; \text{30}\text{.192} &amp;amp; \text{34}\text{.7538}  \\&lt;br /&gt;
   \text{2}\text{.0233} &amp;amp; \text{2}\text{.0119} &amp;amp; \text{29}\text{.9421} &amp;amp; \text{35}\text{.1508}  \\&lt;br /&gt;
   \text{2}\text{.0273} &amp;amp; \text{2}\text{.0354} &amp;amp; \text{30}\text{.1343} &amp;amp; \text{35}\text{.2666}  \\&lt;br /&gt;
   \text{1}\text{.984} &amp;amp; \text{1}\text{.9908} &amp;amp; \text{30}\text{.0423} &amp;amp; \text{35}\text{.7111}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In a Weibull++ standard folio, enter the parts dimensions measurements of each component into separate data sheets. Analyze each data sheet using the normal distribution and the RRX analysis method. The parameters are:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{A} &amp;amp; \text{B} &amp;amp; \text{C} &amp;amp; \text{D}  \\&lt;br /&gt;
   \hat{\mu }=2.0146 &amp;amp; \hat{\mu }=2.0096 &amp;amp; \hat{\mu }=30.0981 &amp;amp; \hat{\mu }=34.8149  \\&lt;br /&gt;
   \hat{\sigma }=0.0181 &amp;amp; \hat{\sigma }=0.0249 &amp;amp; \hat{\sigma }=0.1762 &amp;amp; \hat{\sigma }=0.7121  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Next, perform a Monte Carlo simulation to estimate the probability that (A+B+C) will be greater than D. To do this, choose the &#039;&#039;&#039;User Defined&#039;&#039;&#039; distribution and enter its equation as follows. (Click the &#039;&#039;&#039;Insert Data Source&#039;&#039;&#039; button to insert the data sheets that contain the measurements for the components.) &lt;br /&gt;
&lt;br /&gt;
[[Image:Rsik Analysis Example Monte Carlo Setting.png|center|550px| ]] &lt;br /&gt;
&lt;br /&gt;
On the Settings tab, set the number of data points to &#039;&#039;&#039;100&#039;&#039;&#039;, as shown next.&lt;br /&gt;
 &lt;br /&gt;
[[Image:Rsik Analysis Example Monte Carlo Number of Points.png|center|550px| ]] &lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Generate&#039;&#039;&#039; to create a data sheet that contains the generated data points. Rename the new data sheet to &amp;quot;Simulated A+B+C.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Follow the same procedure to generate 100 data points to represent the D measurements. Rename the new data sheet to &amp;quot;Simulated D.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
[[Image:Rsik Analysis Example Monte Carlo D.png|center|550px| ]] &lt;br /&gt;
&lt;br /&gt;
Analyze the two data sets, &amp;quot;Simulated A+B+C&amp;quot; and &amp;quot;Simulated D,&amp;quot; using the normal distribution and the RRX analysis method. &lt;br /&gt;
&lt;br /&gt;
Next, open the Life Comparison tool and choose to compare the two data sheets. The following picture shows the &#039;&#039;pdf&#039;&#039; curves of the two data sets. &lt;br /&gt;
&lt;br /&gt;
[[Image:Rsik Analysis Example Selected Life Comparison Plot.png|center|550px| ]] &lt;br /&gt;
&lt;br /&gt;
The following report shows that the probability that &amp;quot;Simulated A+B+C&amp;quot; will be greater than &amp;quot;Simulated D&amp;quot; is  16.033%. (Note that the results may vary because of the randomness in the simulation.)&lt;br /&gt;
&lt;br /&gt;
[[Image:Rsik Analysis Example Selected Life Comparison Result.png|center|550px| ]]&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65242</id>
		<title>Response Surface Methods for Optimization</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65242"/>
		<updated>2017-08-10T19:46:23Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Desirability Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|10}}&lt;br /&gt;
The experiment designs mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] and [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]] help the experimenter identify factors that affect the response. Once the important factors have been identified, the next step is to determine the settings for these factors that result in the optimum value of the response. The optimum value of the response may either be a maximum value or a minimum value, depending upon the product or process in question. For example, if the response in an experiment is the yield from a chemical process, then the objective might be to find the settings of the factors affecting the yield so that the yield is maximized. On the other hand, if the response in an experiment is the number of defects, then the goal would be to find the factor settings that minimize the number of defects. Methodologies that help the experimenter reach the goal of optimum response are referred to as &#039;&#039;response surface methods&#039;&#039;. These methods are exclusively used to examine the &amp;quot;surface,&amp;quot; or the relationship between the response and the factors affecting the response. Regression models are used for the analysis of the response, as the focus now is on the nature of the relationship between the response and the factors, rather than identification of the important factors.&lt;br /&gt;
&lt;br /&gt;
Response surface methods usually involve the following steps:&lt;br /&gt;
&lt;br /&gt;
#The experimenter needs to move from the present operating conditions to the vicinity of the operating conditions where the response is optimum. This is done using the &#039;&#039;method of steepest ascent&#039;&#039; in the case of maximizing the response. The same method can be used to minimize the response and is then referred to as the &#039;&#039;method of steepest descent&#039;&#039;.&lt;br /&gt;
#Once in the vicinity of the optimum response the experimenter needs to fit a more elaborate model between the response and the factors. Special experiment designs, referred to as [[Response_Surface_Methods_for_Optimization#RSM_Designs|&#039;&#039;RSM designs&#039;&#039;]], are used to accomplish this. The fitted model is used to arrive at the best operating conditions that result in either a maximum or minimum response.&lt;br /&gt;
#It is possible that a number of responses may have to be optimized at the same time. For example, an experimenter may want to maximize strength, while keeping the number of defects to a minimum. The optimum settings for each of the responses in such cases may lead to conflicting settings for the factors. A balanced setting has to be found that gives the most appropriate values for all the responses. Desirability functions are useful in these cases.&lt;br /&gt;
&lt;br /&gt;
==Method of Steepest Ascent==&lt;br /&gt;
The first step in obtaining the optimum response settings, after the important factors have been identified, is to explore the region around the current operating conditions to decide what direction needs to be taken to move towards the optimum region. Usually, a first order regression model (containing just the main effects and no interaction terms) is sufficient at the current operating conditions because the operating conditions are normally far from the optimum response settings. The experimenter needs to move from the current operating conditions to the optimum region in the most efficient way by using the minimum number of experiments. This is done using the method of steepest ascent. In this method, the contour plot of the first order model is used to decide the settings for the next experiment, in order to move towards the optimum conditions. Consider a process where the response has been found to be a function of two factors. To explore the region around the current operating conditions, the experimenter fits the following first order model between the response and the two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface plot for the model, along with the contours, is shown in the figure below. It can be seen in the figure that in order to maximize the response, the most efficient direction in which to move the experiment is along the line perpendicular to the contours. This line, also referred to as the path of steepest ascent, is the line along which the rate of increase of the response is maximum. The steps along this line to move towards the optimum region are proportional to the regression coefficients, &amp;lt;math&amp;gt;{{\beta }_{j}},\,\!&amp;lt;/math&amp;gt; of the fitted first order model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_1.png|center|504px|Path of steepest ascent for the model &amp;lt;math&amp;gt;y=\beta_0+\beta_1 x_1+\beta_2 x_2+\epsilon \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Experiments are conducted along each step of the path of steepest ascent until an increase in the response is not seen. Then, a new first order model is fit at the region of the maximum response. If the first order model shows a lack of fit, then this indicates that the experimenter has reached the vicinity of the optimum. RSM designs are then used explore the region thoroughly and obtain the point of the maximum response. If the first order model does not show a lack of fit, then a new path of steepest ascent is determined and the process is repeated.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The yield from a chemical process is found to be affected by two factors: reaction temperature and reaction time. The current reaction temperature is 230 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time is 65 minutes. The experimenter wants to determine the settings of the two factors such that maximum yield can be obtained from the process. To explore the region around the current operating conditions, the experimenter decides to use a single replicate of the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design. The range of the factors for this design are chosen to be (225, 235) &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for the reaction temperature and (55, 75) minutes for the reaction time. The unreplicated &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design is also augmented with five runs at the center point to estimate the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, and check for model adequacy. The response values obtained for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.2.png|center|256px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region around current operating conditions for a chemical process.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, this design can be set up using the properties shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_3.png|center|809px|Design properties for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design and the analysis results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_4.png|center|778px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment design in to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_5.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the results shown are in terms of the coded values of the factors (taking -1 as the value of the lower settings for reaction temperature and reaction time and +1 as the value for the higher settings for these two factors). The results show that the factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (temperature) and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (time), affect the response significantly but their interaction does not affect the response. Therefore the interaction term can be dropped from the model for this experiment. The results also show that Curvature is not a significant factor. This indicates that the first order model is adequate for the experiment at the current operating conditions. Using these two conclusions, the model for the current operating conditions, in terms the coded variables is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{y}=36.6375+1.1635x_{1}+0.4875x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt; represents the yield and &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; are the predictor variables for the two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively. To further confirm the adequacy of the model of the equation given above, the experiment can be analyzed again after dropping the interaction term, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_6.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results show that the lack-of-fit for this model (because of the deficiency created in the model by the absence of the interaction term) is not significant, confirming that the model is adequate.&lt;br /&gt;
&lt;br /&gt;
==Path of Steepest Ascent==&lt;br /&gt;
The contour plot for the model used in the above example is shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_7.png|center|650px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression coefficients for the model are &amp;lt;math&amp;gt;\hat{\beta}_{1}= 1.1625\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{\beta}_{2}= 0.4875\,\!&amp;lt;/math&amp;gt;. To move towards the optimum, the experimenter needs to move along the path of steepest ascent, which lies perpendicular to the contours. This path is the line through the center point of the current operating conditions (&amp;lt;math&amp;gt;x_{1}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}=0\,\!&amp;lt;/math&amp;gt;) with a slope of &amp;lt;math&amp;gt;\hat{\beta}_{2}/\hat{\beta}_{1}\,\!&amp;lt;/math&amp;gt;. Therefore, in terms of the coded variables, the experiment should be moved 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. To move along this path, the experimenter decides to use a step-size of 10 minutes for the reaction time, &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;. The coded value for this step size can be obtained as follows. Recall from [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]] that the relationship between coded and actual values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{actual\ value - mean}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{step\ size\ in\ actual\ value}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, for a step-size of 10 minutes, the equivalent step size in coded value for &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{half\ of\ range\ of\ x_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{(75-55)/2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of the coded variables, the path of steepest ascent requires a move of 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. The step-size for &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded value corresponding to any step-size in &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot(step\ size\ in\ x_{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the step-size for the reaction temperature, &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded variables is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{1.1625}{0.4875}\cdot1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This corresponds to a step of approximately 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for temperature in terms of the actual value as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
step\ size\ in\ actual\ value = &amp;amp; (coded\ value)\cdot(half\ of\ the\ range\ of\ x_{1})\\&lt;br /&gt;
= &amp;amp; 2.39\cdot10/2\\&lt;br /&gt;
= &amp;amp; 11.95&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a step of 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and 10 minutes, the experimenter conducts experiments until no further increase is observed in the yield. The yield values at each step are shown in the table given next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet9.1.png|center|341px|Response values at each step of the path of steepest ascent for the experiment to investigate the yield of a chemical process. Units for factor levels and the response have been omitted.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The yield starts decreasing after the reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time of 165 minutes, indicating that this point may lie close to the optimum region. To analyze the vicinity of this point, a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented by five center points is selected. The range of exploration is chosen to be 345 to 355 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for reaction temperature and 155 to 175 minutes for reaction time. The response values recorded are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.8.png|center|348px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region of maximum response obtained from the path of steepest ascent. Note that the center point of this design is the new origin.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_9.png|center|760px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the region of maximum response.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the results, Curvature is displayed as a significant factor. This indicates that the first order model is not adequate for this region of the experiment and a higher order model is required. As a result, the methodology of steepest ascent can no longer be used. The presence of curvature indicates that the experiment region may be close to the optimum. Special designs that allow the use of second order models are needed at this point.&lt;br /&gt;
&lt;br /&gt;
==RSM Designs==&lt;br /&gt;
A second order model is generally used to approximate the response once it is realized that the experiment is close to the optimum response region where a first order model is no longer adequate. The second order model is usually sufficient for the optimum region, as third order and higher effects are seldom important. The second order regression model takes the following form for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+...+{{\beta }_{k}}{{x}_{k}}+ \\ &lt;br /&gt;
 &amp;amp; {{\beta }_{11}}x_{1}^{2}+{{\beta }_{22}}x_{2}^{2}+...+{{\beta }_{kk}}x_{k}^{2}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+...+{{\beta }_{k-1,k}}{{x}_{k-1}}{{x}_{k}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model contains &amp;lt;math&amp;gt;p=(k+1)(k+2)/2\,\!&amp;lt;/math&amp;gt; regression parameters that include coefficients for main effects (&amp;lt;math&amp;gt;{{\beta }_{1}},{{\beta }_{2}}...{{\beta }_{k}}\,\!&amp;lt;/math&amp;gt;), coefficients for quadratic main effects (&amp;lt;math&amp;gt;{{\beta }_{11}},{{\beta }_{22}}...{{\beta }_{kk}}\,\!&amp;lt;/math&amp;gt;) and coefficients for two factor interaction effects (&amp;lt;math&amp;gt;{{\beta }_{12}},{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt;... &amp;lt;math&amp;gt;{{\beta }_{k-1,k}}\,\!&amp;lt;/math&amp;gt;). A full factorial design with all factors at three levels would provide estimation of all the required regression parameters. However, full factorial three level designs are expensive to use as the number of runs increases rapidly with the number of factors. For example, a three factor full factorial design with each factor at three levels would require &amp;lt;math&amp;gt;{{3}^{3}}=27\,\!&amp;lt;/math&amp;gt; runs while a design with four factors would require &amp;lt;math&amp;gt;{{3}^{4}}=81\,\!&amp;lt;/math&amp;gt; runs. Additionally, these designs will estimate a number of higher order effects which are usually not of much importance to the experimenter. Therefore, for the purpose of analysis of response surfaces, special designs are used that help the experimenter fit the second order model to the response with the use of a minimum number of runs. Examples of these designs are the central composite and Box-Behnken designs.&lt;br /&gt;
&lt;br /&gt;
===Central Composite Designs===&lt;br /&gt;
Central composite designs are two level full factorial (&amp;lt;math&amp;gt;2^{k}\,\!&amp;lt;/math&amp;gt;) or fractional factorial (&amp;lt;math&amp;gt;2^{k-f}\,\!&amp;lt;/math&amp;gt;) designs augmented by a number of center points and other chosen runs. These designs are such that they allow the estimation of all the regression parameters required to fit a second order model to a given response.&lt;br /&gt;
&lt;br /&gt;
The simplest of the central composite designs can be used to fit a second order model to a response with two factors. The design consists of a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; full factorial design augmented by a few runs at the center point (such a design is shown in figure (a) given below). A central composite design is obtained when runs at points (&amp;lt;math&amp;gt;-1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;0,-1\,\!&amp;lt;/math&amp;gt;) and (&amp;lt;math&amp;gt;0,1\,\!&amp;lt;/math&amp;gt;) are added to this design. These points are referred to as &#039;&#039;axial points&#039;&#039; or &#039;&#039;star points&#039;&#039; and represent runs where all but one of the factors are set at their mid-levels. The number of axial points in a central composite design having &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors is &amp;lt;math&amp;gt;2k\,\!&amp;lt;/math&amp;gt;. The distance of the axial points from the center point is denoted by &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; and is always specified in terms of coded values. For example, the central composite design in figure (b) given below has &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt;, while for the design of figure (c) &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.10.png|center|227px|Central composite designs: (a) shows the &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design with center point runs, (b) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=1\,\!&amp;lt;/math&amp;gt; and (c) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=\sqrt{2}\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be noted that when &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt;, each factor is run at five levels (&amp;lt;math&amp;gt;-\alpha \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt;) instead of the three levels of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;. The reason for running central composite designs with &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt; is to have a rotatable design, which is explained next.&lt;br /&gt;
&lt;br /&gt;
====Rotatability====&lt;br /&gt;
A central composite design is said to be &#039;&#039;rotatable&#039;&#039; if the variance of any predicted value of the response, &amp;lt;math&amp;gt;{{\hat{y}}_{p}}\,\!&amp;lt;/math&amp;gt;, for any level of the factors depends only on the distance of the point from the center of the design, regardless of the direction. In other words, a rotatable central composite design provides constant variance of the estimated response corresponding to all new observation points that are at the same distance from the center point of the design (in terms of the coded variables). &lt;br /&gt;
&lt;br /&gt;
The variance of the predicted response at any point, &amp;lt;math&amp;gt;{{x}_{p}}\,\!&amp;lt;/math&amp;gt;, is given as follows: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]={{\sigma }^{2}}x_{p}^{\prime }{{({{X}^{\prime }}X)}^{-1}}{{x}_{p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The contours of &amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]\,\!&amp;lt;/math&amp;gt; for the central composite design in figure (c) above are shown in the figure below. The contours are concentric circles indicating that the central composite design of figure (c) is rotatable. Rotatability is a desirable property because the experimenter does not have any prior information about the location of the optimum. Therefore, a design that provides equal precision of estimation in all directions would be preferred. Such a design will assure the experimenter that no matter what direction is taken to search for the optimum, he/she will be able to estimate the response value with equal precision. A central composite design is rotatable if the value of &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; for the design satisfies the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha ={{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{n}_{f}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs in the original factorial design and &amp;lt;math&amp;gt;{{n}_{s}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs at the axial points. For example, a central composite design with two factors, having a single replicate of the original factorial design, and a single replicate of all the axial points, would be rotatable for the following &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; value:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\alpha = &amp;amp; {{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; {{\left[ \frac{{{2}^{2}}(1)}{1} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; \sqrt{2} \\ &lt;br /&gt;
= &amp;amp; 1.414  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, a central composite design in two factors, having a single replicate of the original &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design and axial points, and with &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;, is a rotatable design. This design is shown in figure (c) above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.11.png|center|266px|The countours of &amp;lt;math&amp;gt;V[\hat{y}_p] \,\!&amp;lt;/math&amp;gt; for the rotatable two factor central composite design.]]&lt;br /&gt;
&lt;br /&gt;
====Spherical Design====&lt;br /&gt;
A central composite design is said to be &#039;&#039;spherical&#039;&#039; if all factorial and axial points are at same distance from the center of the design. Spherical central composite designs are obtained by setting &amp;lt;math&amp;gt;\alpha =\sqrt{k}\,\!&amp;lt;/math&amp;gt;. For example, the rotatable design in the figure above (c) is also a spherical design because for this design &amp;lt;math&amp;gt;\alpha =\sqrt{k}=\sqrt{2}=1.414\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Face-centered Design====&lt;br /&gt;
Central composite designs in which the axial points represent the mid levels for all but one of the factors are also referred to as &#039;&#039;face-centered&#039;&#039; central composite designs. For these designs, &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt; and all factors are run at three levels, which are &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1,\,\!&amp;lt;/math&amp;gt; in terms of the coded values (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.12.png|center|300px|Face-centered central composite design for three factors.]]&lt;br /&gt;
&lt;br /&gt;
===Box-Behnken Designs===&lt;br /&gt;
In [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]], highly fractional designs introduced by Plackett and Burman were discussed. Plackett-Burman designs are used to estimate main effects in the case of two level fractional factorial experiments using very few runs. [[DOE_References|[G. E. P. Box and D. W. Behnken (1960)]]] introduced similar designs for three level factors that are widely used in response surface methods to fit second-order models to the response. The designs are referred to as Box-Behnken designs. The designs were developed by the combination of two level factorial designs with incomplete block designs. For example, the figure below shows the Box-Behnken design for three factors. The design is obtained by the combination of &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with a balanced incomplete block design having three treatments and three blocks (for details see [[DOE_References|[Box 1960, Montgomery 2001]]]). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.13.png|center|400px|Box-Behnken design for three factors: (a) shows the geometric representation and (b) shows the design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The advantages of Box-Behnken designs include the fact that they are all spherical designs and require factors to be run at only three levels. The designs are also rotatable or nearly rotatable. Some of these designs also provide orthogonal blocking. Thus, if there is a need to separate runs into blocks for the Box-Behnken design, then designs are available that allow blocks to be used in such a way that the estimation of the regression parameters for the factor effects are not affected by the blocks. In other words, in these designs the block effects are orthogonal to the other factor effects. Yet another advantage of these designs is that there are no runs where all factors are at either the &amp;lt;math&amp;gt;+1\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; levels. For example, in the figure below the representation of the Box-Behnken design for three factors clearly shows that there are no runs at the corner points. This could be advantageous when the corner points represent runs that are expensive or inconvenient because they lie at the end of the range of the factor levels. A few of the Box-Behnken designs available in DOE++ are presented in [[Box-Behnken_Designs|Appendix F]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the first order model was found to be inadequate for the region near the optimum. Once the experimenter realized that the first order model was not adequate (for the region with a reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and reaction time of 165 minutes), it was decided to augment the experiment with axial runs to be able to complete a central composite design and fit a second order model to the response.  Notice the advantage of using a central composite design, as the experimenter only had to add the axial runs to the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with center point runs, and did not have to begin a new experiment. The experimenter decided to use &amp;lt;math&amp;gt;\alpha =1.4142\,\!&amp;lt;/math&amp;gt; to get a rotatable design. The obtained response values are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.14.png|center|280px|Response values for the two factor central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such a design can be set up in a Weibull++ DOE folio using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_15.png|center|744px|Properties for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the figure shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_16.png|center|800px|Central composite design for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Results from the analysis of the design are shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_17.png|center|744px|Results for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results in the figure above show that the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the interaction, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, and the quadratic main effects, &amp;lt;math&amp;gt;{{A}^{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{B}^{2}}\,\!&amp;lt;/math&amp;gt;, (represented as AA and BB in the figure) are significant. The lack-of-fit test also shows that the second order model with these terms is adequate and a higher order model is not needed. Using these results, the model for the experiment in terms of the coded values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface and the contour plot for this model, in terms of the actual variables, are shown in the below figures (a) and (b), respectively.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_a.png|center|650px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_b.png|center|650px|Response surface and countour plot for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Analysis of the Second Order Model==&lt;br /&gt;
Once a second order model is fit to the response, the next step is to locate the point of maximum or minimum response. The second order model for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{i}}{{x}_{i}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{ii}}x_{i}^{2}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,\underset{j=1}{\overset{i-1}{\mathop{\sum }}}\,{{\hat{\beta }}_{ij}}{{x}_{i}}{{x}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The point for which the response, &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt;, is optimized is the point at which the partial derivatives, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;...\partial \hat{y}/\partial {{x}_{k}},\,\!&amp;lt;/math&amp;gt; are all equal to zero. This point is called the &#039;&#039;stationary point&#039;&#039;. The stationary point may be a point of maximum response, minimum response or a saddle point. These three conditions are shown in the following figures (a), (b) and (c) respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.19.png|center|300px|Types of second order response surfaces and their contour plots. (a) shows the surface with a maximum point, (b) shows the surface with a minimum point and (c) shows the surface with a saddle point.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that these conditions are easy to identify, in the case of two factor experiments, by the inspection of the contour plots. However, when more than two factors exist in an experiment, then the general mathematical solution for the location of the stationary point has to be used. The equation given above can be written in matrix notation as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+{{x}^{\prime }}b+{{x}^{\prime }}Bx\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x=\left[ \begin{matrix}&lt;br /&gt;
   {{x}_{1}}  \\&lt;br /&gt;
   {{x}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{x}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   }b=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{1}}  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   and   }B=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{11}} &amp;amp; {{{\hat{\beta }}}_{12}}/2 &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{1k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {{{\hat{\beta }}}_{22}} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{2k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   \text{sym}\text{.} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {{{\hat{\beta }}}_{kk}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the stationary point can be determined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\partial \hat{y}}{\partial x}=b+2Bx=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{s}}=-\frac{1}{2}{{B}^{-1}}b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The optimum response is the response corresponding to &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt;. The optimum response can be obtained to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{y}}_{s}}={{\hat{\beta }}_{0}}+\frac{1}{2}x_{s}^{\prime }b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the stationary point is known, it is necessary to determine if it is a maximum or minimum or saddle point. To do this, the second order model has to be transformed to the canonical form. This is done by transforming the model to a new coordinate system such that the origin lies at the stationary point and the axes are parallel to the principal axes of the fitted response surface, shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.20.png|center|247px|The second order model in canonical form.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting model equation then takes the following form: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{y}}_{s}}+{{\lambda }_{1}}w_{1}^{2}+{{\lambda }_{2}}w_{2}^{2}+...+{{\lambda }_{k}}w_{k}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{w}_{i}}\,\!&amp;lt;/math&amp;gt; s are the transformed independent variables, and &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are constants that are also the eigenvalues of the matrix &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. The nature of the stationary point is known by looking at the signs of the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt; s are all negative, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of maximum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are all positive then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of minimum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s have different signs, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a saddle point. &lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the [[Response_Surface_Methods_for_Optimization#Example_2| example]] in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the second order model fitted to the response, in terms of the coded variables, was obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrices for this model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;b=\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right]\text{      }B=\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{x}_{s}}= &amp;amp; -\frac{1}{2}{{B}^{-1}}b \\ &lt;br /&gt;
= &amp;amp; -\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, in terms of the actual values, the stationary point can be found as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Temperature:} &amp;amp; 0.3=\frac{T-350}{(355-345)/2} \\ &lt;br /&gt;
T= &amp;amp; 351.5\text{ }F  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Time:} &amp;amp; 0.4=\frac{t-165}{(175-155)/2} \\ &lt;br /&gt;
t= &amp;amp; 169.0\text{ minutes}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To find the nature of the stationary point the eigenvalues of the &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrix can be obtained as follows using the determinant of the matrix &amp;lt;math&amp;gt;B-\lambda I\,\!&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left| B-\lambda I \right|= &amp;amp; 0 \\ &lt;br /&gt;
\left| \begin{matrix}&lt;br /&gt;
   -1.52-\lambda  &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08-\lambda   \\&lt;br /&gt;
\end{matrix} \right|= &amp;amp; 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This gives us:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }^{2}}+3.61\lambda +2.9743=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solving the quadratic equation in &amp;lt;math&amp;gt;\lambda \,\!&amp;lt;/math&amp;gt; returns the eigenvalues &amp;lt;math&amp;gt;{{\lambda }_{1}}=-1.2723\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\lambda }_{2}}=-2.3377\,\!&amp;lt;/math&amp;gt;. Since both the eigenvalues are negative, it can be concluded that the stationary point is a point of maximum response. The predicted value of the maximum response can be obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\hat{y}}}_{s}}= &amp;amp; {{{\hat{\beta }}}_{0}}+\frac{1}{2}x_{s}^{\prime }b \\ &lt;br /&gt;
= &amp;amp; 94.91+\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]}^{\prime }}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; 95.3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the maximum response can be obtained by entering the required values as shown in the figure below. In the figure, the goal is to maximize the response and the limits of the search range for maximizing the response are entered as 90 and 100. The value of the maximum response and the corresponding values of the factors obtained are shown in the second figure following. These values match the values calculated in this example.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_21.png|center|543px|Settings to obtain the maximum value of the response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_22.png|center|650px|Plot of the maximum response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]] against the factors, temperature and time.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Multiple Responses==&lt;br /&gt;
In many cases, the experimenter has to optimize a number of responses at the same time. For the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], assume that the experimenter has to also consider two other responses: cost of the product (which should be minimized) and the pH of the product (which should be close to 7 so that the product is neither acidic nor basic). The data is presented in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.23.png|center|400px|Data for the additional responses of cost and pH for the example to investigate the yield of a chemical process.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem in dealing with multiple responses is that now there might be conflicting objectives because of the different requirements of each of the responses. The experimenter needs to come up with a solution that satisfies each of the requirements as much as possible without compromising too much on any of the requirements. The approach used in a Weibull++ DOE folio to deal with optimization of multiple responses involves the use of desirability functions that are discussed next (for details see [[DOE_References|[Derringer and Suich, 1980]]]).&lt;br /&gt;
&lt;br /&gt;
===Desirability Functions===&lt;br /&gt;
Under this approach, each &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response is assigned a desirability function, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt;, where the value of &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; varies between 0 and 1. The function, &amp;lt;math&amp;gt;{{d}_{i}},\,\!&amp;lt;/math&amp;gt; is defined differently based on the objective of the response. If the response is to be maximized, as in the case of the previous example where the yield had to be maximized, then &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{\omega }} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;gt;T  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; represents the target value of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the acceptable lower limit value for this response and &amp;lt;math&amp;gt;\omega \,\!&amp;lt;/math&amp;gt; represents the weight. When &amp;lt;math&amp;gt;\omega =1\,\!&amp;lt;/math&amp;gt; the function &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is linear. If &amp;lt;math&amp;gt;\omega &amp;gt;1\,\!&amp;lt;/math&amp;gt; then more importance is placed on achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;\omega &amp;lt;1\,\!&amp;lt;/math&amp;gt;, less weight is assigned to achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. A graphical representation is shown in figure (a) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.24.png|center|400px|Desirability function plots for different response optimizations: (a) the goal is to maximize the response, (b) the goal is to minimize the response and (c) the goal is to get the response to a target value.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the response is to be minimized, as in the case when the response is cost, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;lt;T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{\omega }} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;math&amp;gt;U\,\!&amp;lt;/math&amp;gt; represents the acceptable upper limit for the response (see figure (b) above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be times when the experimenter wants the response to be neither maximized nor minimized, but instead stay as close to a specified target as possible. For example, in the case where the experimenter wants the product to be neither acidic nor basic, there is a requirement to keep the pH close to the neutral value of 7. In such cases, the desirability function is defined as follows (see figure (c) above):&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{{{\omega }_{1}}}} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{{{\omega }_{2}}}} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once a desirability function is defined for each of the responses, assuming that there are &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; responses, an overall desirability function is obtained as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;D={{(d_{1}^{{{r}_{1}}}\cdot d_{2}^{{{r}_{2}}}\cdot ...\cdot d_{m}^{{{r}_{m}}})}^{1/({{r}_{1}}+{{r}_{2}}+...+{{r}_{m}})}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt; s represent the importance of each response. The greater the value of &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt;, the more important the response with respect to the other responses. The objective is to now find the settings that return the maximum value of &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of desirability functions, consider the previous example with the three responses of yield, cost and pH. The response surfaces for the two additional responses of cost and pH are shown next in the figures (a) and (b), respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_25.png|center|500px|Response surfaces for (a) cost and (b) pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of actual variables, the models obtained for all three responses are as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Yield: } &amp;amp; {{{\hat{y}}}_{1}}=-7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
\text{Cost: } &amp;amp; {{{\hat{y}}}_{2}}=15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
\text{pH: } &amp;amp; {{{\hat{y}}}_{3}}=38.87-0.0709{{x}_{1}}-0.041{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Assume that the experimenter wants to have a target yield value of 95, although any value of yield greater than 94 is acceptable. Then the desirability function for yield is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{1}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{1}}&amp;lt;94  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{1}}-94}{95-94} \right)}^{\omega }} &amp;amp; 94\le {{y}_{1}}\le 95  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{1}}&amp;gt;95  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the cost, assume that the experimenter wants to lower the cost to 400, although any cost value below 415 is acceptable. Then the desirability function for cost is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{2}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{2}}&amp;lt;400  \\&lt;br /&gt;
   {{\left( \frac{415-{{y}_{2}}}{415-400} \right)}^{\omega }} &amp;amp; 400\le {{y}_{2}}\le 415  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{2}}&amp;gt;415  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the pH, a target of 7 is desired but values between 6.9 and 7.1 are also acceptable. Thus, the desirability function here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{3}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{3}}-6.9}{7-6.9} \right)}^{{{\omega }_{1}}}} &amp;amp; 6.9\le {{y}_{3}}\le 7  \\&lt;br /&gt;
   {{\left( \frac{7.1-{{y}_{3}}}{7.1-7} \right)}^{{{\omega }_{2}}}} &amp;amp; 7\le {{y}_{3}}\le 7.1  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;gt;7.1  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that in the previous equations all weights used (&amp;lt;math&amp;gt;{{\omega }_{i}}\,\!&amp;lt;/math&amp;gt; s) are 1. Thus, all three desirability functions are linear. The overall desirability function, assuming equal importance (&amp;lt;math&amp;gt;{{r}_{1}}={{r}_{2}}={{r}_{3}}=1\,\!&amp;lt;/math&amp;gt;) for all the responses, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; f({{{\hat{y}}}_{1}},{{{\hat{y}}}_{2}},{{{\hat{y}}}_{3}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of the experimenter is to find the settings of &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; such that the overall desirability, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, is maximum. In a DOE folio, the settings for the desirability functions for each of the three responses can be entered as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_26.png|center|750px|Optimization settings for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on these settings, the Weibull++ DOE folio solves this optimization problem to obtain the following solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_27.png|center|650px|Optimum solution from Weibull++ for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Temperature= &amp;amp; 351.5\text{ }F\text{ } \\ &lt;br /&gt;
Time= &amp;amp; 169\text{ }minutes  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The overall desirability achieved with this solution can be calculated easily. The values of each of the response for these settings are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{ }{{{\hat{y}}}_{1}}= &amp;amp; -7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; -7480.24+41.24(351.5)+3.88(169)+0.009(351.3)(169) \\ &lt;br /&gt;
 &amp;amp; -0.060825{{(351.5)}^{2}}-0.020831{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 95.3 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{2}}= &amp;amp; 15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; 15560.49-82.48(351.5)-7.76(169)-0.02(351.5)(169) \\ &lt;br /&gt;
 &amp;amp; +0.12165{{(351.5)}^{2}}+0.041663{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 409.35 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{3}}= &amp;amp; 38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \\ &lt;br /&gt;
= &amp;amp; 38.87-0.0709(351.5)-0.041(169) \\ &lt;br /&gt;
= &amp;amp; 7.00  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the response values, the individual desirability functions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{d}_{1}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{1}}&amp;gt;95\text{)} \\ &lt;br /&gt;
{{d}_{2}}= &amp;amp; \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right)\text{   (since  }400\le {{y}_{2}}\le 415\text{)} \\ &lt;br /&gt;
= &amp;amp; \left( \frac{415-409.35}{415-400} \right) \\ &lt;br /&gt;
= &amp;amp; 0.3767 \\ &lt;br /&gt;
{{d}_{3}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{3}}\approx 7\text{)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the overall desirability is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; {{(1\cdot 0.3767\cdot 1)}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; 0.72  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the same as the Global Desirability displayed by the Weibull++ DOE folio in the figure above. At times, a number of solutions may be obtained from the DOE folio, and it is up to the experimenter to choose the most feasible one.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Competing_Failure_Modes_Analysis&amp;diff=65241</id>
		<title>Competing Failure Modes Analysis</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Competing_Failure_Modes_Analysis&amp;diff=65241"/>
		<updated>2017-08-10T18:40:16Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Complex Failure Modes Analysis */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{template:LDABOOK|18|Competing Failure Modes Models}}&lt;br /&gt;
Often, a group of products will fail due to more than one failure mode. One can take the view that the products could have failed due to any one of the possible failure modes, but since an item cannot fail more than one time, there can only be one failure mode for each failed product.  In this view, the failure modes compete as to which causes the failure for each particular item. This can be viewed as a series system reliability model, with each failure mode composing a block of the series system.   Competing failure modes (CFM) analysis segregates the analyses of failure modes and then combines the results to provide an overall model for the product in question.&lt;br /&gt;
==CFM Analysis Approach==&lt;br /&gt;
In order to begin analyzing data sets with more than one competing failure mode, one must perform a separate analysis for each failure mode. During each of these analyses, the failure times for all other failure modes not being analyzed are considered to be suspensions. This is because the units under test would have failed at some time in the future due to the failure mode being analyzed, had the unrelated (not analyzed) mode not occurred.  Thus, in this case, the information available is that the mode under consideration did not occur and the unit under consideration accumulated test time without a failure due to the mode under consideration (or a suspension due to that mode).&lt;br /&gt;
&lt;br /&gt;
Once the analysis for each separate failure mode has been completed (using the same principles as before), the resulting reliability equation for all modes is the product of the reliability equation for each mode, or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(t)={{R}_{1}}(t)\cdot {{R}_{2}}(t)\cdot ...\cdot {{R}_{n}}(t)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; is the total number of failure modes considered. This is the product rule for the reliability of series systems with statistically independent components, which states that the reliability for a series system is equal to the product of the reliability values of the components comprising the system.  Do note that the above equation is the reliability function based on any assumed life distribution.  In Weibull++ this life distribution can be either the 2-parameter Weibull, lognormal, normal or the 1-parameter exponential.&lt;br /&gt;
&lt;br /&gt;
===CFM Example===&lt;br /&gt;
&lt;br /&gt;
The following example demonstrates how you can use the reliability equation to determine the overall reliability of a component. (This example has been abstracted from Example 15.6 from the Meeker and Escobar textbook Statistical Methods for Reliability Data [[Appendix:_Life_Data_Analysis_References|[27]]].)&lt;br /&gt;
&lt;br /&gt;
An electronic component has two competing failure modes. One failure mode is due to random voltage spikes, which cause failure by overloading the system. The other failure mode is due to wearout failures, which usually happen only after the system has run for many cycles. The objective is to determine the overall reliability for the component at 100,000 cycles.&lt;br /&gt;
&lt;br /&gt;
30 units are tested, and the failure times are recorded in the following table. The failures that are due to the random voltage spikes are denoted by a V. The failures that are due to wearout failures are denoted by a W.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   Number &amp;amp; Failure &amp;amp; Failure &amp;amp; Number &amp;amp; Failure &amp;amp; Failure  \\&lt;br /&gt;
   in State &amp;amp; Time* &amp;amp; Mode &amp;amp; in State &amp;amp; Time* &amp;amp; Mode  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{2} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{147} &amp;amp; \text{W}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{10} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{173} &amp;amp; \text{V}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{13} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{181} &amp;amp; \text{W}  \\&lt;br /&gt;
   \text{2} &amp;amp; \text{23} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{212} &amp;amp; \text{W}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{28} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{245} &amp;amp; \text{W}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{30} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{247} &amp;amp; \text{V}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{65} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{261} &amp;amp; \text{V}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{80} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{266} &amp;amp; \text{W}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{88} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{275} &amp;amp; \text{W}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{106} &amp;amp; \text{V} &amp;amp; \text{1} &amp;amp; \text{293} &amp;amp; \text{W}  \\&lt;br /&gt;
   \text{1} &amp;amp; \text{143} &amp;amp; \text{V} &amp;amp; \text{8} &amp;amp; \text{300} &amp;amp; \text{suspended}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;*Failure times given are in thousands of cycles.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To obtain the overall reliability of the component, we will first need to analyze the data set due to each failure mode. For example, to obtain the reliability of the component due to voltage spikes, we must consider all of the failures for the wear-out mode to be suspensions. We do the same for analyzing the wear-out failure mode, counting only the wear-out data as failures and assuming that the voltage spike failures are suspensions. Once we have obtained the reliability of the component due to each mode, we can use the system Reliability Equation to determine the overall component reliability. &lt;br /&gt;
&lt;br /&gt;
The following analysis shows the data set for the voltage spikes. Using the Weibull distribution and the MLE analysis method (recommended due to the number of suspensions in the data), the parameters are &amp;lt;math&amp;gt;{{\beta }_{V}}=0.671072\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\eta }_{V}}=449.427230\,\!&amp;lt;/math&amp;gt;. The reliability for this failure mode at &amp;lt;math&amp;gt;t=100\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;{{R}_{V}}(100)=0.694357\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Competing Failiure Mode V Mode Data.png|center|550px| ]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The following analysis shows the data set for the wearout failure mode. Using the same analysis settings (i.e., Weibull distribution and MLE analysis method), the parameters are &amp;lt;math&amp;gt;{{\beta }_{W}}=4.337278\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\eta }_{W}}=340.384242\,\!&amp;lt;/math&amp;gt;. The reliability for this failure mode at &amp;lt;math&amp;gt;t=100\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;{{R}_{W}}(100)=0.995084\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Competing Failiure Mode W Mode Data.png|center|550px| ]] &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the Reliability Equation to obtain the overall component reliability at 100,000 cycles, we get:&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{R}_{sys}}(100)= {{R}_{V}}(100)\cdot {{R}_{W}}(100) \\ &lt;br /&gt;
 &amp;amp; = 0.694357\cdot 0.995084 \\ &lt;br /&gt;
 &amp;amp; = 0.690943  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or the reliability of the unit (or system) under both modes is &amp;lt;math&amp;gt;{{R}_{sys}}(100)=69.094%\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
You can also perform this analysis using Weibull++&#039;s built-in CFM analysis options, which allow you to generate a probability plot that contains the combined mode line as well as the individual mode lines. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;noprint&amp;quot;&amp;gt;&lt;br /&gt;
{{Examples Box|Weibull++ Examples|&amp;lt;p&amp;gt;More CFM examples are available! See also:&amp;lt;/p&amp;gt; &lt;br /&gt;
{{Examples Both|http://www.reliasoft.com/Weibull/examples/rc10/index.htm|Competing Failure Modes Analysis|http://www.reliasoft.tv/weibull/appexamples/weibull_app_ex_10.html|Watch the video...}}&amp;lt;nowiki/&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Confidence Bounds for CFM Analysis==&lt;br /&gt;
&lt;br /&gt;
The method available in Weibull++ for estimating the different types of confidence bounds, for competing failure modes analysis, is the Fisher matrix method, and is presented in this section.&lt;br /&gt;
&lt;br /&gt;
===Variance/Covariance Matrix===&lt;br /&gt;
&lt;br /&gt;
The variances and covariances of the parameters are estimated from the inverse local Fisher matrix, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \left( \begin{matrix}&lt;br /&gt;
   Var({{{\hat{a}}}_{1}}) &amp;amp; Cov({{{\hat{a}}}_{1}},{{{\hat{b}}}_{1}}) &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   Cov({{{\hat{a}}}_{1}},{{{\hat{b}}}_{1}}) &amp;amp; Var({{{\hat{b}}}_{1}}) &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; \cdot  &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; \cdot  &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; \cdot  &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; Var({{{\hat{a}}}_{n}}) &amp;amp; Cov({{{\hat{a}}}_{n}},{{{\hat{b}}}_{n}})  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; Cov({{{\hat{a}}}_{n}},{{{\hat{b}}}_{n}}) &amp;amp; Var({{{\hat{b}}}_{n}})  \\&lt;br /&gt;
\end{matrix} \right) \\ &lt;br /&gt;
 &amp;amp; ={\left( \begin{matrix}&lt;br /&gt;
   -\frac{{{\partial }^{2}}\Lambda }{\partial a_{1}^{2}} &amp;amp; -\frac{{{\partial }^{2}}\Lambda }{\partial a_{1}^{{}}\partial {{b}_{1}}} &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   -\frac{{{\partial }^{2}}\Lambda }{\partial a_{1}^{{}}\partial {{b}_{1}}} &amp;amp; -\frac{{{\partial }^{2}}\Lambda }{\partial b_{1}^{2}} &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; \cdot  &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; \cdot  &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; \cdot  &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; -\frac{{{\partial }^{2}}\Lambda }{\partial a_{n}^{2}} &amp;amp; -\frac{{{\partial }^{2}}\Lambda }{\partial a_{n}^{{}}\partial {{b}_{n}}}  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; -\frac{{{\partial }^{2}}\Lambda }{\partial a_{n}^{{}}\partial {{b}_{n}}} &amp;amp; -\frac{{{\partial }^{2}}\Lambda }{\partial b_{n}^{2}}  \\&lt;br /&gt;
\end{matrix} \right)}^{-1} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\Lambda \,\!&amp;lt;/math&amp;gt; is the log-likelihood function of the failure distribution, described in [[Parameter Estimation]].&lt;br /&gt;
&lt;br /&gt;
===Bounds on Reliability===&lt;br /&gt;
&lt;br /&gt;
The competing failure modes reliability function is given by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\widehat{R}=\underset{i=1}{\overset{n}{\mathop \prod }}\,{{\hat{R}}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
*	 &amp;lt;math&amp;gt;{{R}_{i}}\,\!&amp;lt;/math&amp;gt; is the reliability of the &amp;lt;math&amp;gt;{{i}^{th}}\,\!&amp;lt;/math&amp;gt; mode.&lt;br /&gt;
*	 &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; is the number of failure modes.&lt;br /&gt;
&lt;br /&gt;
The upper and lower bounds on reliability are estimated using the logit transformation: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{R}_{U}}= &amp;amp; \frac{\widehat{R}}{\widehat{R}+(1-\widehat{R}){{e}^{-\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{R})}}{\widehat{R}(1-\widehat{R})}}}} \\ &lt;br /&gt;
 &amp;amp; {{R}_{L}}= &amp;amp; \frac{\widehat{R}}{\widehat{R}+(1-\widehat{R}){{e}^{\tfrac{{{K}_{\alpha }}\sqrt{Var(\widehat{R})}}{\widehat{R}(1-\widehat{R})}}}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\widehat{R}\,\!&amp;lt;/math&amp;gt; is calculated using the reliability equation for competing failure modes.&lt;br /&gt;
&amp;lt;math&amp;gt;{{K}_{\alpha }}\,\!&amp;lt;/math&amp;gt; is defined by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha =\frac{1}{\sqrt{2\pi }}\underset{{{K}_{\alpha }}}{\overset{\infty }{\mathop \int }}\,{{e}^{-\tfrac{{{t}^{2}}}{2}}}dt=1-\Phi ({{K}_{\alpha }})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(If &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; is the confidence level, then &amp;lt;math&amp;gt;\alpha =\tfrac{1-\delta }{2}\,\!&amp;lt;/math&amp;gt; for the two-sided bounds, and &amp;lt;math&amp;gt;\alpha =1-\delta \,\!&amp;lt;/math&amp;gt; for the one-sided bounds.)&lt;br /&gt;
&lt;br /&gt;
The variance of &amp;lt;math&amp;gt;\widehat{R}\,\!&amp;lt;/math&amp;gt; is estimated by: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var(\widehat{R})=\underset{i=1}{\overset{n}{\mathop \sum }}\,{{\left( \frac{\partial R}{\partial {{R}_{i}}} \right)}^{2}}Var({{\hat{R}}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\partial R}{\partial {{R}_{i}}}=\underset{j=1,j\ne i}{\overset{n}{\mathop \prod }}\,\widehat{{{R}_{j}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var(\widehat{R})=\underset{i=1}{\overset{n}{\mathop \sum }}\,\left( \underset{j=1,j\ne i}{\overset{n}{\mathop \prod }}\,\widehat{R}_{j}^{2} \right)Var({{\hat{R}}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var({{\hat{R}}_{i}})=\underset{i=1}{\overset{n}{\mathop \sum }}\,{{\left( \frac{\partial {{R}_{i}}}{\partial {{a}_{i}}} \right)}^{2}}Var({{\hat{a}}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\widehat{{{a}_{i}}}\,\!&amp;lt;/math&amp;gt; is an element of the model parameter vector.  &lt;br /&gt;
&lt;br /&gt;
Therefore, the value of &amp;lt;math&amp;gt;Var({{\hat{R}}_{i}})\,\!&amp;lt;/math&amp;gt; is dependent on the underlying distribution.&lt;br /&gt;
&lt;br /&gt;
For the Weibull distribution: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var({{\hat{R}}_{i}})={{\left( {{{\hat{R}}}_{i}}{{e}^{{{{\hat{u}}}_{i}}}} \right)}^{2}}Var({{\hat{u}}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{u}}_{i}}={{\hat{\beta }}_{i}}(\ln (t-{{\hat{\gamma }}_{i}})-\ln {{\hat{\eta }}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &amp;lt;math&amp;gt;Var(\widehat{{{u}_{i}}})\,\!&amp;lt;/math&amp;gt; is given in [[The Weibull Distribution]].&lt;br /&gt;
&lt;br /&gt;
For the exponential distribution: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var({{\hat{R}}_{i}})={{\left( {{{\hat{R}}}_{i}}(t-{{{\hat{\gamma }}}_{i}}) \right)}^{2}}Var({{\hat{\lambda }}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;Var(\widehat{{{\lambda }_{i}}})\,\!&amp;lt;/math&amp;gt; is given in [[The Exponential Distribution]].&lt;br /&gt;
&lt;br /&gt;
For the normal distribution: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var({{\hat{R}}_{i}})={{\left( f({{{\hat{z}}}_{i}})\hat{\sigma } \right)}^{2}}Var({{\hat{z}}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{z}}_{i}}=\frac{t-{{{\hat{\mu }}}_{i}}}{{{{\hat{\sigma }}}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;Var(\widehat{{{z}_{i}}})\,\!&amp;lt;/math&amp;gt; is given in [[The Normal Distribution]].&lt;br /&gt;
&lt;br /&gt;
For the lognormal distribution: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var({{\hat{R}}_{i}})={{\left( f({{{\hat{z}}}_{i}})\cdot {{{\hat{\sigma }}}^{\prime }} \right)}^{2}}Var({{\hat{z}}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{z}}_{i}}=\frac{\ln \text{(}t)-\hat{\mu }_{i}^{\prime }}{\hat{\sigma }_{i}^{\prime }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;Var(\widehat{{{z}_{i}}})\,\!&amp;lt;/math&amp;gt; is given in [[The Lognormal Distribution]].&lt;br /&gt;
&lt;br /&gt;
===Bounds on Time===&lt;br /&gt;
The bounds on time are estimate by solving the reliability equation with respect to time. From the reliabilty equation for competing faiure modes, we have that: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{t}=\varphi (R,{{\hat{a}}_{i}},{{\hat{b}}_{i}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
::&amp;lt;math&amp;gt;i=1,...,n\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\varphi \,\!&amp;lt;/math&amp;gt; is inverse function for the reliabilty equation for competing faiure modes.&lt;br /&gt;
:•	for the Weibull distribution &amp;lt;math&amp;gt;{{\hat{a}}_{i}}\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;{{\hat{\beta }}_{i}}\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\hat{b}}_{i}}\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;{{\hat{\eta }}_{i}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	for the exponential distribution &amp;lt;math&amp;gt;{{\hat{a}}_{i}}\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;{{\hat{\lambda }}_{i}}\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\hat{b}}_{i}}\,\!&amp;lt;/math&amp;gt; =0&lt;br /&gt;
:•	for the normal distribution &amp;lt;math&amp;gt;{{\hat{a}}_{i}}\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;{{\hat{\mu }}_{i}}\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\hat{b}}_{i}}\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;{{\hat{\sigma }}_{i}}\,\!&amp;lt;/math&amp;gt;, and&lt;br /&gt;
:•	for the lognormal distribution &amp;lt;math&amp;gt;{{\hat{a}}_{i}}\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\hat{\mu }_{i}^{\prime }\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\hat{b}}_{i}}\,\!&amp;lt;/math&amp;gt; is &amp;lt;math&amp;gt;\hat{\sigma }_{i}^{\prime }\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
Set: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
u=\ln (t)&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The bounds on &amp;lt;math&amp;gt;u\,\!&amp;lt;/math&amp;gt; are estimated from: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{u}_{U}}=\widehat{u}+{{K}_{\alpha }}\sqrt{Var(\widehat{u})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{u}_{L}}=\widehat{u}-{{K}_{\alpha }}\sqrt{Var(\widehat{u})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the upper and lower bounds on time are found by using the equations: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{t}_{U}}={{e}^{{{u}_{U}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{t}_{L}}={{e}^{{{u}_{L}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{K}_{\alpha }}\,\!&amp;lt;/math&amp;gt;  is calculated using the inverse standard normal distribution and &amp;lt;math&amp;gt;Var(\widehat{u})\,\!&amp;lt;/math&amp;gt; is computed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Var(\widehat{u})=\underset{i=1}{\overset{n}{\mathop \sum }}\,\left( {{\left( \frac{\partial u}{\partial {{a}_{i}}} \right)}^{2}}Var(\widehat{{{a}_{i}}})+{{\left( \frac{\partial u}{\partial {{b}_{i}}} \right)}^{2}}Var(\widehat{{{b}_{i}}})+2\frac{\partial u}{\partial {{a}_{i}}}\frac{\partial u}{\partial {{b}_{i}}}Cov(\widehat{{{a}_{i}}},\widehat{{{b}_{i}}}) \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Complex Failure Modes Analysis==&amp;lt;!-- THIS SECTION HEADER IS LINKED TO EXTERNAL SEARCH IN THE W++/A HELP FILE. IF YOU RENAME THE SECTION, YOU MUST UPDATE THE LINK. --&amp;gt;&lt;br /&gt;
In addition to being viewed as a series system, the relationship between the different competing failures modes can be more complex. After performing separate analysis for each failure mode, a diagram that describes how each failure mode can result in a product failure can be used to perform analysis for the item in question. Such diagrams are usually referred to as Reliability Block Diagrams (RBD) (for more on RBDs see [[System_Analysis_Reference|ReliaSoft&#039;s System Analysis Reference]] and [http://www.reliasoft.com/BlockSim/  ReliaSoft&#039;s BlockSim software]).&lt;br /&gt;
&lt;br /&gt;
A reliability block diagram is made of blocks that represent the failure modes and arrows and connects the blocks in different configurations. Note that the blocks can also be used to represent different components or subsystems that make up the product. Weibull++ provides the capability to use a diagram to model, series, parallel, k-out-of-n configurations in addition to any complex combinations of these configurations.&lt;br /&gt;
&lt;br /&gt;
In this analysis, the failure modes are assumed to be statistically independent. (Note: In the context of this reference, statistically independent implies that failure information for one failure mode provides no information about, i.e. does not affect, other failure mode). Analysis of dependent modes is more complex. Advanced RBD software such as ReliaSoft&#039;s BlockSim can handle and analyze such dependencies, as well as provide more advanced constructs and analyses (see http://www.ReliaSoft.com/BlockSim).&lt;br /&gt;
&lt;br /&gt;
===Failure Modes Configurations===&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Series Configuration&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The basic competing failure modes configuration, which has already been discussed, is a series configuration. In a series configuration, the occurrence of any failure mode results in failure for the product.&lt;br /&gt;
&lt;br /&gt;
[[Image:WB.18 series configuration.png|center|400px| ]]&lt;br /&gt;
&lt;br /&gt;
The equation that describes series configuration is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(t)={{R}_{1}}(t)\cdot {{R}_{2}}(t)\cdot ...\cdot {{R}_{n}}(t)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; is the total number of failure modes considered.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Parallel&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In a simple parallel configuration, at least one of the failure modes must not occur for the product to continue operation.&lt;br /&gt;
&lt;br /&gt;
[[Image:WB.18 parallel.png|center|200px| ]]&lt;br /&gt;
&lt;br /&gt;
The equation that describes the parallel configuration is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(t)=1-\underset{i=1}{\overset{n}{\mathop \prod }}\,(1-{{R}_{i}}(t))\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; is the total number of failure modes considered.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Combination of Series and Parallel&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
While many smaller products can be accurately represented by either a simple series or parallel configuration, there may be larger products that involve both series and parallel configurations in the overall model of the product. Such products can be analyzed by calculating the reliabilities for the individual series and parallel sections and then combining them in the appropriate manner.  &lt;br /&gt;
&lt;br /&gt;
[[Image:WB.18 series parallel.png|center|250px| ]]&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;k-out-of-n Parallel Configuration=&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The k-out-of-n configuration is a special case of parallel redundancy. This type of configuration requires that at least &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; failure modes do not happen out of the total &amp;lt;math&amp;gt;n\,\!&amp;lt;/math&amp;gt; parallel failure modes for the product to succeed.&lt;br /&gt;
The simplest case of a k-out-of-n configuration is when the failure modes are independent and identical and have the same failure distribution and uncertainties about the parameters (in other words they are derived from the same test data). In this case, the reliability of the product with such a configuration can be evaluated using the binomial distribution, or:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;R(t)=\overset{n}{\mathop{\underset{r=k}{\mathop{\underset{}{\overset{}{\mathop \sum }}\,}}\,}}\,\left( \underset{k}{\mathop{\overset{n}{\mathop{{}}}\,}}\, \right){{R}^{r}}(t){{(1-R(t))}^{n-r}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the case where the k-out-of-n failure modes are not identical, other approaches for calculating the reliability must be used (e.g. the event space method). Discussion of these is beyond the scope of this reference. Interested readers can consult the [[RBDs_and_Analytical_System_Reliability#k-out-of-n_Parallel_Configuration| System Analysis Reference book]].&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Complex Systems&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
In many cases, it is not easy to recognize which components are in series and which are in parallel in a complex system.&lt;br /&gt;
&lt;br /&gt;
[[Image:WB.18 complex systems.png|center|400px| ]]&lt;br /&gt;
&lt;br /&gt;
The previous configuration cannot be broken down into a group of series and parallel configurations. This is primarily due to the fact that failure mode C has two paths leading away from it, whereas B and D have only one. Several methods exist for obtaining the reliability of a complex configuration including the decomposition method, the event space method and the path-tracing method. Discussion of these is beyond the scope of this reference. Interested readers can consult the [[RBDs_and_Analytical_System_Reliability#Complex_Systems|System Analysis Reference book]].&lt;br /&gt;
&lt;br /&gt;
===Complex Failure Modes Example===&lt;br /&gt;
{{:Complex Failure Modes Example}}&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Resolution_III_Design_Example&amp;diff=65240</id>
		<title>Resolution III Design Example</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Resolution_III_Design_Example&amp;diff=65240"/>
		<updated>2017-08-10T17:45:09Z</updated>

		<summary type="html">&lt;p&gt;Richard House: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&amp;lt;noinclude&amp;gt;{{Banner DOE Examples}}&lt;br /&gt;
&#039;&#039;This example appears in the [[Two_Level_Factorial_Experiments#Resolution_III_Designs|Experiment Design and Analysis Reference book]]&#039;&#039;. &amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A baker wants to investigate the factors that most affect the taste of the cakes made in his bakery. He chooses to investigate seven factors, each at two levels: flour type (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), conditioner type (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), sugar quantity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), egg quantity (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), preservative type (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;), bake time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;) and bake temperature (factor &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;). The baker expects most of these factors and all higher order interactions to be inactive. On the basis of this, he decides to run a screening experiment using a 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design that requires just 8 runs. The cakes are rated on a scale of 1 to 10. The design properties for the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design (with generators &amp;lt;math&amp;gt;D=AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E=AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F=BC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G=ABC\,\!&amp;lt;/math&amp;gt;) are shown in the following figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_44.png|center|800px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_8| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design along with the rating of the cakes corresponding to each run is shown in the following figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_45.png|center|700px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_8| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for the unreplicated design shows main effects &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt; to be significant, as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_46.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_8| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, for this design, the following alias relations exist for the main effects:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
 &amp;amp; A= &amp;amp; A+BD+CE+FG \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; B+AD+CF+EG \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; C+AE+BF+DG \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; D+AB+CG+EF \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; E+AC+BG+DF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; F+BC+AG+DE \\ &lt;br /&gt;
 &amp;amp; G= &amp;amp; G+CD+BE+AF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the alias structure, three separate possible conclusions can be drawn. It can be concluded that effect &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt; is active instead of &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt; so that effects &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and their interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;, are the significant effects. Another conclusion can be that effect &amp;lt;math&amp;gt;DG\,\!&amp;lt;/math&amp;gt; is active instead of &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; so that effects &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt; and their interaction, &amp;lt;math&amp;gt;DG\,\!&amp;lt;/math&amp;gt;, are significant. Yet another conclusion can be that effects &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt; and their interaction, &amp;lt;math&amp;gt;CG\,\!&amp;lt;/math&amp;gt;, are significant. To accurately discover the active effects, the baker decides to a run a fold-over of the present design and base his conclusions on the effect values calculated once results from both the designs are available. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The present design is shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_47.png|center|612px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_8| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the alias relations, the effects obtained from the DOE folio for the present design can be expressed as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Effec{{t}_{A}}= &amp;amp; 0.025=A+BD+CE+FG \\ &lt;br /&gt;
 &amp;amp; Effec{{t}_{B}}= &amp;amp; -0.225=B+AD+CF+EG \\ &lt;br /&gt;
 &amp;amp; Effec{{t}_{C}}= &amp;amp; 2.075=C+AE+BF+DG \\ &lt;br /&gt;
 &amp;amp; Effec{{t}_{D}}= &amp;amp; 2.875=D+AB+CG+EF \\ &lt;br /&gt;
 &amp;amp; Effec{{t}_{E}}= &amp;amp; -0.025=E+AC+BG+DF \\ &lt;br /&gt;
 &amp;amp; Effec{{t}_{F}}= &amp;amp; -0.075=F+BC+AG+DE \\ &lt;br /&gt;
 &amp;amp; Effec{{t}_{G}}= &amp;amp; 3.825=G+CD+BE+AF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The fold-over design for the experiment is obtained by reversing the signs of the columns &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. In a DOE folio, you can fold over a design using the following window. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_48_1.png|center|311px|Fold-over design window|link=]]&lt;br /&gt;
&lt;br /&gt;
The resulting design and the corresponding response values obtained are shown in the following figures. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_48.png|center|722px|Fold-over design for the experiment in the [[Two_Level_Factorial_Experiments#Example_8| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_49_1.png|center|700px|Effect values for the fold-over design in the [[Two_Level_Factorial_Experiments#Example_8| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Comparing the absolute values of the effects, the active effects are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the most important factors affecting the taste of the cakes in the present case are sugar quantity, egg quantity and their interaction.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65239</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65239"/>
		<updated>2017-08-10T17:42:11Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by the Weibull++ DOE folio is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how a DOE folio obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In a DOE folio, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in a Weibull++ DOE folio. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in a DOE folio are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in Weibull++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In a Weibull++ DOE folio, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in a DOE folio. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from the DOE folio is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65238</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65238"/>
		<updated>2017-08-10T17:39:20Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by the Weibull++ DOE folio is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how a DOE folio obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In a DOE folio, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in a Weibull++ DOE folio. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in a DOE folio are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in Weibull++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65237</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65237"/>
		<updated>2017-08-10T17:38:25Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Design Resolution */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by the Weibull++ DOE folio is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how a DOE folio obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In a DOE folio, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in a Weibull++ DOE folio. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in a DOE folio are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in Weibull++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65236</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65236"/>
		<updated>2017-08-10T17:37:27Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Calculation of Aliases */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by the Weibull++ DOE folio is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how a DOE folio obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In a DOE folio, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in a Weibull++ DOE folio. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65235</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65235"/>
		<updated>2017-08-10T17:36:34Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Half-fraction Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by the Weibull++ DOE folio is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how a DOE folio obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In a DOE folio, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65234</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65234"/>
		<updated>2017-08-10T17:35:07Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example: 2 Level Factorial Design with Four Blocks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by the Weibull++ DOE folio is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how a DOE folio obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65233</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65233"/>
		<updated>2017-08-10T17:33:33Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example: Two Level Factorial Design with Two Blocks */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by the Weibull++ DOE folio is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65232</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65232"/>
		<updated>2017-08-10T17:32:51Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Using Center Point Replicates to Test Curvature */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of the DOE folio. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by DOE++ is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65231</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65231"/>
		<updated>2017-08-10T17:31:50Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Normal Probability Plot of Effects */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of a DOE folio plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. The DOE folio then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of DOE++. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by DOE++ is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65230</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65230"/>
		<updated>2017-08-10T17:30:25Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Replicated and Repeated Runs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into a DOE folio as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of DOE++ plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. DOE++ then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of DOE++. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by DOE++ is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65229</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65229"/>
		<updated>2017-08-10T17:30:00Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Model Equation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In a DOE folio, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in a DOE folio, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into DOE++ as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of DOE++ plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. DOE++ then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of DOE++. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by DOE++ is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65228</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65228"/>
		<updated>2017-08-10T17:29:12Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Calculation of Effect Coefficients */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from the DOE folio to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In DOE++, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in DOE++, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into DOE++ as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of DOE++ plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. DOE++ then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of DOE++. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by DOE++ is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65227</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65227"/>
		<updated>2017-08-10T17:28:52Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Special Features */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in a Weibull++ DOE folio, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in a Weibull++ DOE folio as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from DOE++ to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In DOE++, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in DOE++, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into DOE++ as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of DOE++ plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. DOE++ then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of DOE++. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by DOE++ is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65226</id>
		<title>Two Level Factorial Experiments</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Two_Level_Factorial_Experiments&amp;diff=65226"/>
		<updated>2017-08-10T17:26:42Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* 2k Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|8}}&lt;br /&gt;
Two level factorial experiments are factorial experiments in which each factor is investigated at only two levels. The early stages of experimentation usually involve the investigation of a large number of potential factors to discover the &amp;quot;vital few&amp;quot; factors. Two level factorial experiments are used during these stages to quickly filter out unwanted effects so that attention can then be focused on the important ones.&lt;br /&gt;
&lt;br /&gt;
==2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
The factorial experiments, where all combination of the levels of the factors are run, are usually referred to as &#039;&#039;full factorial experiments&#039;&#039;. Full factorial two level experiments are also referred to as &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs where &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; denotes the number of factors being investigated in the experiment. In Weibull++ DOE folios, these designs are referred to as 2 Level Factorial Designs as shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_1.png|center|487px|Selection of full factorial experiments with two levels in Weibull++.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
A full factorial two level design with &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors requires &amp;lt;math&amp;gt;{{2}^{k}}\,\!&amp;lt;/math&amp;gt; runs for a single replicate. For example, a two level experiment with three factors will require &amp;lt;math&amp;gt;2\times 2\times 2={{2}^{3}}=8\,\!&amp;lt;/math&amp;gt; runs. The choice of the two levels of factors used in two level experiments depends on the factor; some factors naturally have two levels. For example, if gender is a factor, then male and female are the two levels. For other factors, the limits of the range of interest are usually used. For example, if temperature is a factor that varies from &amp;lt;math&amp;gt;{45}^{o}C\,\!&amp;lt;/math&amp;gt; to &amp;lt;math&amp;gt;{90}^{o}C\,\!&amp;lt;/math&amp;gt;, then the two levels used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design for this factor would be &amp;lt;math&amp;gt;{45}^{o}\,\!C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{90}^{o}\,\!C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The two levels of the factor in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are usually represented as &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (for the first level) and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (for the second level). Note that this representation is reversed from the coding used in [[General Full Factorial Designs]] for the indicator variables that represent two level factors in ANOVA models. For ANOVA models, the first level of the factor was represented using a value of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; for the indicator variable, while the second level was represented using a value of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. For details on the notation used for two level experiments refer to [[Two_Level_Factorial_Experiments#Notation| Notation]].&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The simplest of the two level factorial experiments is the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where two factors (say factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are investigated at two levels. A single replicate of this design will require four runs (&amp;lt;math&amp;gt;{{2}^{2}}=2\times 2=4\,\!&amp;lt;/math&amp;gt;) The effects investigated by this design are the two main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B,\,\!&amp;lt;/math&amp;gt; and the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The treatments for this design are shown in figure (a) below. In figure (a), letters are used to represent the treatments. The presence of a letter indicates the high level of the corresponding factor and the absence indicates the low level. For example, (1) represents the treatment combination where all factors involved are at the low level or the level represented by &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while the remaining factors (in this case, factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) are at the low level or the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is at the high level or the level of &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;, while factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; represents the treatment combination where factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; are at the high level or the level of the 1. Figure (b) below shows the design matrix for the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. It can be noted that the sum of the terms resulting from the product of any two columns of the design matrix is zero. As a result the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is an &#039;&#039;orthogonal design&#039;&#039;. In fact, all &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are orthogonal designs. This property of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs offers a great advantage in the analysis because of the simplifications that result from orthogonality. These simplifications are explained later on in this chapter.&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a square with the four treatment combinations lying at the four corners, as shown in figure (c) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.2.png|center|400px|The &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design. Figure (a) displays the experiment design, (b) displays the design matrix and (c) displays the geometric representation for the design. In Figure (b), the column names I, A, B and AB are used. Column I represents the intercept term. Columns A and B represent the respective factor settings. Column AB represents the interaction and is the product of columns A and B.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===The 2&amp;lt;sup&amp;gt;3&amp;lt;/sup&amp;gt; Design===&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is a two level factorial experiment design with three factors (say factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). This design tests three (&amp;lt;math&amp;gt;k=3\,\!&amp;lt;/math&amp;gt;) main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; ; three (&amp;lt;math&amp;gt;(_{2}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{2}^{3})=3\,\!&amp;lt;/math&amp;gt;) two factor interaction effects, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; ; and one (&amp;lt;math&amp;gt;(_{3}^{k})=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;(_{3}^{3})=1\,\!&amp;lt;/math&amp;gt;) three factor interaction effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The design requires eight runs per replicate. The eight treatment combinations corresponding to these runs are &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;ac\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;bc\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt;. Note that the treatment combinations are written in such an order that factors are introduced one by one with each new factor being combined with the preceding terms. This order of writing the treatments is called the &#039;&#039;standard order&#039;&#039; or &#039;&#039;Yates&#039; order&#039;&#039;. The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. The design matrix for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design is shown in figure (b). The design matrix can be constructed by following the standard order for the treatment combinations to obtain the columns for the main effects and then multiplying the main effects columns to obtain the interaction columns. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.3.png|center|324px|The &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. Figure (a) shows the experiment design and (b) shows the design matrix.]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.4.png|center|290px|Geometric representation of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design can also be represented geometrically using a cube with the eight treatment combinations lying at the eight corners as shown in the figure above.&lt;br /&gt;
&lt;br /&gt;
==Analysis of 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are a special category of the factorial experiments where all the factors are at two levels. The fact that these designs contain factors at only two levels and are orthogonal greatly simplifies their analysis even when the number of factors is large. The use of &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs in investigating a large number of factors calls for a revision of the notation used previously for the ANOVA models. The case for revised notation is made stronger by the fact that the ANOVA and multiple linear regression models are identical for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs because all factors are only at two levels. Therefore, the notation of the regression models is applied to the ANOVA models for these designs, as explained next.&lt;br /&gt;
&lt;br /&gt;
===Notation===&lt;br /&gt;
&lt;br /&gt;
Based on the notation used in [[General Full Factorial Designs]], the ANOVA model for a two level factorial experiment with three factors would be as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; \mu +{{\tau }_{1}}\cdot {{x}_{1}}+{{\delta }_{1}}\cdot {{x}_{2}}+{{(\tau \delta )}_{11}}\cdot {{x}_{1}}{{x}_{2}}+{{\gamma }_{1}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{(\tau \gamma )}_{11}}\cdot {{x}_{1}}{{x}_{3}}+{{(\delta \gamma )}_{11}}\cdot {{x}_{2}}{{x}_{3}}+{{(\tau \delta \gamma )}_{111}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt; represents the overall mean&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the first factor (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\tau }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the second factor (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\delta }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\delta }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the independent effect of the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; represents the effect of the third factor (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) out of the two effects &amp;lt;math&amp;gt;{{\gamma }_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\gamma }_{2}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\delta \gamma )}_{11}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
:•	 &amp;lt;math&amp;gt;{{(\tau \delta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt; represents the effect of the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; out of the other interaction effects&lt;br /&gt;
and &amp;lt;math&amp;gt;\epsilon \,\!&amp;lt;/math&amp;gt; is the random error term.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The notation for a linear regression model having three predictor variables with interactions is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The notation for the regression model is much more convenient, especially for the case when a large number of higher order interactions are present. In two level experiments, the ANOVA model requires only one indicator variable to represent each factor for both qualitative and quantitative factors. Therefore, the notation for the multiple linear regression model can be applied to the ANOVA model of the experiment that has all the factors at two levels. For example, for the experiment of the ANOVA model given above, &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; can represent the overall mean instead of &amp;lt;math&amp;gt;\mu \,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; can represent the independent effect, &amp;lt;math&amp;gt;{{\tau }_{1}}\,\!&amp;lt;/math&amp;gt;, of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Other main effects can be represented in a similar manner. The notation for the interaction effects is much more simplified (e.g., &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; can be used to represent the three factor interaction effect, &amp;lt;math&amp;gt;{{(\tau \beta \gamma )}_{111}}\,\!&amp;lt;/math&amp;gt;).&lt;br /&gt;
&lt;br /&gt;
As mentioned earlier, it is important to note that the coding for the indicator variables for the ANOVA models of two level factorial experiments is reversed from the coding followed in [[General Full Factorial Designs]]. Here &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; represents the first level of the factor while &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; represents the second level. This is because for a two level factor a single variable is needed to represent the factor for both qualitative and quantitative factors. For quantitative factors, using &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; for the first level (which is the low level) and 1 for the second level (which is the high level) keeps the coding consistent with the numerical value of the factors. The change in coding between the two coding schemes does not affect the analysis except that signs of the estimated effect coefficients will be reversed (i.e., numerical values of &amp;lt;math&amp;gt;{{\hat{\tau }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the coding of [[General Full Factorial Designs]], and &amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}\,\!&amp;lt;/math&amp;gt;, obtained based on the new coding, will be the same but their signs would be opposite).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp;  &amp;amp; \text{Factor }A\text{ Coding (two level factor)} \\ &lt;br /&gt;
 &amp;amp;  &amp;amp;   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Previous Coding} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; \text{Coding for }{{\text{2}}^{k}}\text{ Designs}  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{1}}\ \ :\ \ {{x}_{1}}=1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{1}}\text{ (or }-{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=-1\text{         }  \\&lt;br /&gt;
   Effect\text{ }{{\tau }_{2}}\ \ :\ \ {{x}_{1}}=-1\text{         } &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; Effect\text{ }{{\tau }_{2}}\text{ (or }{{\beta }_{1}}\text{)}\ \ :\ \ {{x}_{1}}=1\text{         }  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In summary, the ANOVA model for the experiments with all factors at two levels is different from the ANOVA models for other experiments in terms of the notation in the following two ways:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:•	The notation of the regression models is used for the effect coefficients.&lt;br /&gt;
:•	The coding of the indicator variables is reversed.&lt;br /&gt;
&lt;br /&gt;
===Special Features===&lt;br /&gt;
&lt;br /&gt;
Consider the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, for the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design discussed above. The (&amp;lt;math&amp;gt;{{X}^{\prime }}X\,\!&amp;lt;/math&amp;gt;) &amp;lt;math&amp;gt;^{-1}\,\!&amp;lt;/math&amp;gt; matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\left[ \begin{matrix}&lt;br /&gt;
   0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0.125  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that, due to the orthogonal design of the &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix, the &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; has been simplified to a diagonal matrix which can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{X}^{\prime }}X)}^{-1}}= &amp;amp; 0.125\cdot I = &amp;amp; \frac{1}{8}\cdot I = &amp;amp; \frac{1}{{{2}^{3}}}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; represents the identity matrix of the same order as the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;. Since there are eight observations per replicate of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design, the &amp;lt;math&amp;gt;(X\,\!&amp;lt;/math&amp;gt; &#039; &amp;lt;math&amp;gt;X{{)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; replicates of this design can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{3}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for any &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can now be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{X}^{\prime }}X)}^{-1}}=\frac{1}{({{2}^{k}}\cdot m)}\cdot I\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
C= &amp;amp; {{{\hat{\sigma }}}^{2}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; M{{S}_{E}}\cdot {{({{X}^{\prime }}X)}^{-1}} = &amp;amp; \frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}\cdot I  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the variance-covariance matrix for the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is also a diagonal matrix. Therefore, the estimated effect coefficients (&amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{12}},\,\!&amp;lt;/math&amp;gt; etc.) for these designs are uncorrelated. This implies that the terms in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design (main effects, interactions) are independent of each other. Consequently, the extra sum of squares for each of the terms in these designs is independent of the sequence of terms in the model, and also independent of the presence of other terms in the model. As a result the sequential and partial sum of squares for the terms are identical for these designs and will always add up to the model sum of squares. Multicollinearity is also not an issue for these designs.&lt;br /&gt;
 &lt;br /&gt;
It can also be noted from the equation given above, that in addition to the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix being diagonal, all diagonal elements of the &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; matrix are identical. This means that the variance (or its square root, the standard error) of all estimated effect coefficients are the same. The standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;, for all the coefficients is: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
se({{{\hat{\beta }}}_{j}})= &amp;amp; \sqrt{{{C}_{jj}}} = &amp;amp; \sqrt{\frac{M{{S}_{E}}}{({{2}^{k}}\cdot m)}}\text{   }for\text{ }all\text{ }j  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This property is used to construct the normal probability plot of effects in &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs and identify significant effects using graphical techniques.  For details on the normal probability plot of effects in DOE++, refer to [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate the analysis of a full factorial &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design, consider a three factor experiment to investigate the effect of honing pressure, number of strokes and cycle time on the surface finish of automobile brake drums. Each of these factors is investigated at two levels. The honing pressure is investigated at levels of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;, the number of strokes used is 3 and 5 and the two levels of the cycle time are 3 and 5 seconds. The design for this experiment is set up in DOE++ as shown in the first two following figures. It is decided to run two replicates for this experiment. The surface finish data collected from each run (using randomization) and the complete design is shown in the third following figure. The analysis of the experiment data is explained next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_5.png|center|877px|Design properties for the experiment in the example.|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_6.png|center|859px|Design summary for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_7.png|center|778px|Experiment design for the example to investigate the surface finish of automobile brake drums.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The applicable model using the notation for &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{12}}\cdot {{x}_{1}}{{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}+{{\beta }_{123}}\cdot {{x}_{1}}{{x}_{2}}{{x}_{3}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the indicator variable, &amp;lt;math&amp;gt;{{x}_{1,}}\,\!&amp;lt;/math&amp;gt; represents factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure), &amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; represents the low level of 200 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{1}}=1\,\!&amp;lt;/math&amp;gt; represents the high level of 400 &amp;lt;math&amp;gt;psi\,\!&amp;lt;/math&amp;gt;. Similarly, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; represent factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (number of strokes) and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; (cycle time), respectively. &amp;lt;math&amp;gt;{{\beta }_{0}}\,\!&amp;lt;/math&amp;gt; is the overall mean, while &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the main effects of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. &amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\beta }_{23}}\,\!&amp;lt;/math&amp;gt; are the effect coefficients for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; interactions, while &amp;lt;math&amp;gt;{{\beta }_{123}}\,\!&amp;lt;/math&amp;gt; represents the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; interaction.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
If the subscripts for the run (&amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;i=\,\!&amp;lt;/math&amp;gt; 1 to 8) and replicates (&amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt; ; &amp;lt;math&amp;gt;j=\,\!&amp;lt;/math&amp;gt; 1,2) are included, then the model can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{Y}_{ij}}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{ij1}}+{{\beta }_{2}}\cdot {{x}_{ij2}}+{{\beta }_{12}}\cdot {{x}_{ij1}}{{x}_{ij2}}+{{\beta }_{3}}\cdot {{x}_{ij3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{13}}\cdot {{x}_{ij1}}{{x}_{ij3}}+{{\beta }_{23}}\cdot {{x}_{ij2}}{{x}_{ij3}}+{{\beta }_{123}}\cdot {{x}_{ij1}}{{x}_{ij2}}{{x}_{ij3}}+{{\epsilon }_{ij}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To investigate how the given factors affect the response, the following hypothesis tests need to be carried: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{1}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{1}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (honing pressure). The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{A}}=\frac{M{{S}_{A}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{A}}\,\!&amp;lt;/math&amp;gt; is the mean square for factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other main effects, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{12}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{12}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the two factor interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{AB}}=\frac{M{{S}_{AB}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square. Hypotheses for the other two factor interactions, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, can be written in a similar manner. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{0}}\ \ :\ \ {{\beta }_{123}}=0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
:&amp;lt;math&amp;gt;{{H}_{1}}\ \ :\ \ {{\beta }_{123}}\ne 0\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
This test investigates the three factor interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. The statistic for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{ABC}}=\frac{M{{S}_{ABC}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{ABC}}\,\!&amp;lt;/math&amp;gt; is the mean square for the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
To calculate the test statistics, it is convenient to express the ANOVA model in the form &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Expression of the ANOVA Model as &amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;====&lt;br /&gt;
&lt;br /&gt;
In matrix notation, the ANOVA model can be expressed as: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=X\beta +\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;y=\left[ \begin{matrix}&lt;br /&gt;
   {{Y}_{11}}  \\&lt;br /&gt;
   {{Y}_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{81}}  \\&lt;br /&gt;
   {{Y}_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{Y}_{82}}  \\&lt;br /&gt;
\end{matrix} \right]=\left[ \begin{matrix}&lt;br /&gt;
   90  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   90  \\&lt;br /&gt;
   86  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   80  \\&lt;br /&gt;
\end{matrix} \right]\text{     }X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\beta =\left[ \begin{matrix}&lt;br /&gt;
   {{\beta }_{0}}  \\&lt;br /&gt;
   {{\beta }_{1}}  \\&lt;br /&gt;
   {{\beta }_{2}}  \\&lt;br /&gt;
   {{\beta }_{12}}  \\&lt;br /&gt;
   {{\beta }_{3}}  \\&lt;br /&gt;
   {{\beta }_{13}}  \\&lt;br /&gt;
   {{\beta }_{23}}  \\&lt;br /&gt;
   {{\beta }_{123}}  \\&lt;br /&gt;
\end{matrix} \right]\text{     }\epsilon =\left[ \begin{matrix}&lt;br /&gt;
   {{\epsilon }_{11}}  \\&lt;br /&gt;
   {{\epsilon }_{21}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{81}}  \\&lt;br /&gt;
   {{\epsilon }_{12}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{\epsilon }_{82}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
====Calculation of the Extra Sum of Squares for the Factors====&lt;br /&gt;
&lt;br /&gt;
Knowing the matrices &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the extra sum of squares for the factors can be calculated.  These are used to calculate the mean squares that are used to obtain the test statistics. Since the experiment design is orthogonal, the partial and sequential extra sum of squares are identical. The extra sum of squares for each effect can be calculated as shown next. As an example, the extra sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares - Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }main\text{ }effect\text{ }of\text{ }A \\ &lt;br /&gt;
= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }A}}={{X}_{\tilde{\ }A}}{{(X_{\tilde{\ }A}^{\prime }{{X}_{\tilde{\ }A}})}^{-1}}X_{\tilde{\ }A}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }A}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. Thus, the sum of squares for the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-549.375 \\ &lt;br /&gt;
= &amp;amp; 105.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the extra sum of squares for the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{AB}}= &amp;amp; {{y}^{\prime }}[H-(1/16)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }AB}}-(1/16)J]y \\ &lt;br /&gt;
= &amp;amp; 654.4375-636.375 \\ &lt;br /&gt;
= &amp;amp; 18.0625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The extra sum of squares for other effects can be obtained in a similar manner.&lt;br /&gt;
&lt;br /&gt;
====Calculation of the Test Statistics====&lt;br /&gt;
&lt;br /&gt;
Knowing the extra sum of squares, the test statistic for the effects can be calculated. For example, the test statistic for the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{AB}}= &amp;amp; \frac{M{{S}_{AB}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{S{{S}_{AB}}/dof(S{{S}_{AB}})}{S{{S}_{E}}/dof(S{{S}_{E}})} \\ &lt;br /&gt;
= &amp;amp; \frac{18.0625/1}{147.5/8} \\ &lt;br /&gt;
= &amp;amp; 0.9797  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{AB}}\,\!&amp;lt;/math&amp;gt; is the mean square for the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.  The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{AB}}=0.9797\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{AB}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.6487 \\ &lt;br /&gt;
= &amp;amp; 0.3513  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that the interaction between honing pressure and number of strokes does not affect the surface finish of the brake drums. Tests for other effects can be carried out in a similar manner. The results are shown in the ANOVA Table in the following figure. The values S, R-sq and R-sq(adj) in the figure indicate how well the model fits the data. The value of S represents the standard error of the model, R-sq represents the coefficient of multiple determination and R-sq(adj) represents the adjusted coefficient of multiple determination. For details on these values refer to [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_8.png|center|799px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
====Calculation of Effect Coefficients====&lt;br /&gt;
&lt;br /&gt;
The estimate of effect coefficients can also be obtained: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{\beta }= &amp;amp; {{({{X}^{\prime }}X)}^{-1}}{{X}^{\prime }}y \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   86.4375  \\&lt;br /&gt;
   2.5625  \\&lt;br /&gt;
   -4.9375  \\&lt;br /&gt;
   1.0625  \\&lt;br /&gt;
   -1.0625  \\&lt;br /&gt;
   2.4375  \\&lt;br /&gt;
   -1.3125  \\&lt;br /&gt;
   -0.1875  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_9.png|center|800px|Regression Information table for the experiment in the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The coefficients and related results are shown in the Regression Information table above. In the table, the Effect column displays the effects, which are simply twice the coefficients. The Standard Error column displays the standard error, &amp;lt;math&amp;gt;se({{\hat{\beta }}_{j}})\,\!&amp;lt;/math&amp;gt;. The Low CI and High CI columns display the confidence interval on the coefficients. The interval shown is the 90% interval as the significance is chosen as 0.1. The T Value column displays the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{0}}\,\!&amp;lt;/math&amp;gt;, corresponding to the coefficients. The P Value column displays the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic. (For details on how these results are calculated, refer to [[General Full Factorial Designs]]). Plots of residuals can also be obtained from DOE++ to ensure that the assumptions related to the ANOVA model are not violated.&lt;br /&gt;
&lt;br /&gt;
====Model Equation====&lt;br /&gt;
&lt;br /&gt;
From the analysis results in the above figure within [[Two_Level_Factorial_Experiments#Calculation_of_Effect_Coefficients|calculation of effect coefficients]] section, it is seen that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; are significant. In DOE++, the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; values for the significant effects are displayed in red in the ANOVA Table for easy identification. Using the values of the estimated effect coefficients, the model for the present &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design in terms of the coded values can be written as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\hat{y}= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{13}}\cdot {{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+2.4375{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the model hierarchical, the main effect, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, needs to be included in the model (because the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is included in the model).  The resulting model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=86.4375+2.5625{{x}_{1}}-4.9375{{x}_{2}}+1.0625{{x}_{3}}+2.4375{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This equation can be viewed in DOE++, as shown in the following figure, using the Show Analysis Summary icon in the Control Panel. The equation shown in the figure will match the hierarchical model once the required terms are selected using the Select Effects icon.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_10.png|center|557px|The model equation for the experiment of the [[Two_Level_Factorial_Experiments#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Replicated and Repeated Runs==&lt;br /&gt;
&lt;br /&gt;
In the case of replicated experiments, it is important to note the difference between replicated runs and repeated runs. Both repeated and replicated runs are multiple response readings taken at the same factor levels. However, repeated runs are response observations taken at the same time or in succession. Replicated runs are response observations recorded in a random order. Therefore, replicated runs include more variation than repeated runs. For example, a baker, who wants to investigate the effect of two factors on the quality of cakes, will have to bake four cakes to complete one replicate of a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design. Assume that the baker bakes eight cakes in all. If, for each of the four treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, the baker selects one treatment at random and then bakes two cakes for this treatment at the same time then this is a case of two repeated runs. If, however, the baker bakes all the eight cakes randomly, then the eight cakes represent two sets of replicated runs.&lt;br /&gt;
For repeated measurements, the average values of the response for each treatment should be entered into DOE++ as shown in the following figure (a) when the two cakes for a particular treatment are baked together. For replicated measurements, when all the cakes are baked randomly, the data is entered as shown in the following figure (b).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.11.png|center|300px|Data entry for repeated and replicated runs. Figure (a) shows repeated runs and (b) shows replicated runs.]]&lt;br /&gt;
&lt;br /&gt;
==Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
If a factorial experiment is run only for a single replicate then it is not possible to test hypotheses about the main effects and interactions as the error sum of squares cannot be obtained.  This is because the number of observations in a single replicate equals the number of terms in the ANOVA model. Hence the model fits the data perfectly and no degrees of freedom are available to obtain the error sum of squares. &lt;br /&gt;
&lt;br /&gt;
However, sometimes it is only possible to run a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design because of constraints on resources and time. In the absence of the error sum of squares, hypothesis tests to identify significant factors cannot be conducted. A number of methods of analyzing information obtained from unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs are available. These include pooling higher order interactions, using the normal probability plot of effects or including center point replicates in the design.&lt;br /&gt;
&lt;br /&gt;
===Pooling Higher Order Interactions===&lt;br /&gt;
&lt;br /&gt;
One of the ways to deal with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is to use the sum of squares of some of the higher order interactions as the error sum of squares provided these higher order interactions can be assumed to be insignificant. By dropping some of the higher order interactions from the model, the degrees of freedom corresponding to these interactions can be used to estimate the error mean square. Once the error mean square is known, the test statistics to conduct hypothesis tests on the factors can be calculated.   &lt;br /&gt;
&lt;br /&gt;
===Normal Probability Plot of Effects===&lt;br /&gt;
Another way to use unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to identify significant effects is to construct the normal probability plot of the effects. As mentioned in [[Two_Level_Factorial_Experiments#Special_Features| Special Features]], the standard error for all effect coefficients in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs is the same. Therefore, on a normal probability plot of effect coefficients, all non-significant effect coefficients (with &amp;lt;math&amp;gt;\beta =0\,\!&amp;lt;/math&amp;gt;) will fall along the straight line representative of the normal distribution, N(&amp;lt;math&amp;gt;0,{{\sigma }^{2}}/({{2}^{k}}\cdot m)\,\!&amp;lt;/math&amp;gt;).  Effect coefficients that show large deviations from this line will be significant since they do not come from this normal distribution. Similarly, since effects &amp;lt;math&amp;gt;=2\times \,\!&amp;lt;/math&amp;gt; effect coefficients, all non-significant effects will also follow a straight line on the normal probability plot of effects. For replicated designs, the Effects Probability plot of DOE++ plots the normalized effect values (or the T Values) on the standard normal probability line, N(0,1). However, in the case of unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs, &amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt; remains unknown since &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; cannot be obtained. Lenth&#039;s method is used in this case to estimate the variance of the effects. For details on Lenth&#039;s method, please refer to [[DOE References| Montgomery (2001)]]. DOE++ then uses this variance value to plot effects along the N(0, Lenth&#039;s effect variance) line. The &lt;br /&gt;
method is illustrated in the following example.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
Vinyl panels, used as instrument panels in a certain automobile, are seen to develop defects after a certain amount of time. To investigate the issue, it is decided to carry out a two level factorial experiment. Potential factors to be investigated in the experiment are vacuum rate (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), material temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), element intensity (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;) and pre-stretch (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;). The two levels of the factors used in the experiment are as shown in below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.1.png|center|300px|Factors to investigate defects in vinyl panels.]]&lt;br /&gt;
&lt;br /&gt;
With a &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design requiring 16 runs per replicate it is only feasible for the manufacturer to run a single replicate.&lt;br /&gt;
&lt;br /&gt;
The experiment design and data, collected as percent defects, are shown in the following figure. Since the present experiment design contains only a single replicate, it is not possible to obtain an estimate of the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;. It is decided to use the normal probability plot of effects to identify the significant effects. The effect values for each term are obtained as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_13.png|center|650px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Lenth&#039;s method uses these values to estimate the variance. As described in [[DOE_References|[Lenth, 1989]]], if all effects are arranged in ascending order, using their absolute values, then &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; is defined as 1.5 times the median value: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{s}_{0}}= &amp;amp; 1.5\cdot median(\left| effect \right|) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 2 \\ &lt;br /&gt;
= &amp;amp; 3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt;, the &amp;quot;pseudo standard error&amp;quot; (&amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt;) is calculated as 1.5 times the median value of all effects that are less than 2.5 &amp;lt;math&amp;gt;{{s}_{0}}\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
PSE= &amp;amp; 1.5\cdot median(\left| effect \right|\ \ :\ \ \left| effect \right|&amp;lt;2.5{{s}_{0}}) \\ &lt;br /&gt;
= &amp;amp; 1.5\cdot 1.5 \\ &lt;br /&gt;
= &amp;amp; 2.25  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &amp;lt;math&amp;gt;PSE\,\!&amp;lt;/math&amp;gt; as an estimate of the effect variance, the effect variance is 2.25. Knowing the effect variance, the normal probability plot of effects for the present unreplicated experiment can be constructed as shown in the following figure. The line on this plot is the line N(0, 2.25). The plot shows that the effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; do not follow the distribution represented by this line. Therefore, these effects are significant. &lt;br /&gt;
&lt;br /&gt;
The significant effects can also be identified by comparing individual effect values to the margin of error or the threshold value using the pareto chart (see the third following figure). If the required significance is 0.1, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;margin\text{ }of\text{ }error={{t}_{\alpha /2,d}}\cdot PSE\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;t\,\!&amp;lt;/math&amp;gt; statistic, &amp;lt;math&amp;gt;{{t}_{\alpha /2,d}}\,\!&amp;lt;/math&amp;gt;, is calculated at a significance of &amp;lt;math&amp;gt;\alpha /2\,\!&amp;lt;/math&amp;gt; (for the two-sided hypothesis) and degrees of freedom &amp;lt;math&amp;gt;d=(\,\!&amp;lt;/math&amp;gt; number of effects &amp;lt;math&amp;gt;)/3\,\!&amp;lt;/math&amp;gt;. Thus:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
margin\text{ }of\text{ }error= &amp;amp; {{t}_{0.05,5}}\cdot PSE \\ &lt;br /&gt;
= &amp;amp; 2.015\cdot 2.25 \\ &lt;br /&gt;
= &amp;amp; 4.534  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of 4.534 is shown as the critical value line in the third following figure. All effects with absolute values greater than the margin of error can be considered to be significant. These effects are &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;. Therefore, the vacuum rate, the pre-stretch and their interaction have a significant effect on the defects of the vinyl panels.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_14.png|center|800px|Effect values for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_15.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_16.png|center|650px|Pareto chart for the experiment in the [[Two_Level_Factorial_Experiments#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Center Point Replicates===&lt;br /&gt;
&lt;br /&gt;
Another method of dealing with unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs that only have quantitative factors is to use replicated runs at the center point.  The center point is the response corresponding to the treatment exactly midway between the two levels of all factors. Running multiple replicates at this point provides an estimate of pure error. Although running multiple replicates at any treatment level can provide an estimate of pure error, the other advantage of running center point replicates in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is in checking for the presence of curvature. The test for curvature investigates whether the model between the response and the factors is linear and is discussed in [[Two_Level_Factorial_Experiments#Using_Center_Point_Replicates_to_Test_Curvature| Center Pt. Replicates to Test Curvature]].&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Get Pure Error====&lt;br /&gt;
&lt;br /&gt;
Consider a &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment design to investigate the effect of two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, on a certain response. The energy consumed when the treatments of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design are run is considerably larger than the energy consumed for the center point run (because at the center point the factors are at their middle levels). Therefore, the analyst decides to run only a single replicate of the design and augment the design by five replicated runs at the center point as shown in the following figure.  The design properties for this experiment are shown in the second following figure. The complete experiment design is shown in the third following figure. The center points can be used in the identification of significant effects as shown next.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.17.png||center|300px|&amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design augmented by five center point runs.]]&lt;br /&gt;
[[Image:doe7_18.png|center|537px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_19.png|center|630px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_3| example]].]] &lt;br /&gt;
&lt;br /&gt;
Since the present &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design is unreplicated, there are no degrees of freedom available to calculate the error sum of squares. By augmenting this design with five center points, the response values at the center points, &amp;lt;math&amp;gt;y_{i}^{c}\,\!&amp;lt;/math&amp;gt;, can be used to obtain an estimate of pure error, &amp;lt;math&amp;gt;S{{S}_{PE}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;{{\bar{y}}^{c}}\,\!&amp;lt;/math&amp;gt; represent the average response for the five replicates at the center. Then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{S}_{PE}}=Sum\text{ }of\text{ }Squares\text{ }for\text{ }center\text{ }points\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{PE}}= &amp;amp; \underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}} \\ &lt;br /&gt;
= &amp;amp; {{(25.2-25.26)}^{2}}+...+{{(25.3-25.26)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; \frac{S{{S}_{PE}}}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
= &amp;amp; \frac{0.052}{5-1} \\ &lt;br /&gt;
= &amp;amp; 0.013  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Alternatively, &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; can be directly obtained by calculating the variance of the response values at the center points:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
M{{S}_{PE}}= &amp;amp; {{s}^{2}} \\ &lt;br /&gt;
= &amp;amp; \frac{\underset{i=1}{\overset{5}{\mathop{\sum }}}\,{{(y_{i}^{c}-{{{\bar{y}}}^{c}})}^{2}}}{5-1}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &amp;lt;math&amp;gt;M{{S}_{PE}}\,\!&amp;lt;/math&amp;gt; is known, it can be used as the error mean square, &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, to carry out the test of significance for each effect. For example, to test the significance of the main effect of factor &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; the sum of squares corresponding to this effect is obtained in the usual manner by considering only the four runs of the original &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{S}_{A}}= &amp;amp; {{y}^{\prime }}[H-(1/4)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }A}}-(1/4)J]y \\ &lt;br /&gt;
= &amp;amp; 0.5625  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, the test statistic to test the significance of the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{({{f}_{0}})}_{A}}= &amp;amp; \frac{M{{S}_{A}}}{M{{S}_{E}}} \\ &lt;br /&gt;
= &amp;amp; \frac{0.5625/1}{0.052/4} \\ &lt;br /&gt;
= &amp;amp; 43.2692  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{A}}=43.2692\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and eight degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{A}}) \\ &lt;br /&gt;
= &amp;amp; 1-0.9972 \\ &lt;br /&gt;
= &amp;amp; 0.0028  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;lt; 0.1, it can be concluded that the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; significantly affects the response. This result is displayed in the ANOVA table as shown in the following figure. Test for the significance of other factors can be carried out in a similar manner.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_20.png|center|649px|Results for the experiment in the [[Two_Level_Factorial_Experiments#Example_3| example]].]]&lt;br /&gt;
&lt;br /&gt;
===Using Center Point Replicates to Test Curvature===&lt;br /&gt;
&lt;br /&gt;
Center point replicates can also be used to check for curvature in replicated or unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs. The test for curvature investigates whether the model between the response and the factors is linear. The way DOE++ handles center point replicates is similar to its handling of blocks. The center point replicates are treated as an additional factor in the model. The factor is labeled as Curvature in the results of DOE++. If Curvature turns out to be a significant factor in the results, then this indicates the presence of curvature in the model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example: Use Center Point to Test Curvature====&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of center point replicates in testing for curvature, consider again the data of the single replicate &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment from a preceding figure(labeled &amp;quot;&amp;lt;math&amp;gt;2^2&amp;lt;/math&amp;gt; design augmented by five center point runs&amp;quot;). Let &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; be the indicator variable to indicate if the run is a center point: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   {{x}_{1}}=0 &amp;amp; {} &amp;amp; \text{Center point run}  \\&lt;br /&gt;
   {{x}_{1}}=1 &amp;amp; {} &amp;amp; \text{Other run}  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; are the indicator variables representing factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively, then the model for this experiment is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}\cdot {{x}_{1}}+{{\beta }_{2}}\cdot {{x}_{2}}+{{\beta }_{3}}\cdot {{x}_{3}}+{{\beta }_{23}}\cdot {{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
To investigate the presence of curvature, the following hypotheses need to be tested:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{H}_{0}}: &amp;amp; {{\beta }_{1}}=0\text{    (Curvature is absent)} \\ &lt;br /&gt;
 &amp;amp; {{H}_{1}}: &amp;amp; {{\beta }_{1}}\ne 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The test statistic to be used for this test is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{({{F}_{0}})}_{curvature}}=\frac{M{{S}_{curvature}}}{M{{S}_{E}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;M{{S}_{curvature}}\,\!&amp;lt;/math&amp;gt; is the mean square for Curvature and &amp;lt;math&amp;gt;M{{S}_{E}}\,\!&amp;lt;/math&amp;gt; is the error mean square.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Sum of Squares&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; matrix and &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; vector for this experiment are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;X=\left[ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; -1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; -1 &amp;amp; 1 &amp;amp; -1  \\&lt;br /&gt;
   1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1 &amp;amp; 1  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
   1 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0 &amp;amp; 0  \\&lt;br /&gt;
\end{matrix} \right]\text{      }y=\left[ \begin{matrix}&lt;br /&gt;
   24.6  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.0  \\&lt;br /&gt;
   25.7  \\&lt;br /&gt;
   25.2  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
   25.4  \\&lt;br /&gt;
   25.1  \\&lt;br /&gt;
   25.3  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares can now be calculated. For example, the error sum of squares is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{E}}= &amp;amp; {{y}^{\prime }}[I-H]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.052  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; is the identity matrix and &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix. It can be seen that this is equal to &amp;lt;math&amp;gt;S{{S}_{PE\text{ }}}\,\!&amp;lt;/math&amp;gt; (the sum of squares due to pure error) because of the replicates at the center point, as obtained in the [[Two_Level_Factorial_Experiments#Example_3| example]]. The number of degrees of freedom associated with &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;dof(S{{S}_{E}})\,\!&amp;lt;/math&amp;gt; is four.  The extra sum of squares corresponding to the center point replicates (or Curvature) is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; Model\text{ }Sum\text{ }of\text{ }Squares- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Sum\text{ }of\text{ }Squares\text{ }of\text{ }model\text{ }excluding\text{ }the\text{ }center\text{ }point \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Curvature}}-(1/9)J]y  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;H\,\!&amp;lt;/math&amp;gt; is the hat matrix and &amp;lt;math&amp;gt;J\,\!&amp;lt;/math&amp;gt; is the matrix of ones. The matrix &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}\,\!&amp;lt;/math&amp;gt; can be calculated using &amp;lt;math&amp;gt;{{H}_{\tilde{\ }Curvature}}={{X}_{\tilde{\ }Curv}}{{(X_{\tilde{\ }Curv}^{\prime }{{X}_{\tilde{\ }Curv}})}^{-1}}X_{\tilde{\ }Curv}^{\prime }\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{\tilde{\ }Curv}}\,\!&amp;lt;/math&amp;gt; is the design matrix, &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt;, excluding the second column that represents the center point. Thus, the extra sum of squares corresponding to Curvature is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; S{{S}_{Curvature}}= &amp;amp; {{y}^{\prime }}[H-(1/9)J]y-{{y}^{\prime }}[{{H}_{\tilde{\ }Center}}-(1/9)J]y \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.7036-0.6875 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This extra sum of squares can be used to test for the significance of curvature. The corresponding mean square is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; M{{S}_{Curvature}}= &amp;amp; \frac{Sum\text{ }of\text{ }squares\text{ }corresponding\text{ }to\text{ }Curvature}{degrees\text{ }of\text{ }freedom} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161}{1} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.0161  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Calculation of the Test Statistic&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Knowing the mean squares, the statistic to check the significance of curvature can be calculated.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{({{f}_{0}})}_{Curvature}}= &amp;amp; \frac{M{{S}_{Curvature}}}{M{{S}_{E}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{0.0161/1}{0.052/4} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1.24  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value corresponding to the statistic, &amp;lt;math&amp;gt;{{({{f}_{0}})}_{Curvature}}=1.24\,\!&amp;lt;/math&amp;gt;, based on the &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; distribution with one degree of freedom in the numerator and four degrees of freedom in the denominator is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; p\text{ }value= &amp;amp; 1-P(F\le {{({{f}_{0}})}_{Curvature}}) \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1-0.6713 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.3287  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the desired significance is 0.1, since &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; value &amp;gt; 0.1, it can be concluded that curvature does not exist for this design. This results is shown in the ANOVA table in the figure above. The surface of the fitted model based on these results, along with the observed response values, is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.21.png|center|400px|Model surface and observed response values for the design in the [[Two_Level_Factorial_Experiments#Example_4| example]].]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Blocking in 2&amp;lt;sup&amp;gt;k&amp;lt;/sup&amp;gt; Designs==&lt;br /&gt;
&lt;br /&gt;
Blocking can be used in the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs to deal with cases when replicates cannot be run under identical conditions. Randomized complete block designs that were discussed in [[Randomization and Blocking in DOE]] for factorial experiments are also applicable here. At times, even with just two levels per factor, it is not possible to run all treatment combinations for one replicate of the experiment under homogeneous conditions. For example, each replicate of the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design requires four runs. If each run requires two hours and testing facilities are available for only four hours per day, two days of testing would be required to run one complete replicate. Blocking can be used to separate the treatment runs on the two different days. Blocks that do not contain all treatments of a replicate are called incomplete blocks. In incomplete block designs, the block effect is confounded with certain effect(s) under investigation.  For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design assume that treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; were run on the first day and treatments &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; were run on the second day. Then, the incomplete block design for this experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 1} &amp;amp; {} &amp;amp; \text{Block 2}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ab  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   b  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this design the block effect may be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Block\text{ }Effect= &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }1- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }for\text{ }Block\text{ }2 \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{(1)+ab}{2}-\frac{a+b}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{low}}}- \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; Average\text{ }response\text{ }at\text{ }{{A}_{\text{low}}}\text{-}{{B}_{\text{high}}}\text{ }and\text{ }{{A}_{\text{high}}}\text{-}{{B}_{\text{low}}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{ab+(1)}{2}-\frac{b+a}{2} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; \frac{1}{2}[(1)+ab-a-b]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The two equations given above show that, in this design, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect cannot be distinguished from the block effect because the formulas to calculate these effects are the same. In other words, the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction is said to be confounded with the block effect and it is not possible to say if the effect calculated based on these equations is due to the &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; interaction effect, the block effect or both. In incomplete block designs some effects are always confounded with the blocks. Therefore, it is important to design these experiments in such a way that the important effects are not confounded with the blocks. In most cases, the experimenter can assume that higher order interactions are unimportant. In this case, it would better to use incomplete block designs that confound these effects with the blocks.&lt;br /&gt;
One way to design incomplete block designs is to use defining contrasts as shown next:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}+...+{{\alpha }_{k}}{{q}_{k}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are the exponents for the factors in the effect that is to be confounded with the block effect and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s are values based on the level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; the factor (in a treatment that is to be allocated to a block). For &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; designs the &amp;lt;math&amp;gt;{{\alpha }_{i}}\,\!&amp;lt;/math&amp;gt; s are either 0 or 1 and the &amp;lt;math&amp;gt;{{q}_{i}}\,\!&amp;lt;/math&amp;gt; s have a value of 0 for the low level of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; th factor and a value of 1 for the high level of the factor in the treatment under consideration. As an example, consider the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design where the interaction effect &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is confounded with the block. Since there are two factors, &amp;lt;math&amp;gt;k=2\,\!&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;i=1\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;i=2\,\!&amp;lt;/math&amp;gt; representing factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value of &amp;lt;math&amp;gt;{{\alpha }_{1}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is one. Similarly, the value of &amp;lt;math&amp;gt;{{\alpha }_{2}}\,\!&amp;lt;/math&amp;gt; is one because the exponent of factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; in the confounded interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; is also one. Therefore, the defining contrast for this design can be written as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{\alpha }_{1}}{{q}_{1}}+{{\alpha }_{2}}{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 1\cdot {{q}_{1}}+1\cdot {{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; {{q}_{1}}+{{q}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the defining contrast is known, it can be used to allocate treatments to the blocks.   For the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; design, there are four treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt;. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. In order to decide which block the treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; belongs to, the levels of factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; for this run are used. Since factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{1}}=0\,\!&amp;lt;/math&amp;gt;. Similarly, since factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is also at the low level in this treatment, &amp;lt;math&amp;gt;{{q}_{2}}=0\,\!&amp;lt;/math&amp;gt;. Therefore:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L= &amp;amp; {{q}_{1}}+{{q}_{2}} \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0+0=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; used to decide the block allocation is &amp;quot;mod 2&amp;quot; of the original value.  This value is obtained by taking the value of 1 for odd numbers and 0 otherwise. Based on the value of &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt;, treatment &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; is assigned to block 1. Other treatments can be assigned using the following calculations:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; (1): &amp;amp; \text{ }L=0+0=0=0\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; a: &amp;amp; \text{ }L=1+0=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; b: &amp;amp; \text{ }L=0+1=1=1\text{ (mod 2)} \\ &lt;br /&gt;
 &amp;amp; ab: &amp;amp; \text{ }L=1+1=2=0\text{ (mod 2)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, to confound the interaction &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; with the block effect in the &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; incomplete block design, treatments &amp;lt;math&amp;gt;(1)\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt;) should be assigned to block 2 and treatment combinations &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; (with &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt;) should be assigned to block 1.&lt;br /&gt;
&lt;br /&gt;
====Example: Two Level Factorial Design with Two Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how treatments can be allocated to two blocks for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design. Consider the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design to investigate the four factors affecting the defects in automobile vinyl panels discussed in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments required for this experiment were run by two different operators with each operator conducting 8 runs. This experiment is an example of an incomplete block design. The analyst in charge of this experiment assumed that the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; was not significant and decided to allocate treatments to the two operators so that the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction was confounded with the block effect (the two operators are the blocks). The allocation scheme to assign treatments to the two operators can be obtained as follows.&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
The defining contrast for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design where the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is confounded with the blocks is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L={{q}_{1}}+{{q}_{2}}+{{q}_{3}}+{{q}_{4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The treatments can be allocated to the two operators using the values of the defining contrast. Assume that &amp;lt;math&amp;gt;L=0\,\!&amp;lt;/math&amp;gt; represents block 2 and &amp;lt;math&amp;gt;L=1\,\!&amp;lt;/math&amp;gt; represents block 1. Then the value of the defining contrast for treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;a\ \ :\ \ \text{ }L=1+0+0+0=1=1\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, treatment &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt; should be assigned to Block 1 or the first operator. Similarly, for treatment &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; we have:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;ab\ \ :\ \ \text{ }L=1+1+0+0=2=0\text{ (mod 2)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.22.png|center|200px| Allocation of treatments to two blocks for the &amp;lt;math&amp;gt;2^4&amp;lt;/math&amp;gt; design in the example by confounding interaction of &amp;lt;math&amp;gt;ABCD&amp;lt;/math&amp;gt; with the blocks.]]&lt;br /&gt;
&lt;br /&gt;
Therefore, &amp;lt;math&amp;gt;ab\,\!&amp;lt;/math&amp;gt; should be assigned to Block 2 or the second operator. Other treatments can be allocated to the two operators in a similar manner to arrive at the allocation scheme shown in the figure below. &lt;br /&gt;
In DOE++, to confound the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction for the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design into two blocks, the number of blocks are specified as shown in the figure below. Then the interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; is entered in the Block Generator window (second following figure) which is available using the Block Generator button in the following figure. The design generated by DOE++ is shown in the third of the following figures. This design matches the allocation scheme of the preceding figure.  &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_23.png|center|700px| Adding block properties for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_24.png|center|700px|Specifying the interaction ABCD as the interaction to be confounded with the blocks for the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_25.png|center|800px|Two block design for the experiment in the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
For the analysis of this design, the sum of squares for all effects are calculated assuming no blocking. Then, to account for blocking, the sum of squares corresponding to the &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; interaction is considered as the sum of squares due to blocks and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;. In DOE++ this is done by displaying this sum of squares as the sum of squares due to the blocks. This is shown in the following figure where the sum of squares in question is obtained as 72.25 and is displayed against Block. The interaction ABCD, which is confounded with the blocks, is not displayed. Since the design is unreplicated, any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_26.png|center|793px|ANOVA table for the experiment of the [[Two_Level_Factorial_Experiments#Example_5| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
===Unreplicated 2&amp;lt;sup&amp;gt;&#039;&#039;k&#039;&#039;&amp;lt;/sup&amp;gt; Designs in 2&amp;lt;sup&amp;gt;&#039;&#039;p&#039;&#039;&amp;lt;/sup&amp;gt; Blocks===&lt;br /&gt;
&lt;br /&gt;
A single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design can be run in up to &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks where &amp;lt;math&amp;gt;p&amp;lt;k\,\!&amp;lt;/math&amp;gt;. The number of effects confounded with the blocks equals the degrees of freedom associated with the block effect. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If two blocks are used (the block effect has two levels), then one (&amp;lt;math&amp;gt;2-1=1)\,\!&amp;lt;/math&amp;gt; effect is confounded with the blocks. If four blocks are used, then three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) effects are confounded with the blocks and so on.  For example an unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design may be confounded in &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; (four) blocks using two contrasts, &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}}\,\!&amp;lt;/math&amp;gt;. Let &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; be the effects to be confounded with the blocks. Corresponding to these two effects, the contrasts are respectively:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{L}_{1}}= &amp;amp; {{q}_{1}}+{{q}_{3}} \\ &lt;br /&gt;
 &amp;amp; {{L}_{2}}= &amp;amp; {{q}_{2}}+{{q}_{4}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Based on the values of &amp;lt;math&amp;gt;{{L}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{2}},\,\!&amp;lt;/math&amp;gt; the treatments can be assigned to the four blocks as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{matrix}&lt;br /&gt;
   \text{Block 4} &amp;amp; {} &amp;amp; \text{Block 3} &amp;amp; {} &amp;amp; \text{Block 2} &amp;amp; {} &amp;amp; \text{Block 1}  \\&lt;br /&gt;
   {{L}_{1}}=0,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=0 &amp;amp; {} &amp;amp; {{L}_{1}}=0,{{L}_{2}}=1 &amp;amp; {} &amp;amp; {{L}_{1}}=1,{{L}_{2}}=1  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {}  \\&lt;br /&gt;
   \left[ \begin{matrix}&lt;br /&gt;
   (1)  \\&lt;br /&gt;
   ac  \\&lt;br /&gt;
   bd  \\&lt;br /&gt;
   abcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   a  \\&lt;br /&gt;
   c  \\&lt;br /&gt;
   abd  \\&lt;br /&gt;
   bcd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   b  \\&lt;br /&gt;
   abc  \\&lt;br /&gt;
   d  \\&lt;br /&gt;
   acd  \\&lt;br /&gt;
\end{matrix} \right] &amp;amp; {} &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   ab  \\&lt;br /&gt;
   bc  \\&lt;br /&gt;
   ad  \\&lt;br /&gt;
   cd  \\&lt;br /&gt;
\end{matrix} \right]  \\&lt;br /&gt;
\end{matrix}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the block effect has three degrees of freedom, three effects are confounded with the block effect. In addition to &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt;, the third effect confounded with the block effect is their generalized interaction, &amp;lt;math&amp;gt;(AC)(BD)=ABCD\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
In general, when an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design is confounded in &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks, &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts are needed (&amp;lt;math&amp;gt;{{L}_{1}},{{L}_{2}}...{{L}_{p}}\,\!&amp;lt;/math&amp;gt;). &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects are selected to define these contrasts such that none of these effects are the generalized interaction of the others. The &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; blocks can then be assigned the treatments using the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; contrasts. &amp;lt;math&amp;gt;{{2}^{p}}-(p+1)\,\!&amp;lt;/math&amp;gt; effects, that are also confounded with the blocks, are then obtained as the generalized interaction of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; effects. In the statistical analysis of these designs, the sum of squares are computed as if no blocking were used. Then the block sum of squares is obtained by adding the sum of squares for all the effects confounded with the blocks.&lt;br /&gt;
&lt;br /&gt;
====Example: 2 Level Factorial Design with Four Blocks====&lt;br /&gt;
&lt;br /&gt;
This example illustrates how DOE++ obtains the sum of squares when treatments for an unreplicated &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design are allocated among four blocks. Consider again the unreplicated &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design used to investigate the defects in automobile vinyl panels presented in [[Two_Level_Factorial_Experiments#Normal_Probability_Plot_of_Effects| Normal Probability Plot of Effects]]. Assume that the 16 treatments needed to complete the experiment were run by four operators. Therefore, there are four blocks. Assume that the treatments were allocated to the blocks using the generators mentioned in the previous section, i.e., treatments were allocated among the four operators by confounding the effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BD,\,\!&amp;lt;/math&amp;gt; with the blocks. These effects can be specified as Block Generators as shown in the following figure. (The generalized interaction of these two effects, interaction &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, will also get confounded with the blocks.) The resulting design is shown in the second following figure and matches the allocation scheme obtained in the previous section.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_27.png|center|700px|Specifying the interactions AC and BD as block generators for the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The sum of squares in this case can be obtained by calculating the sum of squares for each of the effects assuming there is no blocking. Once the individual sum of squares have been obtained, the block sum of squares can be calculated. The block sum of squares is the sum of the sum of squares of effects, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, since these effects are confounded with the block effect. As shown in the second following figure, this sum of squares is 92.25 and is displayed against Block.  The interactions &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt;, which are confounded with the blocks, are not displayed.  Since the present design is unreplicated any of the methods to analyze unreplicated designs mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] have to be used to identify significant effects.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_28.png|center|800px|Design for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_29.png|center|793px|ANOVA table for the experiment in the [[Two_Level_Factorial_Experiments#Example_6| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Variability Analysis==&lt;br /&gt;
&lt;br /&gt;
For replicated two level factorial experiments, DOE++ provides the option of conducting variability analysis (using the Variability Analysis icon under the Data menu). The analysis is used to identify the treatment that results in the least amount of variation in the product or process being investigated. Variability analysis is conducted by treating the standard deviation of the response for each treatment of the experiment as an additional response. The standard deviation for a treatment is obtained by using the replicated response values at that treatment run. As an example, consider the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design shown in the following figure where each run is replicated four times. A variability analysis can be conducted for this design. DOE++ calculates eight standard deviation values corresponding to each treatment of the design (see second following figure). Then, the design is analyzed as an unreplicated &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design with the standard deviations (displayed as Y Standard Deviation. in second following figure) as the response. The normal probability plot of effects identifies &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; as the effect that influences variability (see third figure following). Based on the effect coefficients obtained in the fourth figure following, the model for Y Std. is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Y Std}\text{.}= &amp;amp; 0.6779+0.2491\cdot AC \\ &lt;br /&gt;
 &amp;amp; = &amp;amp; 0.6779+0.2491{{x}_{1}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the model, the experimenter has two choices to minimize variability (by minimizing Y Std.). The first choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the high level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the low level). The second choice is that &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; should be set at the low level) and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; should be &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; (i.e., &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; should be set at the high level). The experimenter can select the most feasible choice.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.30.png|center|391px|A &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design with four replicated response values that can be used to conduct a variability analysis.]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_31.png|center|727px|Variability analysis in DOE++.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_32.png|center|650px|Normal probability plot of effects for the variability analysis example.|link=]]&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_33.png|center|727px|Effect coefficients for the variability analysis example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Two Level Fractional Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
As the number of factors in a two level factorial design increases, the number of runs for even a single replicate of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design becomes very large. For example, a single replicate of an eight factor two level experiment would require 256 runs. Fractional factorial designs can be used in these cases to draw out valuable conclusions from fewer runs. The basis of fractional factorial designs is the &#039;&#039;sparsity of effects&#039;&#039; principle.[[DOE_References|[Wu, 2000]]] The principle states that, most of the time, responses are affected by a small number of main effects and lower order interactions, while higher order interactions are relatively unimportant. Fractional factorial designs are used as screening experiments during the initial stages of experimentation. At these stages, a large number of factors have to be investigated and the focus is on the main effects and two factor interactions. These designs obtain information about main effects and lower order interactions with fewer experiment runs by confounding these effects with unimportant higher order interactions. As an example, consider a &amp;lt;math&amp;gt;{2}^{8}\,\!&amp;lt;/math&amp;gt; design that requires 256 runs. This design allows for the investigation of 8 main effects and 28 two factor interactions. However, 219 degrees of freedom are devoted to three factor or higher order interactions. This full factorial design can prove to be very inefficient when these higher order interactions can be assumed to be unimportant. Instead, a fractional design can be used here to identify the important factors that can then be investigated more thoroughly in subsequent experiments. In unreplicated fractional factorial designs, no degrees of freedom are available to calculate the error sum of squares and the techniques mentioned in [[Two_Level_Factorial_Experiments#Unreplicated_2__Designs_in_2__Blocks| Unreplicated &amp;lt;math&amp;gt;2^k&amp;lt;/math&amp;gt; designs]] should be employed for the analysis of these designs.&lt;br /&gt;
&lt;br /&gt;
==Half-fraction Designs==&lt;br /&gt;
&lt;br /&gt;
A half-fraction of the &amp;lt;math&amp;gt;{2}^{k}\,\!&amp;lt;/math&amp;gt; design involves running only half of the treatments of the full factorial design. For example, consider a &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that requires eight runs in all. The design matrix for this design is shown in the figure (a) below. A half-fraction of this design is the design in which only four of the eight treatments are run. The fraction is denoted as &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; with the &amp;quot;&amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;&amp;quot; in the index denoting a half-fraction. Assume that the treatments chosen for the half-fraction design are the ones where the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is at the high level (i.e., only those rows are chosen from the following figure (a) where the column for &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; has entries of 1). The resulting &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design has a design matrix as shown in figure (b) below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.34.png|center|330px|Half-fractions of the &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design. (a) shows the full factorial &amp;lt;math&amp;gt;2^3\,\!&amp;lt;/math&amp;gt; design, (b) shows the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and (c) shows the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
In the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design of figure (b), since the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; is always included at the same level (the high level represented by 1), it is not possible to measure this interaction effect. The effect, &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, is called the &#039;&#039;generator&#039;&#039; or &#039;&#039;word&#039;&#039; for this design. It can be noted that, in the design matrix of the following figure (b), the column corresponding to the intercept, &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;, and column corresponding to the interaction &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;, are identical. The identical columns are written as &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt; and this equation is called the &#039;&#039;defining relation&#039;&#039; for the design. In DOE++, the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be obtained by specifying the design properties as shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_35.png|center|700px|Design properties for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
The defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, is entered in the Fraction Generator window as shown next. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_36.png|center|700px|Specifying the defining relation for the &amp;lt;math&amp;gt;2^{3-1}\,\!&amp;lt;/math&amp;gt; design.|link=]]&lt;br /&gt;
&lt;br /&gt;
Note that in the figure following that, the defining relation is specified as &amp;lt;math&amp;gt;C=AB\,\!&amp;lt;/math&amp;gt;. This relation is obtained by multiplying the defining relation, &amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;, by the last factor, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, of the design.  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Effects===&lt;br /&gt;
&lt;br /&gt;
Using the four runs of the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design in figure (b) discussed above, the main effects can be calculated as follows: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;a\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;c\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;abc\,\!&amp;lt;/math&amp;gt; are the treatments included in the &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the two factor interactions can also be obtained as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; BC= &amp;amp; \frac{(a+abc)}{2}-\frac{(b+c)}{2}=\frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; \frac{(b+abc)}{2}-\frac{(a+c)}{2}=\frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; \frac{(c+abc)}{2}-\frac{(a+b)}{2}=\frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equations for &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; above result in the same effect values showing that effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt; are confounded in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design. Thus, the quantity, &amp;lt;math&amp;gt;\tfrac{1}{2}(a-b-c+abc),\,\!&amp;lt;/math&amp;gt; estimates &amp;lt;math&amp;gt;A+BC\,\!&amp;lt;/math&amp;gt; (i.e., both the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and the two-factor interaction &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;). The effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; are called &#039;&#039;aliases&#039;&#039;. From the remaining equations given above, it can be seen that the other aliases for this design are &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. Therefore, the equations to calculate the effects in the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be written as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A+BC= &amp;amp; \frac{1}{2}(a-b-c+abc) \\ &lt;br /&gt;
 &amp;amp; B+AC= &amp;amp; \frac{1}{2}(-a+b-c+abc) \\ &lt;br /&gt;
 &amp;amp; C+AB= &amp;amp; \frac{1}{2}(-a-b+c+abc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
Aliases for a fractional factorial design can be obtained using the defining relation for the design. The defining relation for the present &amp;lt;math&amp;gt;{2}^{3-1}\,\!&amp;lt;/math&amp;gt; design is:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Multiplying both sides of the previous equation by the main effect, &amp;lt;math&amp;gt;A,\,\!&amp;lt;/math&amp;gt; gives the alias effect of &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; :&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that in calculating the alias effects, any effect multiplied by &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; remains the same (&amp;lt;math&amp;gt;A\cdot I=A\,\!&amp;lt;/math&amp;gt;), while an effect multiplied by itself results in &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{A}^{2}}=I\,\!&amp;lt;/math&amp;gt;). Other aliases can also be obtained:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B\cdot I= &amp;amp; B\cdot ABC \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; A{{B}^{2}}C \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:and:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; C\cdot I= &amp;amp; C\cdot ABC \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB{{C}^{2}} \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; AB  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Fold-over Design===&lt;br /&gt;
&lt;br /&gt;
If it can be assumed for this design that the two-factor interactions are unimportant, then in the absence of &amp;lt;math&amp;gt;BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, the equations for (A+BC), (B+AC) and (C+AB) can be used to estimate the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, respectively. However, if such an assumption is not applicable, then to uncouple the main effects from their two factor aliases, the alternate fraction that contains runs having &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; at the lower level should be run.  The design matrix for this design is shown in the preceding figure (c). The defining relation for this design is &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; because the four runs for this design are obtained by selecting the rows of the preceding figure (a) for which the value of the &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt; column is &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. The aliases for this fraction can be obtained as explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]] as &amp;lt;math&amp;gt;A=-BC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B=-AC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C=-AB\,\!&amp;lt;/math&amp;gt;. The effects for this design can be calculated as:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A-BC= &amp;amp; \frac{1}{2}(ab+ac-(1)-bc) \\ &lt;br /&gt;
 &amp;amp; B-AC= &amp;amp; \frac{1}{2}(ab-ac+(1)-bc) \\ &lt;br /&gt;
 &amp;amp; C-AB= &amp;amp; \frac{1}{2}(-ab+ac-(1)+bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
These equations can be combined with the equations for (A+BC), (B+AC) and (C+AB) to obtain the de-aliased main effects and two factor interactions. For example, adding equations (A+BC) and (A-BC) returns the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; 2A= &amp;amp; \frac{1}{2}(a-b-c+abc)+ \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; \frac{1}{2}(ab+ac-(1)-bc)  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The process of augmenting a fractional factorial design by a second fraction of the same size by simply reversing the signs (of all effect columns except &amp;lt;math&amp;gt;I\,\!&amp;lt;/math&amp;gt;) is called &#039;&#039;folding over&#039;&#039;. The combined design is referred to as a &#039;&#039;fold-over design&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
==Quarter and Smaller Fraction Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the number of runs even for a half-fraction design are very large. In these cases, smaller fractions are used. A quarter-fraction design, denoted as &amp;lt;math&amp;gt;{2}^{k-2}\,\!&amp;lt;/math&amp;gt;, consists of a fourth of the runs of the full factorial design. Quarter-fraction designs require two defining relations. The first defining relation returns the half-fraction or the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design. The second defining relation selects half of the runs of the &amp;lt;math&amp;gt;{2}^{k-1}\,\!&amp;lt;/math&amp;gt; design to give the quarter-fraction. For example, consider the &amp;lt;math&amp;gt;{2}^{4}\,\!&amp;lt;/math&amp;gt; design. To obtain a &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design from this design, first a half-fraction of this design is obtained by using a defining relation. Assume that the defining relation used is &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;. The design matrix for the resulting &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design is shown in figure (a) below. Now, a quarter-fraction can be obtained from the &amp;lt;math&amp;gt;{2}^{4-1}\,\!&amp;lt;/math&amp;gt; design shown in figure (a) below using a second defining relation &amp;lt;math&amp;gt;I=AD\,\!&amp;lt;/math&amp;gt;. The resulting &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design obtained is shown in figure (b) below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.37.png|center|465px|Fractions of the &amp;lt;math&amp;gt;2^4\,\!&amp;lt;/math&amp;gt; design - Figure (a) shows the &amp;lt;math&amp;gt;2^{4-1}&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt; and (b) shows the &amp;lt;math&amp;gt;2^{4-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete defining relation for this &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design is: &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the effect, &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; in the defining relation is the generalized interaction of &amp;lt;math&amp;gt;ABCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; and is obtained using &amp;lt;math&amp;gt;(ABCD)(AD)={{A}^{2}}BC{{D}^{2}}=BC\,\!&amp;lt;/math&amp;gt;. In general, a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; fractional factorial design requires &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators. The defining relation for the design consists of the &amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; independent generators and their &amp;lt;math&amp;gt;{2}^{p}\,\!&amp;lt;/math&amp;gt; - (&amp;lt;math&amp;gt;p\,\!&amp;lt;/math&amp;gt; +1) generalized interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Calculation of Aliases===&lt;br /&gt;
&lt;br /&gt;
The alias structure for the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design can be obtained using the defining relation of equation (I=ABCD=AD=BC) following the procedure explained in [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction Designs]]. For example, multiplying the defining relation by &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; returns the effects aliased with the main effect, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, as follows:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A\cdot I= &amp;amp; A\cdot ABCD=A\cdot AD=A\cdot BC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; {{A}^{2}}BCD={{A}^{2}}D=ABC \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD=D=ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, in the present &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, it is not possible to distinguish between effects &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;BCD\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;ABC\,\!&amp;lt;/math&amp;gt;. Similarly, multiplying the defining relation by &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt; returns the effects that are aliased with these effects:&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; B= &amp;amp; ACD=ABD=C \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD=AD=AC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other aliases can be obtained in a similar way. It can be seen that each effect in this design has three aliases. In general, each effect in a &amp;lt;math&amp;gt;{2}^{k-p}\,\!&amp;lt;/math&amp;gt; design has &amp;lt;math&amp;gt;{2}^{p-1}\,\!&amp;lt;/math&amp;gt; aliases.&lt;br /&gt;
The aliases for the &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design show that in this design the main effects are aliased with each other (&amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; is aliased with &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;). Therefore, this design is not a useful design and is not available in DOE++. It is important to ensure that main effects and lower order interactions of interest are not aliased in a fractional factorial design. This is known by looking at the resolution of the fractional factorial design.&lt;br /&gt;
&lt;br /&gt;
==Design Resolution==&lt;br /&gt;
&lt;br /&gt;
The resolution of a fractional factorial design is defined as the number of factors in the lowest order effect in the defining relation. For example, in the defining relation &amp;lt;math&amp;gt;I=ABCD=AD=BC\,\!&amp;lt;/math&amp;gt; of the previous &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design, the lowest-order effect is either &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;BC,\,\!&amp;lt;/math&amp;gt; containing two factors. Therefore, the resolution of this design is equal to two. The resolution of a fractional factorial design is represented using Roman numerals. For example, the previously mentioned &amp;lt;math&amp;gt;{2}^{4-2}\,\!&amp;lt;/math&amp;gt; design with a resolution of two can be represented as 2 &amp;lt;math&amp;gt;_{\text{II}}^{4-2}\,\!&amp;lt;/math&amp;gt;. The resolution provides information about the confounding in the design as explained next:&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
#&#039;&#039;&#039;Resolution III Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has three factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-2}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE=ABC=CDE\,\!&amp;lt;/math&amp;gt;). In resolution III designs, no main effects are aliased with any other main effects, but main effects are aliased with two factor interactions. In addition, some two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution IV Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs, the lowest order effect in the defining relation has four factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABDE\,\!&amp;lt;/math&amp;gt;). In resolution IV designs, no main effects are aliased with any other main effects or two factor interactions. However, some main effects are aliased with three factor interactions and the two factor interactions are aliased with each other.&lt;br /&gt;
#&#039;&#039;&#039;Resolution V Designs&#039;&#039;&#039;&amp;lt;br&amp;gt;In these designs the lowest order effect in the defining relation has five factors (e.g., a &amp;lt;math&amp;gt;{2}^{5-1}\,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABCDE\,\!&amp;lt;/math&amp;gt;). In resolution V designs, no main effects or two factor interactions are aliased with any other main effects or two factor interactions. However, some main effects are aliased with four factor interactions and the two factor interactions are aliased with three factor interactions.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fractional factorial designs with the highest resolution possible should be selected because the higher the resolution of the design, the less severe the degree of confounding. In general, designs with a resolution less than III are never used because in these designs some of the main effects are aliased with each other. The table below shows fractional factorial designs with the highest available resolution for three to ten factor designs along with their defining relations. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.3.png|center|474px|Highest resolution designs available for fractional factorial designs with 3 to 10 factors.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All of the two level fractional factorial designs available in DOE++ are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7.38.png|center|471px|Two level fractional factorial designs available in DOE++ and their resolutions.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Minimum Aberration Designs===&lt;br /&gt;
At times, different designs with the same resolution but different aliasing may be available. The best design to select in such a case is the minimum aberration design. For example, all &amp;lt;math&amp;gt;{2}^{7-2}\,\!&amp;lt;/math&amp;gt; designs in the fourth table have a resolution of four (since the generator with the minimum number of factors in each design has four factors). Design &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; has three generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;BCDG,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADFG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;2\,\!&amp;lt;/math&amp;gt; has two generators of length four (&amp;lt;math&amp;gt;ABCF,\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;ADEG\,\!&amp;lt;/math&amp;gt;). Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has one generator of length four (&amp;lt;math&amp;gt;CEFG\,\!&amp;lt;/math&amp;gt;). Therefore, design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; has the least number of generators with the minimum length of four. Design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is called the minimum aberration design. It can be seen that the alias structure for design &amp;lt;math&amp;gt;3\,\!&amp;lt;/math&amp;gt; is less involved compared to the other designs. For details refer to [[DOE_References|[Wu, 2000]]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet7.4.png|center|432px|Three &amp;lt;math&amp;gt;2_{IV}^{7-2}\,\!&amp;lt;/math&amp;gt; designs with different defining relations.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
The design of an automobile fuel cone is thought to be affected by six factors in the manufacturing process: cavity temperature (factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;), core temperature (factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;), melt temperature (factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;), hold pressure (factor &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;), injection speed (factor &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;) and cool time (factor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;). The manufacturer of the fuel cone is unable to run the &amp;lt;math&amp;gt;{2}^{6}=64\,\!&amp;lt;/math&amp;gt; runs required to complete one replicate for a two level full factorial experiment with six factors. Instead, they decide to run a fractional factorial design. Considering that three factor and higher order interactions are likely to be inactive, the manufacturer selects a &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design that will require only 16 runs. The manufacturer chooses the resolution IV design which will ensure that all main effects are free from aliasing (assuming three factor and higher order interactions are absent). However, in this design the two factor interactions may be aliased with each other. It is decided that, if important two factor interactions are found to be present, additional experiment trials may be conducted to separate the aliased effects. The performance of the fuel cone is measured on a scale of 1 to 15. In DOE++, the design for this experiment is set up using the properties shown in the following figure. The Fraction Generators for the design, &amp;lt;math&amp;gt;E=ABC\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F=BCD\,\!&amp;lt;/math&amp;gt;, are the same as the defaults used in DOE++. The resulting &amp;lt;math&amp;gt;{2}^{6-2}\,\!&amp;lt;/math&amp;gt; design and the corresponding response values are shown in the following two figures.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_39.png|center|644px|Design properties for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_40.png|center|534px|Experiment design for the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The complete alias structure for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{6-2}\,\!&amp;lt;/math&amp;gt; design is shown next.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;I=ABCE=ADEF=BCDF\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; BCE=DEF=ABCDF \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACE=CDF=ABDEF \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABE=BDF=ACDEF \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; AEF=BCF=ABCDE \\ &lt;br /&gt;
 &amp;amp; E= &amp;amp; ABC=ADF=BCDEF \\ &lt;br /&gt;
 &amp;amp; F= &amp;amp; ADE=BCD=ABCEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; AB= &amp;amp; CE=ACDF=BDEF \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BE=ABDF=CDEF \\ &lt;br /&gt;
 &amp;amp; AD= &amp;amp; EF=ABCF=BCDE \\ &lt;br /&gt;
 &amp;amp; AE= &amp;amp; BC=DF=ABCDEF \\ &lt;br /&gt;
 &amp;amp; AF= &amp;amp; DE=ABCD=BCEF \\ &lt;br /&gt;
 &amp;amp; BD= &amp;amp; CF=ABEF=ACDE \\ &lt;br /&gt;
 &amp;amp; BF= &amp;amp; CD=ABDE=ACEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; ABD= &amp;amp; ACF=BEF=CDE \\ &lt;br /&gt;
 &amp;amp; ABF= &amp;amp; ACD=BDE=CEF  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In DOE++, the alias structure is displayed in the Design Summary and as part of the Design Evaluation result, as shown next:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_41.png|center|700px|Alias structure for the experiment design in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this unreplicated design shows the main effects of factors &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; and the interaction effect, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, to be significant (see the following figure). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_42.png|center|650px|Normal probability plot of effects for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure, it can be seen that for the present design interaction effect, &amp;lt;math&amp;gt;BF,\,\!&amp;lt;/math&amp;gt; is confounded with &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Therefore, the actual source of this effect cannot be known on the basis of the present experiment. However because neither factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; nor &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; is found to be significant there is an indication the observed effect is likely due to interaction, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. To confirm this, a follow-up &amp;lt;math&amp;gt;{2}^{2}\,\!&amp;lt;/math&amp;gt; experiment is run involving only factors &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt;. The interaction, &amp;lt;math&amp;gt;BF\,\!&amp;lt;/math&amp;gt;, is found to be inactive, leading to the conclusion that the interaction effect in the original experiment is effect, &amp;lt;math&amp;gt;CD\,\!&amp;lt;/math&amp;gt;. Given these results, the fitted regression model for the fuel cone design as per the coefficients obtained from DOE++ is shown next.&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=7.6875+C+2\cdot D+2.1875\cdot CD\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe7_43.png|center|700px|Effect coefficients for the experiment in the [[Two_Level_Factorial_Experiments#Example_7| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Projection==&lt;br /&gt;
&lt;br /&gt;
Projection refers to the reduction of a fractional factorial design to a full factorial design by dropping out some of the factors of the design. Any fractional factorial design of resolution, &amp;lt;math&amp;gt;R,\,\!&amp;lt;/math&amp;gt; can be reduced to complete factorial designs in any subset of &amp;lt;math&amp;gt;R-1\,\!&amp;lt;/math&amp;gt; factors. For example, consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. The resolution of this design is four. Therefore, this design can be reduced to full factorial designs in any three (&amp;lt;math&amp;gt;4-1=3\,\!&amp;lt;/math&amp;gt;) of the original seven factors (by dropping the remaining four of factors). Further, a fractional factorial design can also be reduced to a full factorial design in any &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; of the original factors, as long as these &amp;lt;math&amp;gt;R\,\!&amp;lt;/math&amp;gt; factors are not part of the generator in the defining relation. Again consider the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. This design can be reduced to a full factorial design in four factors provided these four factors do not appear together as a generator in the defining relation. The complete defining relation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCE=BCDF=ACDG=ADEF=ABFG=BDEG=CEFG  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, there are seven four factor combinations out of the 35 (&amp;lt;math&amp;gt;(_{7}^{4})=35\,\!&amp;lt;/math&amp;gt;) possible four-factor combinations that are used as generators in the defining relation. The designs with the remaining 28 four factor combinations would be full factorial 16-run designs. For example, factors &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt; do not occur as a generator in the defining relation of the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design. If the remaining factors, &amp;lt;math&amp;gt;E\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;G\,\!&amp;lt;/math&amp;gt;, are dropped, the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{7-3}\,\!&amp;lt;/math&amp;gt; design will reduce to a full factorial design in &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
==Resolution III Designs==&lt;br /&gt;
&lt;br /&gt;
At times, the factors to be investigated in screening experiments are so large that even running a fractional factorial design is impractical. This can be partially solved by using resolution III fractional factorial designs in the cases where three factor and higher order interactions can be assumed to be unimportant. Resolution III designs, such as the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design, can be used to estimate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using just &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, the main effects are aliased with two factor interactions. Once the results from these designs are obtained, and knowing that three factor and higher order interactions are unimportant, the experimenter can decide if there is a need to run a fold-over design to de-alias the main effects from the two factor interactions. Thus, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design can be used to investigate three factors in four runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design can be used to investigate seven factors in eight runs, the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design can be used to investigate fifteen factors in sixteen runs and so on.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
&lt;br /&gt;
{{:Resolution_III_Design_Example}}&lt;br /&gt;
&lt;br /&gt;
==Alias Matrix==&lt;br /&gt;
In [[Two_Level_Factorial_Experiments#Half-fraction_Designs| Half-fraction designs]] and [[Two_Level_Factorial_Experiments#Quarter_and_Smaller_Fraction_Designs| Quarter and Smaller Fraction Designs]], the alias structure for fractional factorial designs was obtained using the defining relation. However, this method of obtaining the alias structure is not very efficient when the alias structure is very complex or when partial aliasing is involved.  One of the ways to obtain the alias structure for any design, regardless of its complexity, is to use the alias matrix. The alias matrix for a design is calculated using &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is the portion of the design matrix, &amp;lt;math&amp;gt;X,\,\!&amp;lt;/math&amp;gt; that contains the effects for which the aliases need to be calculated, and &amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; contains the remaining columns of the design matrix, other than those included in &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of the alias matrix, consider the design matrix for the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design (using the defining relation &amp;lt;math&amp;gt;I=ABCD\,\!&amp;lt;/math&amp;gt;) shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__879.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias structure for this design can be obtained by defining &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; using eight columns since the 2 &amp;lt;math&amp;gt;_{\text{IV}}^{4-1}\,\!&amp;lt;/math&amp;gt; design estimates eight effects. If the first eight columns of &amp;lt;math&amp;gt;X\,\!&amp;lt;/math&amp;gt; are used then &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__884.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is obtained using the remaining columns as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__886.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the alias matrix &amp;lt;math&amp;gt;{{(X_{1}^{\prime }{{X}_{1}})}^{-1}}X_{1}^{\prime }{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Chapter7__888.png|center|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The alias relations can be easily obtained by observing the alias matrix as:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;center&amp;gt;&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; I= &amp;amp; ABCD \\ &lt;br /&gt;
 &amp;amp; A= &amp;amp; BCD \\ &lt;br /&gt;
 &amp;amp; B= &amp;amp; ACD \\ &lt;br /&gt;
 &amp;amp; AB= &amp;amp; CD \\ &lt;br /&gt;
 &amp;amp; C= &amp;amp; ABD \\ &lt;br /&gt;
 &amp;amp; AC= &amp;amp; BD \\ &lt;br /&gt;
 &amp;amp; BC= &amp;amp; AD \\ &lt;br /&gt;
 &amp;amp; D= &amp;amp; ABC  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&amp;lt;/center&amp;gt;&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Highly_Fractional_Factorial_Designs&amp;diff=65225</id>
		<title>Highly Fractional Factorial Designs</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Highly_Fractional_Factorial_Designs&amp;diff=65225"/>
		<updated>2017-08-10T17:23:16Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|9}}&lt;br /&gt;
This chapter discusses factorial designs that are commonly used in designed experiments, but are not necessarily limited to two level factors. These designs are the [[Highly_Fractional_Factorial_Designs#Plackett-Burman_Designs|Plackett-Burman designs]] and [[Highly_Fractional_Factorial_Designs#Taguchi.27s_Orthogonal_Arrays|Taguchi&#039;s orthogonal arrays]].&lt;br /&gt;
&lt;br /&gt;
==Plackett-Burman Designs==&lt;br /&gt;
&lt;br /&gt;
It was mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] that resolution III designs can be used as highly fractional designs to investigate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs (provided that three factor and higher order interaction effects are not important to the experimenter). A limitation with these designs is that all runs in these designs have to be a power of 2. The valid runs for these designs are 4, 8, 16, 32, etc. Therefore, the next design after the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design with 4 runs is the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design with 8 runs, and the design after this is the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design with 32 runs and so on, as shown in the next table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.1.png|center|487px|Highly fractional designs to investigate main effects.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Plackett-Burman designs solve this problem. These designs were proposed by R. L. Plackett and J.P. Burman (1946). They allow the estimation of &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, runs are a multiple of 4 (i.e., 4, 8, 12, 16, 20 and so on). When the runs are a power of 2, the designs correspond to the resolution III two factor fractional factorial designs. Although Plackett-Burman designs are all two level orthogonal designs, the alias structure for these designs is complicated when runs are not a power of 2.&lt;br /&gt;
&lt;br /&gt;
As an example, consider the 12-run Plackett-Burman design shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.1.png|center|400px|12-run Plackett-Burman design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If 11 main effects are to be estimated using this design, then each of these main effects is partially aliased with all other two factor interactions not containing that main effect. For example, the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is partially aliased with all two factor interactions except &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AE\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AF\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AG\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AH\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AJ\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AK\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AL\,\!&amp;lt;/math&amp;gt;. There are 45 such two factor interactions that are aliased with &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; A-\frac{1}{3}BC-\frac{1}{3}BD+\frac{1}{3}CD-\frac{1}{3}BE-\frac{1}{3}CE+\frac{1}{3}DE+... \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; ...+\frac{1}{3}EL-\frac{1}{3}FL-\frac{1}{3}GL+\frac{1}{3}HL+\frac{1}{3}JL-\frac{1}{3}KL  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Due to the complex aliasing, Plackett-Burman designs involving a large number of factors should be used with care. Some of the Plackett-Burman designs available in DOE++ are included in [[Plackett-Burman_Designs|Appendix C]].&lt;br /&gt;
&lt;br /&gt;
==Taguchi&#039;s Orthogonal Arrays==&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s orthogonal arrays are highly fractional orthogonal designs proposed by Dr. Genichi Taguchi, a Japanese industrialist. These designs can be used to estimate main effects using only a few experimental runs. These designs are not only applicable to two level factorial experiments; they can also investigate main effects when factors have more than two levels. Designs are also available to investigate main effects for certain mixed level experiments where the factors included do not have the same number of levels.  As in the case of Placket-Burman designs, these designs require the experimenter to assume that interaction effects are unimportant and can be ignored. A few of Taguchi&#039;s orthogonal arrays available in DOE++ are included in [[Taguchi_Orthogonal_Arrays|Appendix D]].&lt;br /&gt;
&lt;br /&gt;
Some of Taguchi&#039;s arrays, with runs that are a power of 2, are similar to the corresponding 2 &amp;lt;math&amp;gt;_{\text{III}}^{k-f}\,\!&amp;lt;/math&amp;gt; designs. For example, consider the L4 array shown in figure (a) below. The L4 array is denoted as L4(2^3) in a DOE folio. L4 means the array requires 4 runs. 2^3 indicates that the design estimates up to three main effects at 2 levels each. The L4 array can be used to estimate three main effects using four runs provided that the two factor and three factor interactions can be ignored. Figure (b) below shows the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design (defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; ) which also requires four runs and can be used to estimate up to three main effects, assuming that all two factor and three factor interactions are unimportant. A comparison between the two designs shows that the columns in the two designs are the same except for the arrangement of the columns. In figure (c) below, columns of the L4 array are marked with the name of the effect from the corresponding column of the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.3.png|center|400px|Taguchi&#039;s L4 orthogonal array - Figure (a) shows the design, (b) shows the &amp;lt;math&amp;gt;2_{III}^{3-1} \,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC \,\!&amp;lt;/math&amp;gt; and (c) marks the columns of the L4 array with the corresponding columns of the design in (b).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, consider the L8(2^7) array shown in figure (a) below. This design can be used to estimate up to seven main effects using eight runs. This array is again similar to the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design shown in figure (b) below, except that the aliasing between the columns of the two designs differs in sign for some of the columns (see figure (c)).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.4.png|center|400px|Taguchi&#039;s L8 orthogonal array - Figure (a) shows the design, (b) shows the &amp;lt;math&amp;gt;2_{III}^{7-4} \,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABD=ACE=BCF=ABCG \,\!&amp;lt;/math&amp;gt; and (c) marks the columns of the L8 array with the corresponding columns of the design in (b).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The L8 array can also be used as a full factorial three factor experiment design in the same way as a &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. However, the orthogonal arrays should be used carefully in such cases, taking into consideration the alias relationships between the columns of the array. For the L8 array, figure (c) above shows that the third column of the array is the product of the first two columns. If the L8 array is used as a two level full factorial design in the place of a 2 &amp;lt;math&amp;gt;^{3}\,\!&amp;lt;/math&amp;gt; design, and if the main effects are assigned to the first three columns, the main effect assigned to the third column will be aliased with the two factor interaction of the first two main effects. The proper assignment of the main effects to the columns of the L8 array requires the experimenter to assign the three main effects to the first, second and fourth columns. These columns are sometimes referred to as the &#039;&#039;preferred columns&#039;&#039; for the L8 array. To know the preferred columns for any of the orthogonal arrays, the alias relationships between the array columns must be known. The alias relations between the main effects and two factor interactions of the columns for the L8 array are shown in the next table. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.2.png|center|400px|Alias relations for the L8 array.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The cell value in any (&amp;lt;math&amp;gt;i,j\,\!&amp;lt;/math&amp;gt;) cell of the table gives the column number of the two factor interaction for the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th row and &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th column. For example, to know which column is confounded with the interaction of the first and second columns, look at the value in the ( &amp;lt;math&amp;gt;1,2\,\!&amp;lt;/math&amp;gt; ) cell. The value of 3 indicates that the third column is the same as the product of the first and second columns. The alias relations for some of Taguchi&#039;s orthogonal arrays are available in [[Alias_Relations_for_Taguchi_Orthogonal_Arrays|Appendix E]].&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Recall the experiment to investigate factors affecting the surface finish of automobile brake drums discussed in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]]. The three factors investigated in the experiment were honing pressure (factor A), number of strokes (factor B) and cycle time (factor C). Assume that you used Taguchi&#039;s L8 orthogonal array to investigate the three factors instead of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that was used in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]]. Based on the discussion in the previous section, the preferred columns for the L8 array are the first, second and fourth columns. Therefore, the three factors should be assigned to these columns. The three factors are assigned to these columns based on the figure (c) above, so that you can easily compare results obtained from the L8 array to the ones included in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]]. Based on this assignment, the L8 array for the two replicates, along with the respective response values, should be as shown in the third table. Note that to run the experiment using the L8 array, you would use only the first, the second and the fourth column to set the three factors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.3.png|center|639px|Using Taguchi&#039;s L8 array to investigate factors affecting the surface finish of automobile brake drums.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The experiment design for this example can be set using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_5.png|center|700px|Design properties for the experiment in the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that for this design, the factor properties are set up as shown in the design summary. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_6.png|center|700px|Factor properties for the experiment in the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design along with the response values is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_7.png|center|650px|Experiment design for the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And the results from the DOE folio for the design are shown in the next figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_8_1.png|center|700px|Results for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results identify honing pressure, number of strokes, and the interaction between honing pressure and cycle time to be significant effects. This is identical to the conclusion obtained from the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design used in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]].&lt;br /&gt;
&lt;br /&gt;
=== Preferred Columns in Taguchi OA===&lt;br /&gt;
One of the difficulties of using Taguchi OA is to assign factors to the appropriate columns of the array. For example, take a simple Taguchi OA L8(2^7), which can be used for experiments with up to 7 factors. If you have only 3 factors, which 3 columns in this array should be used? DOE++ provides a simple utility to help users utilize Taguchi OA more effectively by assigning factors to the appropriate columns. &lt;br /&gt;
Let’s use Taguchi OA L8(2^7) as an example. The design table for this array is: &lt;br /&gt;
 &lt;br /&gt;
[[Image:DOEtableChapter9.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a fractional factorial design for 7 factors. For any fractional factorial design, the first thing we need to do is check its alias structure. In general, the alias structures for Taguchi OAs are very complicated. People usually use the following table to represent the alias relations between each factor. For the above orthogonal array, the alias table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|1||	2||	3||	4||	5||	6||	7&lt;br /&gt;
|-&lt;br /&gt;
|2x3||	1x3||	1x2||	1x5||	1x4||	1x7||	1x6&lt;br /&gt;
|-&lt;br /&gt;
|4x5||	4x6||	4x7||	2x6||	2x7||	2x4||	2x5&lt;br /&gt;
|-&lt;br /&gt;
|6x7||	5x7||	5x6||	3x7||	3x6||	3x5||	3x4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the above table, an Arabic number is used to represent a factor. For instance, “1” represents the factor assigned to the 1st column in the array. “2x3” represents the interaction effect of the two factors assigned to column 2 and 3. Each column in the above alias table lists all the 2-way interaction effects that are aliased with the main effect of the factor assigned to this column. For example, for the 1st column, the main effect of the factor assigned to it is aliased with interaction effects of 2x3, 4x5 and 6x7. &lt;br /&gt;
If an experiment has only 3 factors and these 3 factors A, B and C are assigned to the first 3 columns of the above L8(2^7) array, then the design table will be:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A (Column 1)||	B (Column 2)||	C (Column 3)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	2||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	2||	2||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The alias structure for the above table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[I] = I – ABC&lt;br /&gt;
|-&lt;br /&gt;
|[A] = A – BC&lt;br /&gt;
|-&lt;br /&gt;
|[B] = B – AC&lt;br /&gt;
|-&lt;br /&gt;
|[C] = C – AB&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This is a resolution 3 design. All the main effects are aliased with 2-way interactions. There are many ways to choose 3 columns from the 7 columns of L8(2^7). If the 3 factors are assigned to column 1, 2, and 4, then the design table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A (Column 1)||	B (Column 2)||	C (Column 4)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	2||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	2||	2||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For experiments using the above design table, all the effects will be alias free.  Therefore, this design is much better than the previous one which used column 1, 2, and 3 of L8(2^7). Although both designs have the same number of runs, more information can be obtained from this design since it is alias free. &lt;br /&gt;
&lt;br /&gt;
Clearly, it is very important to assign factors to the right columns when applying Taguchi OA. DOE++ can help users automatically choose the right columns when the number of factors is less than the number of columns in a Taguchi OA. The selection is based on the specified model terms by users. Let’s use an example to explain this.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Design an experiment with 3 qualitative factors. Factors A and B have 2 levels; factor C has 4 levels. The experimenters are interested in all the main effects and the interaction effect AC.&lt;br /&gt;
&lt;br /&gt;
Based on this requirement, Taguchi OA L16(2^6*4^3) can be used since it can handle both 2 level and 4 level factors. It has 9 columns. The first 6 columns are used for 2 level factors and the last 3 columns are used for 4 level factors. We need to assign factor A and B to two of the first 6 columns, and assign factor C to one of the last 3 columns. &lt;br /&gt;
&lt;br /&gt;
In a Weibull++ DOE folio, we can choose L16(2^6*4^3) in the Additional Settings. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_9.png|center|842px|Selecting the Taguchi OA design type.|link=]] &lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Specify Interaction Terms&#039;&#039;&#039; to specify the interaction terms that are of interest to the experimenters. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_10.png|center|420px|Specifying the interaction terms of interest.|link=]] &lt;br /&gt;
&lt;br /&gt;
Based on the specified interaction effects, DOE++ will assign each factor to the appropriate column. In this case, they are column 1, 3, and 7 as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_11.png|center|842px|The interaction terms of interest have been specified.|link=]]  &lt;br /&gt;
&lt;br /&gt;
However, for a given Taguchi OA, it may not be possible to estimate all the specified interaction terms. If not all the requirements can be satisfied, the DOE folio will assign factors to columns that result in the least number of aliased effects. In this case, users should either use another Taguchi OA or other design types. The following example is one of these cases.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Design an experiment for a test with 4 qualitative factors. Factors A and B have 2 levels; C and D have 4 levels. We are interested in all the main effects and the interaction effects AC and BD. &lt;br /&gt;
&lt;br /&gt;
Assume again we want to use Taguchi OA L16(2^6*4^3). Click &#039;&#039;&#039;Specify Interaction Terms&#039;&#039;&#039; as shown above to specify the interaction effects that you want to estimate in the experiment. &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe8_12.png|center|420px|Specifying the interaction terms of interest.|link=]] &lt;br /&gt;
&lt;br /&gt;
When you click &#039;&#039;&#039;OK&#039;&#039;&#039;, you will see a message warning that some of the specified interaction effects are aliased with main effects. These means that it is not possible to clearly estimate all the main effects and the specified interaction effects AC and BD. &lt;br /&gt;
&lt;br /&gt;
This can be explained by checking the alias table of an L16(2^6*4^3) design as given below.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|1||	2||	3||	4||	5||	6||	7||	8||	9&lt;br /&gt;
|-&lt;br /&gt;
|2x7||	1x7||	1x9||	1x5||	1x4||	1x8||	1x2||	1x6||	1x3&lt;br /&gt;
|-&lt;br /&gt;
|3x9||	3x6||	2x6||	2x8||	2x9||	2x3||	1x8||	1x7||	1x7&lt;br /&gt;
|-&lt;br /&gt;
|4x5||	4x8||	4x7||	3x7||	3x8||	4x9||	1x9||	1x9||	1x8&lt;br /&gt;
|-&lt;br /&gt;
|6x8||	5x9||	5x8||	6x9||	6x7||	5x7||	2x8||	2x4||	2x5&lt;br /&gt;
|-&lt;br /&gt;
|7x8||	7x8||	7x8||	7x8||	7x8||	7x8||	2x9||	2x7||	2x7&lt;br /&gt;
|-&lt;br /&gt;
|7x9||	7x9||	7x9||	7x9||	7x9||	7x9||	3x8||	2x9||	2x8&lt;br /&gt;
|-&lt;br /&gt;
|8x9||	8x9||	8x9||	8x9||	8x9||	8x9||	3x9||	3x5||	3x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||4x8||	3x7||	3x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||4x9||	3x9||	4x6&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x6||	4x7||	4x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x8||	4x9||	4x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x9||	5x7||	5x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||6x8||	5x9||	5x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||6x9||	6x7||	6x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||8x9||	6x9||	6x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	|| ||	7x9||	7x8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
From this table, we can see that it is impossible to clearly estimate both AC and BD. Factors C and D can only be assigned to the last three columns since they are 4 level factors. Assume we assign factor C to column 7 and factor D to column 8. Factor B (2 level) will be in one of the columns from 1 to 6. Therefore, effect BD will be one of the effects highlighted in the table, where the first term of the interaction is between 1 and 6 and the last term is 8 (i.e., factor D).&lt;br /&gt;
&lt;br /&gt;
The above alias table shows that factor C is aliased with one of those highlighted effects. Thus, no matter which of the first six columns is assigned to factor B, the main effect C will be aliased with interaction effect BD. This is also true if C is assigned to column 8 or 9. Therefore, if L16(2^6*4^3) is used, there is no way to clearly estimate all the main effects and the interaction effects AC and BD. Another Taguchi OA or other design types such as a general full factorial design should be used. A more efficient way might be to create an optimal custom design that can clearly estimate all the specified terms. For more detail, please refer to the chapter on [[Optimal Custom Designs]].&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Highly_Fractional_Factorial_Designs&amp;diff=65224</id>
		<title>Highly Fractional Factorial Designs</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Highly_Fractional_Factorial_Designs&amp;diff=65224"/>
		<updated>2017-08-10T17:22:18Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|9}}&lt;br /&gt;
This chapter discusses factorial designs that are commonly used in designed experiments, but are not necessarily limited to two level factors. These designs are the [[Highly_Fractional_Factorial_Designs#Plackett-Burman_Designs|Plackett-Burman designs]] and [[Highly_Fractional_Factorial_Designs#Taguchi.27s_Orthogonal_Arrays|Taguchi&#039;s orthogonal arrays]].&lt;br /&gt;
&lt;br /&gt;
==Plackett-Burman Designs==&lt;br /&gt;
&lt;br /&gt;
It was mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] that resolution III designs can be used as highly fractional designs to investigate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs (provided that three factor and higher order interaction effects are not important to the experimenter). A limitation with these designs is that all runs in these designs have to be a power of 2. The valid runs for these designs are 4, 8, 16, 32, etc. Therefore, the next design after the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design with 4 runs is the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design with 8 runs, and the design after this is the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design with 32 runs and so on, as shown in the next table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.1.png|center|487px|Highly fractional designs to investigate main effects.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Plackett-Burman designs solve this problem. These designs were proposed by R. L. Plackett and J.P. Burman (1946). They allow the estimation of &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, runs are a multiple of 4 (i.e., 4, 8, 12, 16, 20 and so on). When the runs are a power of 2, the designs correspond to the resolution III two factor fractional factorial designs. Although Plackett-Burman designs are all two level orthogonal designs, the alias structure for these designs is complicated when runs are not a power of 2.&lt;br /&gt;
&lt;br /&gt;
As an example, consider the 12-run Plackett-Burman design shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.1.png|center|400px|12-run Plackett-Burman design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If 11 main effects are to be estimated using this design, then each of these main effects is partially aliased with all other two factor interactions not containing that main effect. For example, the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is partially aliased with all two factor interactions except &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AE\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AF\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AG\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AH\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AJ\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AK\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AL\,\!&amp;lt;/math&amp;gt;. There are 45 such two factor interactions that are aliased with &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; A-\frac{1}{3}BC-\frac{1}{3}BD+\frac{1}{3}CD-\frac{1}{3}BE-\frac{1}{3}CE+\frac{1}{3}DE+... \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; ...+\frac{1}{3}EL-\frac{1}{3}FL-\frac{1}{3}GL+\frac{1}{3}HL+\frac{1}{3}JL-\frac{1}{3}KL  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Due to the complex aliasing, Plackett-Burman designs involving a large number of factors should be used with care. Some of the Plackett-Burman designs available in DOE++ are included in [[Plackett-Burman_Designs|Appendix C]].&lt;br /&gt;
&lt;br /&gt;
==Taguchi&#039;s Orthogonal Arrays==&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s orthogonal arrays are highly fractional orthogonal designs proposed by Dr. Genichi Taguchi, a Japanese industrialist. These designs can be used to estimate main effects using only a few experimental runs. These designs are not only applicable to two level factorial experiments; they can also investigate main effects when factors have more than two levels. Designs are also available to investigate main effects for certain mixed level experiments where the factors included do not have the same number of levels.  As in the case of Placket-Burman designs, these designs require the experimenter to assume that interaction effects are unimportant and can be ignored. A few of Taguchi&#039;s orthogonal arrays available in DOE++ are included in [[Taguchi_Orthogonal_Arrays|Appendix D]].&lt;br /&gt;
&lt;br /&gt;
Some of Taguchi&#039;s arrays, with runs that are a power of 2, are similar to the corresponding 2 &amp;lt;math&amp;gt;_{\text{III}}^{k-f}\,\!&amp;lt;/math&amp;gt; designs. For example, consider the L4 array shown in figure (a) below. The L4 array is denoted as L4(2^3) in a DOE folio. L4 means the array requires 4 runs. 2^3 indicates that the design estimates up to three main effects at 2 levels each. The L4 array can be used to estimate three main effects using four runs provided that the two factor and three factor interactions can be ignored. Figure (b) below shows the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design (defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; ) which also requires four runs and can be used to estimate up to three main effects, assuming that all two factor and three factor interactions are unimportant. A comparison between the two designs shows that the columns in the two designs are the same except for the arrangement of the columns. In figure (c) below, columns of the L4 array are marked with the name of the effect from the corresponding column of the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.3.png|center|400px|Taguchi&#039;s L4 orthogonal array - Figure (a) shows the design, (b) shows the &amp;lt;math&amp;gt;2_{III}^{3-1} \,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC \,\!&amp;lt;/math&amp;gt; and (c) marks the columns of the L4 array with the corresponding columns of the design in (b).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, consider the L8(2^7) array shown in figure (a) below. This design can be used to estimate up to seven main effects using eight runs. This array is again similar to the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design shown in figure (b) below, except that the aliasing between the columns of the two designs differs in sign for some of the columns (see figure (c)).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.4.png|center|400px|Taguchi&#039;s L8 orthogonal array - Figure (a) shows the design, (b) shows the &amp;lt;math&amp;gt;2_{III}^{7-4} \,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABD=ACE=BCF=ABCG \,\!&amp;lt;/math&amp;gt; and (c) marks the columns of the L8 array with the corresponding columns of the design in (b).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The L8 array can also be used as a full factorial three factor experiment design in the same way as a &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. However, the orthogonal arrays should be used carefully in such cases, taking into consideration the alias relationships between the columns of the array. For the L8 array, figure (c) above shows that the third column of the array is the product of the first two columns. If the L8 array is used as a two level full factorial design in the place of a 2 &amp;lt;math&amp;gt;^{3}\,\!&amp;lt;/math&amp;gt; design, and if the main effects are assigned to the first three columns, the main effect assigned to the third column will be aliased with the two factor interaction of the first two main effects. The proper assignment of the main effects to the columns of the L8 array requires the experimenter to assign the three main effects to the first, second and fourth columns. These columns are sometimes referred to as the &#039;&#039;preferred columns&#039;&#039; for the L8 array. To know the preferred columns for any of the orthogonal arrays, the alias relationships between the array columns must be known. The alias relations between the main effects and two factor interactions of the columns for the L8 array are shown in the next table. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.2.png|center|400px|Alias relations for the L8 array.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The cell value in any (&amp;lt;math&amp;gt;i,j\,\!&amp;lt;/math&amp;gt;) cell of the table gives the column number of the two factor interaction for the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th row and &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th column. For example, to know which column is confounded with the interaction of the first and second columns, look at the value in the ( &amp;lt;math&amp;gt;1,2\,\!&amp;lt;/math&amp;gt; ) cell. The value of 3 indicates that the third column is the same as the product of the first and second columns. The alias relations for some of Taguchi&#039;s orthogonal arrays are available in [[Alias_Relations_for_Taguchi_Orthogonal_Arrays|Appendix E]].&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Recall the experiment to investigate factors affecting the surface finish of automobile brake drums discussed in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]]. The three factors investigated in the experiment were honing pressure (factor A), number of strokes (factor B) and cycle time (factor C). Assume that you used Taguchi&#039;s L8 orthogonal array to investigate the three factors instead of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that was used in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]]. Based on the discussion in the previous section, the preferred columns for the L8 array are the first, second and fourth columns. Therefore, the three factors should be assigned to these columns. The three factors are assigned to these columns based on the figure (c) above, so that you can easily compare results obtained from the L8 array to the ones included in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]]. Based on this assignment, the L8 array for the two replicates, along with the respective response values, should be as shown in the third table. Note that to run the experiment using the L8 array, you would use only the first, the second and the fourth column to set the three factors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.3.png|center|639px|Using Taguchi&#039;s L8 array to investigate factors affecting the surface finish of automobile brake drums.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The experiment design for this example can be set using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_5.png|center|700px|Design properties for the experiment in the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that for this design, the factor properties are set up as shown in the design summary. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_6.png|center|700px|Factor properties for the experiment in the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design along with the response values is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_7.png|center|650px|Experiment design for the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And the results from the DOE folio for the design are shown in the next figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_8_1.png|center|700px|Results for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results identify honing pressure, number of strokes, and the interaction between honing pressure and cycle time to be significant effects. This is identical to the conclusion obtained from the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design used in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]].&lt;br /&gt;
&lt;br /&gt;
=== Preferred Columns in Taguchi OA===&lt;br /&gt;
One of the difficulties of using Taguchi OA is to assign factors to the appropriate columns of the array. For example, take a simple Taguchi OA L8(2^7), which can be used for experiments with up to 7 factors. If you have only 3 factors, which 3 columns in this array should be used? DOE++ provides a simple utility to help users utilize Taguchi OA more effectively by assigning factors to the appropriate columns. &lt;br /&gt;
Let’s use Taguchi OA L8(2^7) as an example. The design table for this array is: &lt;br /&gt;
 &lt;br /&gt;
[[Image:DOEtableChapter9.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a fractional factorial design for 7 factors. For any fractional factorial design, the first thing we need to do is check its alias structure. In general, the alias structures for Taguchi OAs are very complicated. People usually use the following table to represent the alias relations between each factor. For the above orthogonal array, the alias table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|1||	2||	3||	4||	5||	6||	7&lt;br /&gt;
|-&lt;br /&gt;
|2x3||	1x3||	1x2||	1x5||	1x4||	1x7||	1x6&lt;br /&gt;
|-&lt;br /&gt;
|4x5||	4x6||	4x7||	2x6||	2x7||	2x4||	2x5&lt;br /&gt;
|-&lt;br /&gt;
|6x7||	5x7||	5x6||	3x7||	3x6||	3x5||	3x4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the above table, an Arabic number is used to represent a factor. For instance, “1” represents the factor assigned to the 1st column in the array. “2x3” represents the interaction effect of the two factors assigned to column 2 and 3. Each column in the above alias table lists all the 2-way interaction effects that are aliased with the main effect of the factor assigned to this column. For example, for the 1st column, the main effect of the factor assigned to it is aliased with interaction effects of 2x3, 4x5 and 6x7. &lt;br /&gt;
If an experiment has only 3 factors and these 3 factors A, B and C are assigned to the first 3 columns of the above L8(2^7) array, then the design table will be:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A (Column 1)||	B (Column 2)||	C (Column 3)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	2||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	2||	2||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The alias structure for the above table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[I] = I – ABC&lt;br /&gt;
|-&lt;br /&gt;
|[A] = A – BC&lt;br /&gt;
|-&lt;br /&gt;
|[B] = B – AC&lt;br /&gt;
|-&lt;br /&gt;
|[C] = C – AB&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This is a resolution 3 design. All the main effects are aliased with 2-way interactions. There are many ways to choose 3 columns from the 7 columns of L8(2^7). If the 3 factors are assigned to column 1, 2, and 4, then the design table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A (Column 1)||	B (Column 2)||	C (Column 4)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	2||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	2||	2||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For experiments using the above design table, all the effects will be alias free.  Therefore, this design is much better than the previous one which used column 1, 2, and 3 of L8(2^7). Although both designs have the same number of runs, more information can be obtained from this design since it is alias free. &lt;br /&gt;
&lt;br /&gt;
Clearly, it is very important to assign factors to the right columns when applying Taguchi OA. DOE++ can help users automatically choose the right columns when the number of factors is less than the number of columns in a Taguchi OA. The selection is based on the specified model terms by users. Let’s use an example to explain this.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Design an experiment with 3 qualitative factors. Factors A and B have 2 levels; factor C has 4 levels. The experimenters are interested in all the main effects and the interaction effect AC.&lt;br /&gt;
&lt;br /&gt;
Based on this requirement, Taguchi OA L16(2^6*4^3) can be used since it can handle both 2 level and 4 level factors. It has 9 columns. The first 6 columns are used for 2 level factors and the last 3 columns are used for 4 level factors. We need to assign factor A and B to two of the first 6 columns, and assign factor C to one of the last 3 columns. &lt;br /&gt;
&lt;br /&gt;
In DOE++, we can choose L16(2^6*4^3) in the Additional Settings. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_9.png|center|842px|Selecting the Taguchi OA design type.|link=]] &lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Specify Interaction Terms&#039;&#039;&#039; to specify the interaction terms that are of interest to the experimenters. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_10.png|center|420px|Specifying the interaction terms of interest.|link=]] &lt;br /&gt;
&lt;br /&gt;
Based on the specified interaction effects, DOE++ will assign each factor to the appropriate column. In this case, they are column 1, 3, and 7 as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_11.png|center|842px|The interaction terms of interest have been specified.|link=]]  &lt;br /&gt;
&lt;br /&gt;
However, for a given Taguchi OA, it may not be possible to estimate all the specified interaction terms. If not all the requirements can be satisfied, DOE++ will assign factors to columns that result in the least number of aliased effects. In this case, users should either use another Taguchi OA or other design types. The following example is one of these cases.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Design an experiment for a test with 4 qualitative factors. Factors A and B have 2 levels; C and D have 4 levels. We are interested in all the main effects and the interaction effects AC and BD. &lt;br /&gt;
&lt;br /&gt;
Assume again we want to use Taguchi OA L16(2^6*4^3). Click &#039;&#039;&#039;Specify Interaction Terms&#039;&#039;&#039; as shown above to specify the interaction effects that you want to estimate in the experiment. &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe8_12.png|center|420px|Specifying the interaction terms of interest.|link=]] &lt;br /&gt;
&lt;br /&gt;
When you click &#039;&#039;&#039;OK&#039;&#039;&#039;, you will see a message warning that some of the specified interaction effects are aliased with main effects. These means that it is not possible to clearly estimate all the main effects and the specified interaction effects AC and BD. &lt;br /&gt;
&lt;br /&gt;
This can be explained by checking the alias table of an L16(2^6*4^3) design as given below.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|1||	2||	3||	4||	5||	6||	7||	8||	9&lt;br /&gt;
|-&lt;br /&gt;
|2x7||	1x7||	1x9||	1x5||	1x4||	1x8||	1x2||	1x6||	1x3&lt;br /&gt;
|-&lt;br /&gt;
|3x9||	3x6||	2x6||	2x8||	2x9||	2x3||	1x8||	1x7||	1x7&lt;br /&gt;
|-&lt;br /&gt;
|4x5||	4x8||	4x7||	3x7||	3x8||	4x9||	1x9||	1x9||	1x8&lt;br /&gt;
|-&lt;br /&gt;
|6x8||	5x9||	5x8||	6x9||	6x7||	5x7||	2x8||	2x4||	2x5&lt;br /&gt;
|-&lt;br /&gt;
|7x8||	7x8||	7x8||	7x8||	7x8||	7x8||	2x9||	2x7||	2x7&lt;br /&gt;
|-&lt;br /&gt;
|7x9||	7x9||	7x9||	7x9||	7x9||	7x9||	3x8||	2x9||	2x8&lt;br /&gt;
|-&lt;br /&gt;
|8x9||	8x9||	8x9||	8x9||	8x9||	8x9||	3x9||	3x5||	3x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||4x8||	3x7||	3x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||4x9||	3x9||	4x6&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x6||	4x7||	4x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x8||	4x9||	4x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x9||	5x7||	5x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||6x8||	5x9||	5x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||6x9||	6x7||	6x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||8x9||	6x9||	6x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	|| ||	7x9||	7x8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
From this table, we can see that it is impossible to clearly estimate both AC and BD. Factors C and D can only be assigned to the last three columns since they are 4 level factors. Assume we assign factor C to column 7 and factor D to column 8. Factor B (2 level) will be in one of the columns from 1 to 6. Therefore, effect BD will be one of the effects highlighted in the table, where the first term of the interaction is between 1 and 6 and the last term is 8 (i.e., factor D).&lt;br /&gt;
&lt;br /&gt;
The above alias table shows that factor C is aliased with one of those highlighted effects. Thus, no matter which of the first six columns is assigned to factor B, the main effect C will be aliased with interaction effect BD. This is also true if C is assigned to column 8 or 9. Therefore, if L16(2^6*4^3) is used, there is no way to clearly estimate all the main effects and the interaction effects AC and BD. Another Taguchi OA or other design types such as a general full factorial design should be used. A more efficient way might be to create an optimal custom design that can clearly estimate all the specified terms. For more detail, please refer to the chapter on [[Optimal Custom Designs]].&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Highly_Fractional_Factorial_Designs&amp;diff=65223</id>
		<title>Highly Fractional Factorial Designs</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Highly_Fractional_Factorial_Designs&amp;diff=65223"/>
		<updated>2017-08-10T17:21:51Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Taguchi&amp;#039;s Orthogonal Arrays */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|9}}&lt;br /&gt;
This chapter discusses factorial designs that are commonly used in designed experiments, but are not necessarily limited to two level factors. These designs are the [[Highly_Fractional_Factorial_Designs#Plackett-Burman_Designs|Plackett-Burman designs]] and [[Highly_Fractional_Factorial_Designs#Taguchi.27s_Orthogonal_Arrays|Taguchi&#039;s orthogonal arrays]].&lt;br /&gt;
&lt;br /&gt;
==Plackett-Burman Designs==&lt;br /&gt;
&lt;br /&gt;
It was mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] that resolution III designs can be used as highly fractional designs to investigate &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs (provided that three factor and higher order interaction effects are not important to the experimenter). A limitation with these designs is that all runs in these designs have to be a power of 2. The valid runs for these designs are 4, 8, 16, 32, etc. Therefore, the next design after the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design with 4 runs is the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design with 8 runs, and the design after this is the 2 &amp;lt;math&amp;gt;_{\text{III}}^{15-11}\,\!&amp;lt;/math&amp;gt; design with 32 runs and so on, as shown in the next table.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.1.png|center|487px|Highly fractional designs to investigate main effects.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Plackett-Burman designs solve this problem. These designs were proposed by R. L. Plackett and J.P. Burman (1946). They allow the estimation of &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; main effects using &amp;lt;math&amp;gt;k+1\,\!&amp;lt;/math&amp;gt; runs. In these designs, runs are a multiple of 4 (i.e., 4, 8, 12, 16, 20 and so on). When the runs are a power of 2, the designs correspond to the resolution III two factor fractional factorial designs. Although Plackett-Burman designs are all two level orthogonal designs, the alias structure for these designs is complicated when runs are not a power of 2.&lt;br /&gt;
&lt;br /&gt;
As an example, consider the 12-run Plackett-Burman design shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.1.png|center|400px|12-run Plackett-Burman design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If 11 main effects are to be estimated using this design, then each of these main effects is partially aliased with all other two factor interactions not containing that main effect. For example, the main effect &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is partially aliased with all two factor interactions except &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AD\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AE\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AF\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AG\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AH\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AJ\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;AK\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;AL\,\!&amp;lt;/math&amp;gt;. There are 45 such two factor interactions that are aliased with &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; A= &amp;amp; A-\frac{1}{3}BC-\frac{1}{3}BD+\frac{1}{3}CD-\frac{1}{3}BE-\frac{1}{3}CE+\frac{1}{3}DE+... \\ &lt;br /&gt;
 &amp;amp;  &amp;amp; ...+\frac{1}{3}EL-\frac{1}{3}FL-\frac{1}{3}GL+\frac{1}{3}HL+\frac{1}{3}JL-\frac{1}{3}KL  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Due to the complex aliasing, Plackett-Burman designs involving a large number of factors should be used with care. Some of the Plackett-Burman designs available in DOE++ are included in [[Plackett-Burman_Designs|Appendix C]].&lt;br /&gt;
&lt;br /&gt;
==Taguchi&#039;s Orthogonal Arrays==&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s orthogonal arrays are highly fractional orthogonal designs proposed by Dr. Genichi Taguchi, a Japanese industrialist. These designs can be used to estimate main effects using only a few experimental runs. These designs are not only applicable to two level factorial experiments; they can also investigate main effects when factors have more than two levels. Designs are also available to investigate main effects for certain mixed level experiments where the factors included do not have the same number of levels.  As in the case of Placket-Burman designs, these designs require the experimenter to assume that interaction effects are unimportant and can be ignored. A few of Taguchi&#039;s orthogonal arrays available in DOE++ are included in [[Taguchi_Orthogonal_Arrays|Appendix D]].&lt;br /&gt;
&lt;br /&gt;
Some of Taguchi&#039;s arrays, with runs that are a power of 2, are similar to the corresponding 2 &amp;lt;math&amp;gt;_{\text{III}}^{k-f}\,\!&amp;lt;/math&amp;gt; designs. For example, consider the L4 array shown in figure (a) below. The L4 array is denoted as L4(2^3) in a DOE folio. L4 means the array requires 4 runs. 2^3 indicates that the design estimates up to three main effects at 2 levels each. The L4 array can be used to estimate three main effects using four runs provided that the two factor and three factor interactions can be ignored. Figure (b) below shows the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design (defining relation &amp;lt;math&amp;gt;I=-ABC\,\!&amp;lt;/math&amp;gt; ) which also requires four runs and can be used to estimate up to three main effects, assuming that all two factor and three factor interactions are unimportant. A comparison between the two designs shows that the columns in the two designs are the same except for the arrangement of the columns. In figure (c) below, columns of the L4 array are marked with the name of the effect from the corresponding column of the 2 &amp;lt;math&amp;gt;_{\text{III}}^{3-1}\,\!&amp;lt;/math&amp;gt; design.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.3.png|center|400px|Taguchi&#039;s L4 orthogonal array - Figure (a) shows the design, (b) shows the &amp;lt;math&amp;gt;2_{III}^{3-1} \,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=-ABC \,\!&amp;lt;/math&amp;gt; and (c) marks the columns of the L4 array with the corresponding columns of the design in (b).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, consider the L8(2^7) array shown in figure (a) below. This design can be used to estimate up to seven main effects using eight runs. This array is again similar to the 2 &amp;lt;math&amp;gt;_{\text{III}}^{7-4}\,\!&amp;lt;/math&amp;gt; design shown in figure (b) below, except that the aliasing between the columns of the two designs differs in sign for some of the columns (see figure (c)).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8.4.png|center|400px|Taguchi&#039;s L8 orthogonal array - Figure (a) shows the design, (b) shows the &amp;lt;math&amp;gt;2_{III}^{7-4} \,\!&amp;lt;/math&amp;gt; design with the defining relation &amp;lt;math&amp;gt;I=ABD=ACE=BCF=ABCG \,\!&amp;lt;/math&amp;gt; and (c) marks the columns of the L8 array with the corresponding columns of the design in (b).]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The L8 array can also be used as a full factorial three factor experiment design in the same way as a &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. However, the orthogonal arrays should be used carefully in such cases, taking into consideration the alias relationships between the columns of the array. For the L8 array, figure (c) above shows that the third column of the array is the product of the first two columns. If the L8 array is used as a two level full factorial design in the place of a 2 &amp;lt;math&amp;gt;^{3}\,\!&amp;lt;/math&amp;gt; design, and if the main effects are assigned to the first three columns, the main effect assigned to the third column will be aliased with the two factor interaction of the first two main effects. The proper assignment of the main effects to the columns of the L8 array requires the experimenter to assign the three main effects to the first, second and fourth columns. These columns are sometimes referred to as the &#039;&#039;preferred columns&#039;&#039; for the L8 array. To know the preferred columns for any of the orthogonal arrays, the alias relationships between the array columns must be known. The alias relations between the main effects and two factor interactions of the columns for the L8 array are shown in the next table. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.2.png|center|400px|Alias relations for the L8 array.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The cell value in any (&amp;lt;math&amp;gt;i,j\,\!&amp;lt;/math&amp;gt;) cell of the table gives the column number of the two factor interaction for the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th row and &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th column. For example, to know which column is confounded with the interaction of the first and second columns, look at the value in the ( &amp;lt;math&amp;gt;1,2\,\!&amp;lt;/math&amp;gt; ) cell. The value of 3 indicates that the third column is the same as the product of the first and second columns. The alias relations for some of Taguchi&#039;s orthogonal arrays are available in [[Alias_Relations_for_Taguchi_Orthogonal_Arrays|Appendix E]].&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Recall the experiment to investigate factors affecting the surface finish of automobile brake drums discussed in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]]. The three factors investigated in the experiment were honing pressure (factor A), number of strokes (factor B) and cycle time (factor C). Assume that you used Taguchi&#039;s L8 orthogonal array to investigate the three factors instead of the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design that was used in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]]. Based on the discussion in the previous section, the preferred columns for the L8 array are the first, second and fourth columns. Therefore, the three factors should be assigned to these columns. The three factors are assigned to these columns based on the figure (c) above, so that you can easily compare results obtained from the L8 array to the ones included in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]]. Based on this assignment, the L8 array for the two replicates, along with the respective response values, should be as shown in the third table. Note that to run the experiment using the L8 array, you would use only the first, the second and the fourth column to set the three factors.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet8.3.png|center|639px|Using Taguchi&#039;s L8 array to investigate factors affecting the surface finish of automobile brake drums.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The experiment design for this example can be set using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_5.png|center|700px|Design properties for the experiment in the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that for this design, the factor properties are set up as shown in the design summary. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_6.png|center|700px|Factor properties for the experiment in the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design along with the response values is shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_7.png|center|650px|Experiment design for the [[Highly_Fractional_Factorial_Designs#Example| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
And the results from DOE++ for the design are shown in the next figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_8_1.png|center|700px|Results for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results identify honing pressure, number of strokes, and the interaction between honing pressure and cycle time to be significant effects. This is identical to the conclusion obtained from the &amp;lt;math&amp;gt;{2}^{3}\,\!&amp;lt;/math&amp;gt; design used in [[Two_Level_Factorial_Experiments|Two Level Factorial Experiments]].&lt;br /&gt;
&lt;br /&gt;
=== Preferred Columns in Taguchi OA===&lt;br /&gt;
One of the difficulties of using Taguchi OA is to assign factors to the appropriate columns of the array. For example, take a simple Taguchi OA L8(2^7), which can be used for experiments with up to 7 factors. If you have only 3 factors, which 3 columns in this array should be used? DOE++ provides a simple utility to help users utilize Taguchi OA more effectively by assigning factors to the appropriate columns. &lt;br /&gt;
Let’s use Taguchi OA L8(2^7) as an example. The design table for this array is: &lt;br /&gt;
 &lt;br /&gt;
[[Image:DOEtableChapter9.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is a fractional factorial design for 7 factors. For any fractional factorial design, the first thing we need to do is check its alias structure. In general, the alias structures for Taguchi OAs are very complicated. People usually use the following table to represent the alias relations between each factor. For the above orthogonal array, the alias table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|1||	2||	3||	4||	5||	6||	7&lt;br /&gt;
|-&lt;br /&gt;
|2x3||	1x3||	1x2||	1x5||	1x4||	1x7||	1x6&lt;br /&gt;
|-&lt;br /&gt;
|4x5||	4x6||	4x7||	2x6||	2x7||	2x4||	2x5&lt;br /&gt;
|-&lt;br /&gt;
|6x7||	5x7||	5x6||	3x7||	3x6||	3x5||	3x4&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In the above table, an Arabic number is used to represent a factor. For instance, “1” represents the factor assigned to the 1st column in the array. “2x3” represents the interaction effect of the two factors assigned to column 2 and 3. Each column in the above alias table lists all the 2-way interaction effects that are aliased with the main effect of the factor assigned to this column. For example, for the 1st column, the main effect of the factor assigned to it is aliased with interaction effects of 2x3, 4x5 and 6x7. &lt;br /&gt;
If an experiment has only 3 factors and these 3 factors A, B and C are assigned to the first 3 columns of the above L8(2^7) array, then the design table will be:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A (Column 1)||	B (Column 2)||	C (Column 3)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	2||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	2||	2||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The alias structure for the above table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|[I] = I – ABC&lt;br /&gt;
|-&lt;br /&gt;
|[A] = A – BC&lt;br /&gt;
|-&lt;br /&gt;
|[B] = B – AC&lt;br /&gt;
|-&lt;br /&gt;
|[C] = C – AB&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
This is a resolution 3 design. All the main effects are aliased with 2-way interactions. There are many ways to choose 3 columns from the 7 columns of L8(2^7). If the 3 factors are assigned to column 1, 2, and 4, then the design table is:&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A (Column 1)||	B (Column 2)||	C (Column 4)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	2||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	2||	2||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For experiments using the above design table, all the effects will be alias free.  Therefore, this design is much better than the previous one which used column 1, 2, and 3 of L8(2^7). Although both designs have the same number of runs, more information can be obtained from this design since it is alias free. &lt;br /&gt;
&lt;br /&gt;
Clearly, it is very important to assign factors to the right columns when applying Taguchi OA. DOE++ can help users automatically choose the right columns when the number of factors is less than the number of columns in a Taguchi OA. The selection is based on the specified model terms by users. Let’s use an example to explain this.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Design an experiment with 3 qualitative factors. Factors A and B have 2 levels; factor C has 4 levels. The experimenters are interested in all the main effects and the interaction effect AC.&lt;br /&gt;
&lt;br /&gt;
Based on this requirement, Taguchi OA L16(2^6*4^3) can be used since it can handle both 2 level and 4 level factors. It has 9 columns. The first 6 columns are used for 2 level factors and the last 3 columns are used for 4 level factors. We need to assign factor A and B to two of the first 6 columns, and assign factor C to one of the last 3 columns. &lt;br /&gt;
&lt;br /&gt;
In DOE++, we can choose L16(2^6*4^3) in the Additional Settings. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_9.png|center|842px|Selecting the Taguchi OA design type.|link=]] &lt;br /&gt;
&lt;br /&gt;
Click &#039;&#039;&#039;Specify Interaction Terms&#039;&#039;&#039; to specify the interaction terms that are of interest to the experimenters. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_10.png|center|420px|Specifying the interaction terms of interest.|link=]] &lt;br /&gt;
&lt;br /&gt;
Based on the specified interaction effects, DOE++ will assign each factor to the appropriate column. In this case, they are column 1, 3, and 7 as shown below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe8_11.png|center|842px|The interaction terms of interest have been specified.|link=]]  &lt;br /&gt;
&lt;br /&gt;
However, for a given Taguchi OA, it may not be possible to estimate all the specified interaction terms. If not all the requirements can be satisfied, DOE++ will assign factors to columns that result in the least number of aliased effects. In this case, users should either use another Taguchi OA or other design types. The following example is one of these cases.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Design an experiment for a test with 4 qualitative factors. Factors A and B have 2 levels; C and D have 4 levels. We are interested in all the main effects and the interaction effects AC and BD. &lt;br /&gt;
&lt;br /&gt;
Assume again we want to use Taguchi OA L16(2^6*4^3). Click &#039;&#039;&#039;Specify Interaction Terms&#039;&#039;&#039; as shown above to specify the interaction effects that you want to estimate in the experiment. &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe8_12.png|center|420px|Specifying the interaction terms of interest.|link=]] &lt;br /&gt;
&lt;br /&gt;
When you click &#039;&#039;&#039;OK&#039;&#039;&#039;, you will see a message warning that some of the specified interaction effects are aliased with main effects. These means that it is not possible to clearly estimate all the main effects and the specified interaction effects AC and BD. &lt;br /&gt;
&lt;br /&gt;
This can be explained by checking the alias table of an L16(2^6*4^3) design as given below.&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|1||	2||	3||	4||	5||	6||	7||	8||	9&lt;br /&gt;
|-&lt;br /&gt;
|2x7||	1x7||	1x9||	1x5||	1x4||	1x8||	1x2||	1x6||	1x3&lt;br /&gt;
|-&lt;br /&gt;
|3x9||	3x6||	2x6||	2x8||	2x9||	2x3||	1x8||	1x7||	1x7&lt;br /&gt;
|-&lt;br /&gt;
|4x5||	4x8||	4x7||	3x7||	3x8||	4x9||	1x9||	1x9||	1x8&lt;br /&gt;
|-&lt;br /&gt;
|6x8||	5x9||	5x8||	6x9||	6x7||	5x7||	2x8||	2x4||	2x5&lt;br /&gt;
|-&lt;br /&gt;
|7x8||	7x8||	7x8||	7x8||	7x8||	7x8||	2x9||	2x7||	2x7&lt;br /&gt;
|-&lt;br /&gt;
|7x9||	7x9||	7x9||	7x9||	7x9||	7x9||	3x8||	2x9||	2x8&lt;br /&gt;
|-&lt;br /&gt;
|8x9||	8x9||	8x9||	8x9||	8x9||	8x9||	3x9||	3x5||	3x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||4x8||	3x7||	3x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||4x9||	3x9||	4x6&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x6||	4x7||	4x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x8||	4x9||	4x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||5x9||	5x7||	5x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||6x8||	5x9||	5x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||6x9||	6x7||	6x7&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	||8x9||	6x9||	6x8&lt;br /&gt;
|-&lt;br /&gt;
|	||	||	||	||	||	|| ||	7x9||	7x8&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
From this table, we can see that it is impossible to clearly estimate both AC and BD. Factors C and D can only be assigned to the last three columns since they are 4 level factors. Assume we assign factor C to column 7 and factor D to column 8. Factor B (2 level) will be in one of the columns from 1 to 6. Therefore, effect BD will be one of the effects highlighted in the table, where the first term of the interaction is between 1 and 6 and the last term is 8 (i.e., factor D).&lt;br /&gt;
&lt;br /&gt;
The above alias table shows that factor C is aliased with one of those highlighted effects. Thus, no matter which of the first six columns is assigned to factor B, the main effect C will be aliased with interaction effect BD. This is also true if C is assigned to column 8 or 9. Therefore, if L16(2^6*4^3) is used, there is no way to clearly estimate all the main effects and the interaction effects AC and BD. Another Taguchi OA or other design types such as a general full factorial design should be used. A more efficient way might be to create an optimal custom design that can clearly estimate all the specified terms. For more detail, please refer to the chapter on [[Optimal Custom Designs]].&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65222</id>
		<title>Response Surface Methods for Optimization</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65222"/>
		<updated>2017-08-10T17:19:17Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Desirability Functions */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|10}}&lt;br /&gt;
The experiment designs mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] and [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]] help the experimenter identify factors that affect the response. Once the important factors have been identified, the next step is to determine the settings for these factors that result in the optimum value of the response. The optimum value of the response may either be a maximum value or a minimum value, depending upon the product or process in question. For example, if the response in an experiment is the yield from a chemical process, then the objective might be to find the settings of the factors affecting the yield so that the yield is maximized. On the other hand, if the response in an experiment is the number of defects, then the goal would be to find the factor settings that minimize the number of defects. Methodologies that help the experimenter reach the goal of optimum response are referred to as &#039;&#039;response surface methods&#039;&#039;. These methods are exclusively used to examine the &amp;quot;surface,&amp;quot; or the relationship between the response and the factors affecting the response. Regression models are used for the analysis of the response, as the focus now is on the nature of the relationship between the response and the factors, rather than identification of the important factors.&lt;br /&gt;
&lt;br /&gt;
Response surface methods usually involve the following steps:&lt;br /&gt;
&lt;br /&gt;
#The experimenter needs to move from the present operating conditions to the vicinity of the operating conditions where the response is optimum. This is done using the &#039;&#039;method of steepest ascent&#039;&#039; in the case of maximizing the response. The same method can be used to minimize the response and is then referred to as the &#039;&#039;method of steepest descent&#039;&#039;.&lt;br /&gt;
#Once in the vicinity of the optimum response the experimenter needs to fit a more elaborate model between the response and the factors. Special experiment designs, referred to as [[Response_Surface_Methods_for_Optimization#RSM_Designs|&#039;&#039;RSM designs&#039;&#039;]], are used to accomplish this. The fitted model is used to arrive at the best operating conditions that result in either a maximum or minimum response.&lt;br /&gt;
#It is possible that a number of responses may have to be optimized at the same time. For example, an experimenter may want to maximize strength, while keeping the number of defects to a minimum. The optimum settings for each of the responses in such cases may lead to conflicting settings for the factors. A balanced setting has to be found that gives the most appropriate values for all the responses. Desirability functions are useful in these cases.&lt;br /&gt;
&lt;br /&gt;
==Method of Steepest Ascent==&lt;br /&gt;
The first step in obtaining the optimum response settings, after the important factors have been identified, is to explore the region around the current operating conditions to decide what direction needs to be taken to move towards the optimum region. Usually, a first order regression model (containing just the main effects and no interaction terms) is sufficient at the current operating conditions because the operating conditions are normally far from the optimum response settings. The experimenter needs to move from the current operating conditions to the optimum region in the most efficient way by using the minimum number of experiments. This is done using the method of steepest ascent. In this method, the contour plot of the first order model is used to decide the settings for the next experiment, in order to move towards the optimum conditions. Consider a process where the response has been found to be a function of two factors. To explore the region around the current operating conditions, the experimenter fits the following first order model between the response and the two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface plot for the model, along with the contours, is shown in the figure below. It can be seen in the figure that in order to maximize the response, the most efficient direction in which to move the experiment is along the line perpendicular to the contours. This line, also referred to as the path of steepest ascent, is the line along which the rate of increase of the response is maximum. The steps along this line to move towards the optimum region are proportional to the regression coefficients, &amp;lt;math&amp;gt;{{\beta }_{j}},\,\!&amp;lt;/math&amp;gt; of the fitted first order model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_1.png|center|504px|Path of steepest ascent for the model &amp;lt;math&amp;gt;y=\beta_0+\beta_1 x_1+\beta_2 x_2+\epsilon \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Experiments are conducted along each step of the path of steepest ascent until an increase in the response is not seen. Then, a new first order model is fit at the region of the maximum response. If the first order model shows a lack of fit, then this indicates that the experimenter has reached the vicinity of the optimum. RSM designs are then used explore the region thoroughly and obtain the point of the maximum response. If the first order model does not show a lack of fit, then a new path of steepest ascent is determined and the process is repeated.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The yield from a chemical process is found to be affected by two factors: reaction temperature and reaction time. The current reaction temperature is 230 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time is 65 minutes. The experimenter wants to determine the settings of the two factors such that maximum yield can be obtained from the process. To explore the region around the current operating conditions, the experimenter decides to use a single replicate of the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design. The range of the factors for this design are chosen to be (225, 235) &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for the reaction temperature and (55, 75) minutes for the reaction time. The unreplicated &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design is also augmented with five runs at the center point to estimate the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, and check for model adequacy. The response values obtained for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.2.png|center|256px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region around current operating conditions for a chemical process.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, this design can be set up using the properties shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_3.png|center|809px|Design properties for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design and the analysis results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_4.png|center|778px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment design in to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_5.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the results shown are in terms of the coded values of the factors (taking -1 as the value of the lower settings for reaction temperature and reaction time and +1 as the value for the higher settings for these two factors). The results show that the factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (temperature) and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (time), affect the response significantly but their interaction does not affect the response. Therefore the interaction term can be dropped from the model for this experiment. The results also show that Curvature is not a significant factor. This indicates that the first order model is adequate for the experiment at the current operating conditions. Using these two conclusions, the model for the current operating conditions, in terms the coded variables is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{y}=36.6375+1.1635x_{1}+0.4875x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt; represents the yield and &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; are the predictor variables for the two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively. To further confirm the adequacy of the model of the equation given above, the experiment can be analyzed again after dropping the interaction term, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_6.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results show that the lack-of-fit for this model (because of the deficiency created in the model by the absence of the interaction term) is not significant, confirming that the model is adequate.&lt;br /&gt;
&lt;br /&gt;
==Path of Steepest Ascent==&lt;br /&gt;
The contour plot for the model used in the above example is shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_7.png|center|650px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression coefficients for the model are &amp;lt;math&amp;gt;\hat{\beta}_{1}= 1.1625\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{\beta}_{2}= 0.4875\,\!&amp;lt;/math&amp;gt;. To move towards the optimum, the experimenter needs to move along the path of steepest ascent, which lies perpendicular to the contours. This path is the line through the center point of the current operating conditions (&amp;lt;math&amp;gt;x_{1}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}=0\,\!&amp;lt;/math&amp;gt;) with a slope of &amp;lt;math&amp;gt;\hat{\beta}_{2}/\hat{\beta}_{1}\,\!&amp;lt;/math&amp;gt;. Therefore, in terms of the coded variables, the experiment should be moved 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. To move along this path, the experimenter decides to use a step-size of 10 minutes for the reaction time, &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;. The coded value for this step size can be obtained as follows. Recall from [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]] that the relationship between coded and actual values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{actual\ value - mean}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{step\ size\ in\ actual\ value}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, for a step-size of 10 minutes, the equivalent step size in coded value for &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{half\ of\ range\ of\ x_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{(75-55)/2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of the coded variables, the path of steepest ascent requires a move of 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. The step-size for &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded value corresponding to any step-size in &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot(step\ size\ in\ x_{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the step-size for the reaction temperature, &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded variables is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{1.1625}{0.4875}\cdot1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This corresponds to a step of approximately 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for temperature in terms of the actual value as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
step\ size\ in\ actual\ value = &amp;amp; (coded\ value)\cdot(half\ of\ the\ range\ of\ x_{1})\\&lt;br /&gt;
= &amp;amp; 2.39\cdot10/2\\&lt;br /&gt;
= &amp;amp; 11.95&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a step of 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and 10 minutes, the experimenter conducts experiments until no further increase is observed in the yield. The yield values at each step are shown in the table given next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet9.1.png|center|341px|Response values at each step of the path of steepest ascent for the experiment to investigate the yield of a chemical process. Units for factor levels and the response have been omitted.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The yield starts decreasing after the reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time of 165 minutes, indicating that this point may lie close to the optimum region. To analyze the vicinity of this point, a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented by five center points is selected. The range of exploration is chosen to be 345 to 355 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for reaction temperature and 155 to 175 minutes for reaction time. The response values recorded are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.8.png|center|348px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region of maximum response obtained from the path of steepest ascent. Note that the center point of this design is the new origin.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_9.png|center|760px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the region of maximum response.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the results, Curvature is displayed as a significant factor. This indicates that the first order model is not adequate for this region of the experiment and a higher order model is required. As a result, the methodology of steepest ascent can no longer be used. The presence of curvature indicates that the experiment region may be close to the optimum. Special designs that allow the use of second order models are needed at this point.&lt;br /&gt;
&lt;br /&gt;
==RSM Designs==&lt;br /&gt;
A second order model is generally used to approximate the response once it is realized that the experiment is close to the optimum response region where a first order model is no longer adequate. The second order model is usually sufficient for the optimum region, as third order and higher effects are seldom important. The second order regression model takes the following form for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+...+{{\beta }_{k}}{{x}_{k}}+ \\ &lt;br /&gt;
 &amp;amp; {{\beta }_{11}}x_{1}^{2}+{{\beta }_{22}}x_{2}^{2}+...+{{\beta }_{kk}}x_{k}^{2}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+...+{{\beta }_{k-1,k}}{{x}_{k-1}}{{x}_{k}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model contains &amp;lt;math&amp;gt;p=(k+1)(k+2)/2\,\!&amp;lt;/math&amp;gt; regression parameters that include coefficients for main effects (&amp;lt;math&amp;gt;{{\beta }_{1}},{{\beta }_{2}}...{{\beta }_{k}}\,\!&amp;lt;/math&amp;gt;), coefficients for quadratic main effects (&amp;lt;math&amp;gt;{{\beta }_{11}},{{\beta }_{22}}...{{\beta }_{kk}}\,\!&amp;lt;/math&amp;gt;) and coefficients for two factor interaction effects (&amp;lt;math&amp;gt;{{\beta }_{12}},{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt;... &amp;lt;math&amp;gt;{{\beta }_{k-1,k}}\,\!&amp;lt;/math&amp;gt;). A full factorial design with all factors at three levels would provide estimation of all the required regression parameters. However, full factorial three level designs are expensive to use as the number of runs increases rapidly with the number of factors. For example, a three factor full factorial design with each factor at three levels would require &amp;lt;math&amp;gt;{{3}^{3}}=27\,\!&amp;lt;/math&amp;gt; runs while a design with four factors would require &amp;lt;math&amp;gt;{{3}^{4}}=81\,\!&amp;lt;/math&amp;gt; runs. Additionally, these designs will estimate a number of higher order effects which are usually not of much importance to the experimenter. Therefore, for the purpose of analysis of response surfaces, special designs are used that help the experimenter fit the second order model to the response with the use of a minimum number of runs. Examples of these designs are the central composite and Box-Behnken designs.&lt;br /&gt;
&lt;br /&gt;
===Central Composite Designs===&lt;br /&gt;
Central composite designs are two level full factorial (&amp;lt;math&amp;gt;2^{k}\,\!&amp;lt;/math&amp;gt;) or fractional factorial (&amp;lt;math&amp;gt;2^{k-f}\,\!&amp;lt;/math&amp;gt;) designs augmented by a number of center points and other chosen runs. These designs are such that they allow the estimation of all the regression parameters required to fit a second order model to a given response.&lt;br /&gt;
&lt;br /&gt;
The simplest of the central composite designs can be used to fit a second order model to a response with two factors. The design consists of a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; full factorial design augmented by a few runs at the center point (such a design is shown in figure (a) given below). A central composite design is obtained when runs at points (&amp;lt;math&amp;gt;-1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;0,-1\,\!&amp;lt;/math&amp;gt;) and (&amp;lt;math&amp;gt;0,1\,\!&amp;lt;/math&amp;gt;) are added to this design. These points are referred to as &#039;&#039;axial points&#039;&#039; or &#039;&#039;star points&#039;&#039; and represent runs where all but one of the factors are set at their mid-levels. The number of axial points in a central composite design having &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors is &amp;lt;math&amp;gt;2k\,\!&amp;lt;/math&amp;gt;. The distance of the axial points from the center point is denoted by &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; and is always specified in terms of coded values. For example, the central composite design in figure (b) given below has &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt;, while for the design of figure (c) &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.10.png|center|227px|Central composite designs: (a) shows the &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design with center point runs, (b) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=1\,\!&amp;lt;/math&amp;gt; and (c) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=\sqrt{2}\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be noted that when &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt;, each factor is run at five levels (&amp;lt;math&amp;gt;-\alpha \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt;) instead of the three levels of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;. The reason for running central composite designs with &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt; is to have a rotatable design, which is explained next.&lt;br /&gt;
&lt;br /&gt;
====Rotatability====&lt;br /&gt;
A central composite design is said to be &#039;&#039;rotatable&#039;&#039; if the variance of any predicted value of the response, &amp;lt;math&amp;gt;{{\hat{y}}_{p}}\,\!&amp;lt;/math&amp;gt;, for any level of the factors depends only on the distance of the point from the center of the design, regardless of the direction. In other words, a rotatable central composite design provides constant variance of the estimated response corresponding to all new observation points that are at the same distance from the center point of the design (in terms of the coded variables). &lt;br /&gt;
&lt;br /&gt;
The variance of the predicted response at any point, &amp;lt;math&amp;gt;{{x}_{p}}\,\!&amp;lt;/math&amp;gt;, is given as follows: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]={{\sigma }^{2}}x_{p}^{\prime }{{({{X}^{\prime }}X)}^{-1}}{{x}_{p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The contours of &amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]\,\!&amp;lt;/math&amp;gt; for the central composite design in figure (c) above are shown in the figure below. The contours are concentric circles indicating that the central composite design of figure (c) is rotatable. Rotatability is a desirable property because the experimenter does not have any prior information about the location of the optimum. Therefore, a design that provides equal precision of estimation in all directions would be preferred. Such a design will assure the experimenter that no matter what direction is taken to search for the optimum, he/she will be able to estimate the response value with equal precision. A central composite design is rotatable if the value of &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; for the design satisfies the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha ={{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{n}_{f}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs in the original factorial design and &amp;lt;math&amp;gt;{{n}_{s}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs at the axial points. For example, a central composite design with two factors, having a single replicate of the original factorial design, and a single replicate of all the axial points, would be rotatable for the following &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; value:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\alpha = &amp;amp; {{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; {{\left[ \frac{{{2}^{2}}(1)}{1} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; \sqrt{2} \\ &lt;br /&gt;
= &amp;amp; 1.414  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, a central composite design in two factors, having a single replicate of the original &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design and axial points, and with &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;, is a rotatable design. This design is shown in figure (c) above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.11.png|center|266px|The countours of &amp;lt;math&amp;gt;V[\hat{y}_p] \,\!&amp;lt;/math&amp;gt; for the rotatable two factor central composite design.]]&lt;br /&gt;
&lt;br /&gt;
====Spherical Design====&lt;br /&gt;
A central composite design is said to be &#039;&#039;spherical&#039;&#039; if all factorial and axial points are at same distance from the center of the design. Spherical central composite designs are obtained by setting &amp;lt;math&amp;gt;\alpha =\sqrt{k}\,\!&amp;lt;/math&amp;gt;. For example, the rotatable design in the figure above (c) is also a spherical design because for this design &amp;lt;math&amp;gt;\alpha =\sqrt{k}=\sqrt{2}=1.414\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Face-centered Design====&lt;br /&gt;
Central composite designs in which the axial points represent the mid levels for all but one of the factors are also referred to as &#039;&#039;face-centered&#039;&#039; central composite designs. For these designs, &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt; and all factors are run at three levels, which are &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1,\,\!&amp;lt;/math&amp;gt; in terms of the coded values (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.12.png|center|300px|Face-centered central composite design for three factors.]]&lt;br /&gt;
&lt;br /&gt;
===Box-Behnken Designs===&lt;br /&gt;
In [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]], highly fractional designs introduced by Plackett and Burman were discussed. Plackett-Burman designs are used to estimate main effects in the case of two level fractional factorial experiments using very few runs. [[DOE_References|[G. E. P. Box and D. W. Behnken (1960)]]] introduced similar designs for three level factors that are widely used in response surface methods to fit second-order models to the response. The designs are referred to as Box-Behnken designs. The designs were developed by the combination of two level factorial designs with incomplete block designs. For example, the figure below shows the Box-Behnken design for three factors. The design is obtained by the combination of &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with a balanced incomplete block design having three treatments and three blocks (for details see [[DOE_References|[Box 1960, Montgomery 2001]]]). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.13.png|center|400px|Box-Behnken design for three factors: (a) shows the geometric representation and (b) shows the design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The advantages of Box-Behnken designs include the fact that they are all spherical designs and require factors to be run at only three levels. The designs are also rotatable or nearly rotatable. Some of these designs also provide orthogonal blocking. Thus, if there is a need to separate runs into blocks for the Box-Behnken design, then designs are available that allow blocks to be used in such a way that the estimation of the regression parameters for the factor effects are not affected by the blocks. In other words, in these designs the block effects are orthogonal to the other factor effects. Yet another advantage of these designs is that there are no runs where all factors are at either the &amp;lt;math&amp;gt;+1\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; levels. For example, in the figure below the representation of the Box-Behnken design for three factors clearly shows that there are no runs at the corner points. This could be advantageous when the corner points represent runs that are expensive or inconvenient because they lie at the end of the range of the factor levels. A few of the Box-Behnken designs available in DOE++ are presented in [[Box-Behnken_Designs|Appendix F]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the first order model was found to be inadequate for the region near the optimum. Once the experimenter realized that the first order model was not adequate (for the region with a reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and reaction time of 165 minutes), it was decided to augment the experiment with axial runs to be able to complete a central composite design and fit a second order model to the response.  Notice the advantage of using a central composite design, as the experimenter only had to add the axial runs to the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with center point runs, and did not have to begin a new experiment. The experimenter decided to use &amp;lt;math&amp;gt;\alpha =1.4142\,\!&amp;lt;/math&amp;gt; to get a rotatable design. The obtained response values are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.14.png|center|280px|Response values for the two factor central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such a design can be set up in a Weibull++ DOE folio using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_15.png|center|744px|Properties for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the figure shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_16.png|center|800px|Central composite design for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Results from the analysis of the design are shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_17.png|center|744px|Results for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results in the figure above show that the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the interaction, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, and the quadratic main effects, &amp;lt;math&amp;gt;{{A}^{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{B}^{2}}\,\!&amp;lt;/math&amp;gt;, (represented as AA and BB in the figure) are significant. The lack-of-fit test also shows that the second order model with these terms is adequate and a higher order model is not needed. Using these results, the model for the experiment in terms of the coded values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface and the contour plot for this model, in terms of the actual variables, are shown in the below figures (a) and (b), respectively.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_a.png|center|650px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_b.png|center|650px|Response surface and countour plot for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Analysis of the Second Order Model==&lt;br /&gt;
Once a second order model is fit to the response, the next step is to locate the point of maximum or minimum response. The second order model for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{i}}{{x}_{i}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{ii}}x_{i}^{2}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,\underset{j=1}{\overset{i-1}{\mathop{\sum }}}\,{{\hat{\beta }}_{ij}}{{x}_{i}}{{x}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The point for which the response, &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt;, is optimized is the point at which the partial derivatives, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;...\partial \hat{y}/\partial {{x}_{k}},\,\!&amp;lt;/math&amp;gt; are all equal to zero. This point is called the &#039;&#039;stationary point&#039;&#039;. The stationary point may be a point of maximum response, minimum response or a saddle point. These three conditions are shown in the following figures (a), (b) and (c) respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.19.png|center|300px|Types of second order response surfaces and their contour plots. (a) shows the surface with a maximum point, (b) shows the surface with a minimum point and (c) shows the surface with a saddle point.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that these conditions are easy to identify, in the case of two factor experiments, by the inspection of the contour plots. However, when more than two factors exist in an experiment, then the general mathematical solution for the location of the stationary point has to be used. The equation given above can be written in matrix notation as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+{{x}^{\prime }}b+{{x}^{\prime }}Bx\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x=\left[ \begin{matrix}&lt;br /&gt;
   {{x}_{1}}  \\&lt;br /&gt;
   {{x}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{x}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   }b=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{1}}  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   and   }B=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{11}} &amp;amp; {{{\hat{\beta }}}_{12}}/2 &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{1k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {{{\hat{\beta }}}_{22}} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{2k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   \text{sym}\text{.} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {{{\hat{\beta }}}_{kk}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the stationary point can be determined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\partial \hat{y}}{\partial x}=b+2Bx=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{s}}=-\frac{1}{2}{{B}^{-1}}b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The optimum response is the response corresponding to &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt;. The optimum response can be obtained to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{y}}_{s}}={{\hat{\beta }}_{0}}+\frac{1}{2}x_{s}^{\prime }b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the stationary point is known, it is necessary to determine if it is a maximum or minimum or saddle point. To do this, the second order model has to be transformed to the canonical form. This is done by transforming the model to a new coordinate system such that the origin lies at the stationary point and the axes are parallel to the principal axes of the fitted response surface, shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.20.png|center|247px|The second order model in canonical form.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting model equation then takes the following form: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{y}}_{s}}+{{\lambda }_{1}}w_{1}^{2}+{{\lambda }_{2}}w_{2}^{2}+...+{{\lambda }_{k}}w_{k}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{w}_{i}}\,\!&amp;lt;/math&amp;gt; s are the transformed independent variables, and &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are constants that are also the eigenvalues of the matrix &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. The nature of the stationary point is known by looking at the signs of the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt; s are all negative, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of maximum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are all positive then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of minimum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s have different signs, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a saddle point. &lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the [[Response_Surface_Methods_for_Optimization#Example_2| example]] in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the second order model fitted to the response, in terms of the coded variables, was obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrices for this model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;b=\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right]\text{      }B=\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{x}_{s}}= &amp;amp; -\frac{1}{2}{{B}^{-1}}b \\ &lt;br /&gt;
= &amp;amp; -\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, in terms of the actual values, the stationary point can be found as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Temperature:} &amp;amp; 0.3=\frac{T-350}{(355-345)/2} \\ &lt;br /&gt;
T= &amp;amp; 351.5\text{ }F  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Time:} &amp;amp; 0.4=\frac{t-165}{(175-155)/2} \\ &lt;br /&gt;
t= &amp;amp; 169.0\text{ minutes}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To find the nature of the stationary point the eigenvalues of the &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrix can be obtained as follows using the determinant of the matrix &amp;lt;math&amp;gt;B-\lambda I\,\!&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left| B-\lambda I \right|= &amp;amp; 0 \\ &lt;br /&gt;
\left| \begin{matrix}&lt;br /&gt;
   -1.52-\lambda  &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08-\lambda   \\&lt;br /&gt;
\end{matrix} \right|= &amp;amp; 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This gives us:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }^{2}}+3.61\lambda +2.9743=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solving the quadratic equation in &amp;lt;math&amp;gt;\lambda \,\!&amp;lt;/math&amp;gt; returns the eigenvalues &amp;lt;math&amp;gt;{{\lambda }_{1}}=-1.2723\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\lambda }_{2}}=-2.3377\,\!&amp;lt;/math&amp;gt;. Since both the eigenvalues are negative, it can be concluded that the stationary point is a point of maximum response. The predicted value of the maximum response can be obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\hat{y}}}_{s}}= &amp;amp; {{{\hat{\beta }}}_{0}}+\frac{1}{2}x_{s}^{\prime }b \\ &lt;br /&gt;
= &amp;amp; 94.91+\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]}^{\prime }}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; 95.3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the maximum response can be obtained by entering the required values as shown in the figure below. In the figure, the goal is to maximize the response and the limits of the search range for maximizing the response are entered as 90 and 100. The value of the maximum response and the corresponding values of the factors obtained are shown in the second figure following. These values match the values calculated in this example.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_21.png|center|543px|Settings to obtain the maximum value of the response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_22.png|center|650px|Plot of the maximum response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]] against the factors, temperature and time.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Multiple Responses==&lt;br /&gt;
In many cases, the experimenter has to optimize a number of responses at the same time. For the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], assume that the experimenter has to also consider two other responses: cost of the product (which should be minimized) and the pH of the product (which should be close to 7 so that the product is neither acidic nor basic). The data is presented in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.23.png|center|400px|Data for the additional responses of cost and pH for the example to investigate the yield of a chemical process.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem in dealing with multiple responses is that now there might be conflicting objectives because of the different requirements of each of the responses. The experimenter needs to come up with a solution that satisfies each of the requirements as much as possible without compromising too much on any of the requirements. The approach used in a Weibull++ DOE folio to deal with optimization of multiple responses involves the use of desirability functions that are discussed next (for details see [[DOE_References|[Derringer and Suich, 1980]]]).&lt;br /&gt;
&lt;br /&gt;
===Desirability Functions===&lt;br /&gt;
Under this approach, each &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response is assigned a desirability function, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt;, where the value of &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; varies between 0 and 1. The function, &amp;lt;math&amp;gt;{{d}_{i}},\,\!&amp;lt;/math&amp;gt; is defined differently based on the objective of the response. If the response is to be maximized, as in the case of the previous example where the yield had to be maximized, then &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{\omega }} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;gt;T  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; represents the target value of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the acceptable lower limit value for this response and &amp;lt;math&amp;gt;\omega \,\!&amp;lt;/math&amp;gt; represents the weight. When &amp;lt;math&amp;gt;\omega =1\,\!&amp;lt;/math&amp;gt; the function &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is linear. If &amp;lt;math&amp;gt;\omega &amp;gt;1\,\!&amp;lt;/math&amp;gt; then more importance is placed on achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;\omega &amp;lt;1\,\!&amp;lt;/math&amp;gt;, less weight is assigned to achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. A graphical representation is shown in figure (a) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.24.png|center|400px|Desirability function plots for different response optimizations: (a) the goal is to maximize the response, (b) the goal is to minimize the response and (c) the goal is to get the response to a target value.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the response is to be minimized, as in the case when the response is cost, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;lt;T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{\omega }} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;math&amp;gt;U\,\!&amp;lt;/math&amp;gt; represents the acceptable upper limit for the response (see figure (b) above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be times when the experimenter wants the response to be neither maximized nor minimized, but instead stay as close to a specified target as possible. For example, in the case where the experimenter wants the product to be neither acidic nor basic, there is a requirement to keep the pH close to the neutral value of 7. In such cases, the desirability function is defined as follows (see figure (c) above):&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{{{\omega }_{1}}}} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{{{\omega }_{2}}}} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once a desirability function is defined for each of the responses, assuming that there are &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; responses, an overall desirability function is obtained as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;D={{(d_{1}^{{{r}_{1}}}\cdot d_{2}^{{{r}_{2}}}\cdot ...\cdot d_{m}^{{{r}_{m}}})}^{1/({{r}_{1}}+{{r}_{2}}+...+{{r}_{m}})}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt; s represent the importance of each response. The greater the value of &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt;, the more important the response with respect to the other responses. The objective is to now find the settings that return the maximum value of &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of desirability functions, consider the previous example with the three responses of yield, cost and pH. The response surfaces for the two additional responses of cost and pH are shown next in the figures (a) and (b), respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_25.png|center|500px|Response surfaces for (a) cost and (b) pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of actual variables, the models obtained for all three responses are as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Yield: } &amp;amp; {{{\hat{y}}}_{1}}=-7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
\text{Cost: } &amp;amp; {{{\hat{y}}}_{2}}=15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
\text{pH: } &amp;amp; {{{\hat{y}}}_{3}}=38.87-0.0709{{x}_{1}}-0.041{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Assume that the experimenter wants to have a target yield value of 95, although any value of yield greater than 94 is acceptable. Then the desirability function for yield is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{1}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{1}}&amp;lt;94  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{1}}-94}{95-94} \right)}^{\omega }} &amp;amp; 94\le {{y}_{1}}\le 95  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{1}}&amp;gt;95  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the cost, assume that the experimenter wants to lower the cost to 400, although any cost value below 415 is acceptable. Then the desirability function for cost is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{2}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{2}}&amp;lt;400  \\&lt;br /&gt;
   {{\left( \frac{415-{{y}_{2}}}{415-400} \right)}^{\omega }} &amp;amp; 400\le {{y}_{2}}\le 415  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{2}}&amp;gt;415  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the pH, a target of 7 is desired but values between 6.9 and 7.1 are also acceptable. Thus, the desirability function here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{3}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{3}}-6.9}{7-6.9} \right)}^{{{\omega }_{1}}}} &amp;amp; 6.9\le {{y}_{3}}\le 7  \\&lt;br /&gt;
   {{\left( \frac{7.1-{{y}_{3}}}{7.1-7} \right)}^{{{\omega }_{2}}}} &amp;amp; 7\le {{y}_{3}}\le 7.1  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;gt;7.1  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that in the previous equations all weights used (&amp;lt;math&amp;gt;{{\omega }_{i}}\,\!&amp;lt;/math&amp;gt; s) are 1. Thus, all three desirability functions are linear. The overall desirability function, assuming equal importance (&amp;lt;math&amp;gt;{{r}_{1}}={{r}_{2}}={{r}_{3}}=1\,\!&amp;lt;/math&amp;gt;) for all the responses, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; f({{{\hat{y}}}_{1}},{{{\hat{y}}}_{2}},{{{\hat{y}}}_{3}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of the experimenter is to find the settings of &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; such that the overall desirability, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, is maximum. In a DOE folio, the settings for the desirability functions for each of the three responses can be entered as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_26.png|center|750px|Optimization settings for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on these settings, the Weibull++ DOE folio solves this optimization problem to obtain the following solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_27.png|center|650px|Optimum solution from DOE++ for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Temperature= &amp;amp; 351.5\text{ }F\text{ } \\ &lt;br /&gt;
Time= &amp;amp; 169\text{ }minutes  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The overall desirability achieved with this solution can be calculated easily. The values of each of the response for these settings are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{ }{{{\hat{y}}}_{1}}= &amp;amp; -7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; -7480.24+41.24(351.5)+3.88(169)+0.009(351.3)(169) \\ &lt;br /&gt;
 &amp;amp; -0.060825{{(351.5)}^{2}}-0.020831{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 95.3 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{2}}= &amp;amp; 15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; 15560.49-82.48(351.5)-7.76(169)-0.02(351.5)(169) \\ &lt;br /&gt;
 &amp;amp; +0.12165{{(351.5)}^{2}}+0.041663{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 409.35 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{3}}= &amp;amp; 38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \\ &lt;br /&gt;
= &amp;amp; 38.87-0.0709(351.5)-0.041(169) \\ &lt;br /&gt;
= &amp;amp; 7.00  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the response values, the individual desirability functions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{d}_{1}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{1}}&amp;gt;95\text{)} \\ &lt;br /&gt;
{{d}_{2}}= &amp;amp; \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right)\text{   (since  }400\le {{y}_{2}}\le 415\text{)} \\ &lt;br /&gt;
= &amp;amp; \left( \frac{415-409.35}{415-400} \right) \\ &lt;br /&gt;
= &amp;amp; 0.3767 \\ &lt;br /&gt;
{{d}_{3}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{3}}\approx 7\text{)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the overall desirability is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; {{(1\cdot 0.3767\cdot 1)}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; 0.72  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the same as the Global Desirability displayed by the Weibull++ DOE folio in the figure above. At times, a number of solutions may be obtained from the DOE folio, and it is up to the experimenter to choose the most feasible one.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65221</id>
		<title>Response Surface Methods for Optimization</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65221"/>
		<updated>2017-08-10T17:18:03Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Multiple Responses */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|10}}&lt;br /&gt;
The experiment designs mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] and [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]] help the experimenter identify factors that affect the response. Once the important factors have been identified, the next step is to determine the settings for these factors that result in the optimum value of the response. The optimum value of the response may either be a maximum value or a minimum value, depending upon the product or process in question. For example, if the response in an experiment is the yield from a chemical process, then the objective might be to find the settings of the factors affecting the yield so that the yield is maximized. On the other hand, if the response in an experiment is the number of defects, then the goal would be to find the factor settings that minimize the number of defects. Methodologies that help the experimenter reach the goal of optimum response are referred to as &#039;&#039;response surface methods&#039;&#039;. These methods are exclusively used to examine the &amp;quot;surface,&amp;quot; or the relationship between the response and the factors affecting the response. Regression models are used for the analysis of the response, as the focus now is on the nature of the relationship between the response and the factors, rather than identification of the important factors.&lt;br /&gt;
&lt;br /&gt;
Response surface methods usually involve the following steps:&lt;br /&gt;
&lt;br /&gt;
#The experimenter needs to move from the present operating conditions to the vicinity of the operating conditions where the response is optimum. This is done using the &#039;&#039;method of steepest ascent&#039;&#039; in the case of maximizing the response. The same method can be used to minimize the response and is then referred to as the &#039;&#039;method of steepest descent&#039;&#039;.&lt;br /&gt;
#Once in the vicinity of the optimum response the experimenter needs to fit a more elaborate model between the response and the factors. Special experiment designs, referred to as [[Response_Surface_Methods_for_Optimization#RSM_Designs|&#039;&#039;RSM designs&#039;&#039;]], are used to accomplish this. The fitted model is used to arrive at the best operating conditions that result in either a maximum or minimum response.&lt;br /&gt;
#It is possible that a number of responses may have to be optimized at the same time. For example, an experimenter may want to maximize strength, while keeping the number of defects to a minimum. The optimum settings for each of the responses in such cases may lead to conflicting settings for the factors. A balanced setting has to be found that gives the most appropriate values for all the responses. Desirability functions are useful in these cases.&lt;br /&gt;
&lt;br /&gt;
==Method of Steepest Ascent==&lt;br /&gt;
The first step in obtaining the optimum response settings, after the important factors have been identified, is to explore the region around the current operating conditions to decide what direction needs to be taken to move towards the optimum region. Usually, a first order regression model (containing just the main effects and no interaction terms) is sufficient at the current operating conditions because the operating conditions are normally far from the optimum response settings. The experimenter needs to move from the current operating conditions to the optimum region in the most efficient way by using the minimum number of experiments. This is done using the method of steepest ascent. In this method, the contour plot of the first order model is used to decide the settings for the next experiment, in order to move towards the optimum conditions. Consider a process where the response has been found to be a function of two factors. To explore the region around the current operating conditions, the experimenter fits the following first order model between the response and the two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface plot for the model, along with the contours, is shown in the figure below. It can be seen in the figure that in order to maximize the response, the most efficient direction in which to move the experiment is along the line perpendicular to the contours. This line, also referred to as the path of steepest ascent, is the line along which the rate of increase of the response is maximum. The steps along this line to move towards the optimum region are proportional to the regression coefficients, &amp;lt;math&amp;gt;{{\beta }_{j}},\,\!&amp;lt;/math&amp;gt; of the fitted first order model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_1.png|center|504px|Path of steepest ascent for the model &amp;lt;math&amp;gt;y=\beta_0+\beta_1 x_1+\beta_2 x_2+\epsilon \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Experiments are conducted along each step of the path of steepest ascent until an increase in the response is not seen. Then, a new first order model is fit at the region of the maximum response. If the first order model shows a lack of fit, then this indicates that the experimenter has reached the vicinity of the optimum. RSM designs are then used explore the region thoroughly and obtain the point of the maximum response. If the first order model does not show a lack of fit, then a new path of steepest ascent is determined and the process is repeated.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The yield from a chemical process is found to be affected by two factors: reaction temperature and reaction time. The current reaction temperature is 230 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time is 65 minutes. The experimenter wants to determine the settings of the two factors such that maximum yield can be obtained from the process. To explore the region around the current operating conditions, the experimenter decides to use a single replicate of the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design. The range of the factors for this design are chosen to be (225, 235) &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for the reaction temperature and (55, 75) minutes for the reaction time. The unreplicated &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design is also augmented with five runs at the center point to estimate the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, and check for model adequacy. The response values obtained for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.2.png|center|256px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region around current operating conditions for a chemical process.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, this design can be set up using the properties shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_3.png|center|809px|Design properties for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design and the analysis results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_4.png|center|778px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment design in to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_5.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the results shown are in terms of the coded values of the factors (taking -1 as the value of the lower settings for reaction temperature and reaction time and +1 as the value for the higher settings for these two factors). The results show that the factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (temperature) and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (time), affect the response significantly but their interaction does not affect the response. Therefore the interaction term can be dropped from the model for this experiment. The results also show that Curvature is not a significant factor. This indicates that the first order model is adequate for the experiment at the current operating conditions. Using these two conclusions, the model for the current operating conditions, in terms the coded variables is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{y}=36.6375+1.1635x_{1}+0.4875x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt; represents the yield and &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; are the predictor variables for the two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively. To further confirm the adequacy of the model of the equation given above, the experiment can be analyzed again after dropping the interaction term, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_6.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results show that the lack-of-fit for this model (because of the deficiency created in the model by the absence of the interaction term) is not significant, confirming that the model is adequate.&lt;br /&gt;
&lt;br /&gt;
==Path of Steepest Ascent==&lt;br /&gt;
The contour plot for the model used in the above example is shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_7.png|center|650px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression coefficients for the model are &amp;lt;math&amp;gt;\hat{\beta}_{1}= 1.1625\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{\beta}_{2}= 0.4875\,\!&amp;lt;/math&amp;gt;. To move towards the optimum, the experimenter needs to move along the path of steepest ascent, which lies perpendicular to the contours. This path is the line through the center point of the current operating conditions (&amp;lt;math&amp;gt;x_{1}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}=0\,\!&amp;lt;/math&amp;gt;) with a slope of &amp;lt;math&amp;gt;\hat{\beta}_{2}/\hat{\beta}_{1}\,\!&amp;lt;/math&amp;gt;. Therefore, in terms of the coded variables, the experiment should be moved 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. To move along this path, the experimenter decides to use a step-size of 10 minutes for the reaction time, &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;. The coded value for this step size can be obtained as follows. Recall from [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]] that the relationship between coded and actual values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{actual\ value - mean}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{step\ size\ in\ actual\ value}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, for a step-size of 10 minutes, the equivalent step size in coded value for &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{half\ of\ range\ of\ x_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{(75-55)/2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of the coded variables, the path of steepest ascent requires a move of 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. The step-size for &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded value corresponding to any step-size in &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot(step\ size\ in\ x_{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the step-size for the reaction temperature, &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded variables is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{1.1625}{0.4875}\cdot1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This corresponds to a step of approximately 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for temperature in terms of the actual value as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
step\ size\ in\ actual\ value = &amp;amp; (coded\ value)\cdot(half\ of\ the\ range\ of\ x_{1})\\&lt;br /&gt;
= &amp;amp; 2.39\cdot10/2\\&lt;br /&gt;
= &amp;amp; 11.95&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a step of 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and 10 minutes, the experimenter conducts experiments until no further increase is observed in the yield. The yield values at each step are shown in the table given next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet9.1.png|center|341px|Response values at each step of the path of steepest ascent for the experiment to investigate the yield of a chemical process. Units for factor levels and the response have been omitted.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The yield starts decreasing after the reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time of 165 minutes, indicating that this point may lie close to the optimum region. To analyze the vicinity of this point, a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented by five center points is selected. The range of exploration is chosen to be 345 to 355 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for reaction temperature and 155 to 175 minutes for reaction time. The response values recorded are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.8.png|center|348px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region of maximum response obtained from the path of steepest ascent. Note that the center point of this design is the new origin.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_9.png|center|760px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the region of maximum response.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the results, Curvature is displayed as a significant factor. This indicates that the first order model is not adequate for this region of the experiment and a higher order model is required. As a result, the methodology of steepest ascent can no longer be used. The presence of curvature indicates that the experiment region may be close to the optimum. Special designs that allow the use of second order models are needed at this point.&lt;br /&gt;
&lt;br /&gt;
==RSM Designs==&lt;br /&gt;
A second order model is generally used to approximate the response once it is realized that the experiment is close to the optimum response region where a first order model is no longer adequate. The second order model is usually sufficient for the optimum region, as third order and higher effects are seldom important. The second order regression model takes the following form for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+...+{{\beta }_{k}}{{x}_{k}}+ \\ &lt;br /&gt;
 &amp;amp; {{\beta }_{11}}x_{1}^{2}+{{\beta }_{22}}x_{2}^{2}+...+{{\beta }_{kk}}x_{k}^{2}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+...+{{\beta }_{k-1,k}}{{x}_{k-1}}{{x}_{k}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model contains &amp;lt;math&amp;gt;p=(k+1)(k+2)/2\,\!&amp;lt;/math&amp;gt; regression parameters that include coefficients for main effects (&amp;lt;math&amp;gt;{{\beta }_{1}},{{\beta }_{2}}...{{\beta }_{k}}\,\!&amp;lt;/math&amp;gt;), coefficients for quadratic main effects (&amp;lt;math&amp;gt;{{\beta }_{11}},{{\beta }_{22}}...{{\beta }_{kk}}\,\!&amp;lt;/math&amp;gt;) and coefficients for two factor interaction effects (&amp;lt;math&amp;gt;{{\beta }_{12}},{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt;... &amp;lt;math&amp;gt;{{\beta }_{k-1,k}}\,\!&amp;lt;/math&amp;gt;). A full factorial design with all factors at three levels would provide estimation of all the required regression parameters. However, full factorial three level designs are expensive to use as the number of runs increases rapidly with the number of factors. For example, a three factor full factorial design with each factor at three levels would require &amp;lt;math&amp;gt;{{3}^{3}}=27\,\!&amp;lt;/math&amp;gt; runs while a design with four factors would require &amp;lt;math&amp;gt;{{3}^{4}}=81\,\!&amp;lt;/math&amp;gt; runs. Additionally, these designs will estimate a number of higher order effects which are usually not of much importance to the experimenter. Therefore, for the purpose of analysis of response surfaces, special designs are used that help the experimenter fit the second order model to the response with the use of a minimum number of runs. Examples of these designs are the central composite and Box-Behnken designs.&lt;br /&gt;
&lt;br /&gt;
===Central Composite Designs===&lt;br /&gt;
Central composite designs are two level full factorial (&amp;lt;math&amp;gt;2^{k}\,\!&amp;lt;/math&amp;gt;) or fractional factorial (&amp;lt;math&amp;gt;2^{k-f}\,\!&amp;lt;/math&amp;gt;) designs augmented by a number of center points and other chosen runs. These designs are such that they allow the estimation of all the regression parameters required to fit a second order model to a given response.&lt;br /&gt;
&lt;br /&gt;
The simplest of the central composite designs can be used to fit a second order model to a response with two factors. The design consists of a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; full factorial design augmented by a few runs at the center point (such a design is shown in figure (a) given below). A central composite design is obtained when runs at points (&amp;lt;math&amp;gt;-1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;0,-1\,\!&amp;lt;/math&amp;gt;) and (&amp;lt;math&amp;gt;0,1\,\!&amp;lt;/math&amp;gt;) are added to this design. These points are referred to as &#039;&#039;axial points&#039;&#039; or &#039;&#039;star points&#039;&#039; and represent runs where all but one of the factors are set at their mid-levels. The number of axial points in a central composite design having &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors is &amp;lt;math&amp;gt;2k\,\!&amp;lt;/math&amp;gt;. The distance of the axial points from the center point is denoted by &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; and is always specified in terms of coded values. For example, the central composite design in figure (b) given below has &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt;, while for the design of figure (c) &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.10.png|center|227px|Central composite designs: (a) shows the &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design with center point runs, (b) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=1\,\!&amp;lt;/math&amp;gt; and (c) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=\sqrt{2}\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be noted that when &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt;, each factor is run at five levels (&amp;lt;math&amp;gt;-\alpha \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt;) instead of the three levels of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;. The reason for running central composite designs with &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt; is to have a rotatable design, which is explained next.&lt;br /&gt;
&lt;br /&gt;
====Rotatability====&lt;br /&gt;
A central composite design is said to be &#039;&#039;rotatable&#039;&#039; if the variance of any predicted value of the response, &amp;lt;math&amp;gt;{{\hat{y}}_{p}}\,\!&amp;lt;/math&amp;gt;, for any level of the factors depends only on the distance of the point from the center of the design, regardless of the direction. In other words, a rotatable central composite design provides constant variance of the estimated response corresponding to all new observation points that are at the same distance from the center point of the design (in terms of the coded variables). &lt;br /&gt;
&lt;br /&gt;
The variance of the predicted response at any point, &amp;lt;math&amp;gt;{{x}_{p}}\,\!&amp;lt;/math&amp;gt;, is given as follows: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]={{\sigma }^{2}}x_{p}^{\prime }{{({{X}^{\prime }}X)}^{-1}}{{x}_{p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The contours of &amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]\,\!&amp;lt;/math&amp;gt; for the central composite design in figure (c) above are shown in the figure below. The contours are concentric circles indicating that the central composite design of figure (c) is rotatable. Rotatability is a desirable property because the experimenter does not have any prior information about the location of the optimum. Therefore, a design that provides equal precision of estimation in all directions would be preferred. Such a design will assure the experimenter that no matter what direction is taken to search for the optimum, he/she will be able to estimate the response value with equal precision. A central composite design is rotatable if the value of &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; for the design satisfies the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha ={{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{n}_{f}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs in the original factorial design and &amp;lt;math&amp;gt;{{n}_{s}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs at the axial points. For example, a central composite design with two factors, having a single replicate of the original factorial design, and a single replicate of all the axial points, would be rotatable for the following &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; value:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\alpha = &amp;amp; {{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; {{\left[ \frac{{{2}^{2}}(1)}{1} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; \sqrt{2} \\ &lt;br /&gt;
= &amp;amp; 1.414  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, a central composite design in two factors, having a single replicate of the original &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design and axial points, and with &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;, is a rotatable design. This design is shown in figure (c) above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.11.png|center|266px|The countours of &amp;lt;math&amp;gt;V[\hat{y}_p] \,\!&amp;lt;/math&amp;gt; for the rotatable two factor central composite design.]]&lt;br /&gt;
&lt;br /&gt;
====Spherical Design====&lt;br /&gt;
A central composite design is said to be &#039;&#039;spherical&#039;&#039; if all factorial and axial points are at same distance from the center of the design. Spherical central composite designs are obtained by setting &amp;lt;math&amp;gt;\alpha =\sqrt{k}\,\!&amp;lt;/math&amp;gt;. For example, the rotatable design in the figure above (c) is also a spherical design because for this design &amp;lt;math&amp;gt;\alpha =\sqrt{k}=\sqrt{2}=1.414\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Face-centered Design====&lt;br /&gt;
Central composite designs in which the axial points represent the mid levels for all but one of the factors are also referred to as &#039;&#039;face-centered&#039;&#039; central composite designs. For these designs, &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt; and all factors are run at three levels, which are &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1,\,\!&amp;lt;/math&amp;gt; in terms of the coded values (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.12.png|center|300px|Face-centered central composite design for three factors.]]&lt;br /&gt;
&lt;br /&gt;
===Box-Behnken Designs===&lt;br /&gt;
In [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]], highly fractional designs introduced by Plackett and Burman were discussed. Plackett-Burman designs are used to estimate main effects in the case of two level fractional factorial experiments using very few runs. [[DOE_References|[G. E. P. Box and D. W. Behnken (1960)]]] introduced similar designs for three level factors that are widely used in response surface methods to fit second-order models to the response. The designs are referred to as Box-Behnken designs. The designs were developed by the combination of two level factorial designs with incomplete block designs. For example, the figure below shows the Box-Behnken design for three factors. The design is obtained by the combination of &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with a balanced incomplete block design having three treatments and three blocks (for details see [[DOE_References|[Box 1960, Montgomery 2001]]]). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.13.png|center|400px|Box-Behnken design for three factors: (a) shows the geometric representation and (b) shows the design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The advantages of Box-Behnken designs include the fact that they are all spherical designs and require factors to be run at only three levels. The designs are also rotatable or nearly rotatable. Some of these designs also provide orthogonal blocking. Thus, if there is a need to separate runs into blocks for the Box-Behnken design, then designs are available that allow blocks to be used in such a way that the estimation of the regression parameters for the factor effects are not affected by the blocks. In other words, in these designs the block effects are orthogonal to the other factor effects. Yet another advantage of these designs is that there are no runs where all factors are at either the &amp;lt;math&amp;gt;+1\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; levels. For example, in the figure below the representation of the Box-Behnken design for three factors clearly shows that there are no runs at the corner points. This could be advantageous when the corner points represent runs that are expensive or inconvenient because they lie at the end of the range of the factor levels. A few of the Box-Behnken designs available in DOE++ are presented in [[Box-Behnken_Designs|Appendix F]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the first order model was found to be inadequate for the region near the optimum. Once the experimenter realized that the first order model was not adequate (for the region with a reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and reaction time of 165 minutes), it was decided to augment the experiment with axial runs to be able to complete a central composite design and fit a second order model to the response.  Notice the advantage of using a central composite design, as the experimenter only had to add the axial runs to the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with center point runs, and did not have to begin a new experiment. The experimenter decided to use &amp;lt;math&amp;gt;\alpha =1.4142\,\!&amp;lt;/math&amp;gt; to get a rotatable design. The obtained response values are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.14.png|center|280px|Response values for the two factor central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such a design can be set up in a Weibull++ DOE folio using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_15.png|center|744px|Properties for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the figure shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_16.png|center|800px|Central composite design for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Results from the analysis of the design are shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_17.png|center|744px|Results for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results in the figure above show that the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the interaction, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, and the quadratic main effects, &amp;lt;math&amp;gt;{{A}^{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{B}^{2}}\,\!&amp;lt;/math&amp;gt;, (represented as AA and BB in the figure) are significant. The lack-of-fit test also shows that the second order model with these terms is adequate and a higher order model is not needed. Using these results, the model for the experiment in terms of the coded values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface and the contour plot for this model, in terms of the actual variables, are shown in the below figures (a) and (b), respectively.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_a.png|center|650px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_b.png|center|650px|Response surface and countour plot for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Analysis of the Second Order Model==&lt;br /&gt;
Once a second order model is fit to the response, the next step is to locate the point of maximum or minimum response. The second order model for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{i}}{{x}_{i}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{ii}}x_{i}^{2}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,\underset{j=1}{\overset{i-1}{\mathop{\sum }}}\,{{\hat{\beta }}_{ij}}{{x}_{i}}{{x}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The point for which the response, &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt;, is optimized is the point at which the partial derivatives, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;...\partial \hat{y}/\partial {{x}_{k}},\,\!&amp;lt;/math&amp;gt; are all equal to zero. This point is called the &#039;&#039;stationary point&#039;&#039;. The stationary point may be a point of maximum response, minimum response or a saddle point. These three conditions are shown in the following figures (a), (b) and (c) respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.19.png|center|300px|Types of second order response surfaces and their contour plots. (a) shows the surface with a maximum point, (b) shows the surface with a minimum point and (c) shows the surface with a saddle point.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that these conditions are easy to identify, in the case of two factor experiments, by the inspection of the contour plots. However, when more than two factors exist in an experiment, then the general mathematical solution for the location of the stationary point has to be used. The equation given above can be written in matrix notation as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+{{x}^{\prime }}b+{{x}^{\prime }}Bx\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x=\left[ \begin{matrix}&lt;br /&gt;
   {{x}_{1}}  \\&lt;br /&gt;
   {{x}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{x}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   }b=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{1}}  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   and   }B=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{11}} &amp;amp; {{{\hat{\beta }}}_{12}}/2 &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{1k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {{{\hat{\beta }}}_{22}} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{2k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   \text{sym}\text{.} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {{{\hat{\beta }}}_{kk}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the stationary point can be determined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\partial \hat{y}}{\partial x}=b+2Bx=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{s}}=-\frac{1}{2}{{B}^{-1}}b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The optimum response is the response corresponding to &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt;. The optimum response can be obtained to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{y}}_{s}}={{\hat{\beta }}_{0}}+\frac{1}{2}x_{s}^{\prime }b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the stationary point is known, it is necessary to determine if it is a maximum or minimum or saddle point. To do this, the second order model has to be transformed to the canonical form. This is done by transforming the model to a new coordinate system such that the origin lies at the stationary point and the axes are parallel to the principal axes of the fitted response surface, shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.20.png|center|247px|The second order model in canonical form.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting model equation then takes the following form: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{y}}_{s}}+{{\lambda }_{1}}w_{1}^{2}+{{\lambda }_{2}}w_{2}^{2}+...+{{\lambda }_{k}}w_{k}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{w}_{i}}\,\!&amp;lt;/math&amp;gt; s are the transformed independent variables, and &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are constants that are also the eigenvalues of the matrix &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. The nature of the stationary point is known by looking at the signs of the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt; s are all negative, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of maximum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are all positive then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of minimum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s have different signs, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a saddle point. &lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the [[Response_Surface_Methods_for_Optimization#Example_2| example]] in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the second order model fitted to the response, in terms of the coded variables, was obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrices for this model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;b=\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right]\text{      }B=\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{x}_{s}}= &amp;amp; -\frac{1}{2}{{B}^{-1}}b \\ &lt;br /&gt;
= &amp;amp; -\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, in terms of the actual values, the stationary point can be found as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Temperature:} &amp;amp; 0.3=\frac{T-350}{(355-345)/2} \\ &lt;br /&gt;
T= &amp;amp; 351.5\text{ }F  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Time:} &amp;amp; 0.4=\frac{t-165}{(175-155)/2} \\ &lt;br /&gt;
t= &amp;amp; 169.0\text{ minutes}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To find the nature of the stationary point the eigenvalues of the &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrix can be obtained as follows using the determinant of the matrix &amp;lt;math&amp;gt;B-\lambda I\,\!&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left| B-\lambda I \right|= &amp;amp; 0 \\ &lt;br /&gt;
\left| \begin{matrix}&lt;br /&gt;
   -1.52-\lambda  &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08-\lambda   \\&lt;br /&gt;
\end{matrix} \right|= &amp;amp; 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This gives us:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }^{2}}+3.61\lambda +2.9743=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solving the quadratic equation in &amp;lt;math&amp;gt;\lambda \,\!&amp;lt;/math&amp;gt; returns the eigenvalues &amp;lt;math&amp;gt;{{\lambda }_{1}}=-1.2723\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\lambda }_{2}}=-2.3377\,\!&amp;lt;/math&amp;gt;. Since both the eigenvalues are negative, it can be concluded that the stationary point is a point of maximum response. The predicted value of the maximum response can be obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\hat{y}}}_{s}}= &amp;amp; {{{\hat{\beta }}}_{0}}+\frac{1}{2}x_{s}^{\prime }b \\ &lt;br /&gt;
= &amp;amp; 94.91+\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]}^{\prime }}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; 95.3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the maximum response can be obtained by entering the required values as shown in the figure below. In the figure, the goal is to maximize the response and the limits of the search range for maximizing the response are entered as 90 and 100. The value of the maximum response and the corresponding values of the factors obtained are shown in the second figure following. These values match the values calculated in this example.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_21.png|center|543px|Settings to obtain the maximum value of the response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_22.png|center|650px|Plot of the maximum response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]] against the factors, temperature and time.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Multiple Responses==&lt;br /&gt;
In many cases, the experimenter has to optimize a number of responses at the same time. For the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], assume that the experimenter has to also consider two other responses: cost of the product (which should be minimized) and the pH of the product (which should be close to 7 so that the product is neither acidic nor basic). The data is presented in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.23.png|center|400px|Data for the additional responses of cost and pH for the example to investigate the yield of a chemical process.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem in dealing with multiple responses is that now there might be conflicting objectives because of the different requirements of each of the responses. The experimenter needs to come up with a solution that satisfies each of the requirements as much as possible without compromising too much on any of the requirements. The approach used in a Weibull++ DOE folio to deal with optimization of multiple responses involves the use of desirability functions that are discussed next (for details see [[DOE_References|[Derringer and Suich, 1980]]]).&lt;br /&gt;
&lt;br /&gt;
===Desirability Functions===&lt;br /&gt;
Under this approach, each &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response is assigned a desirability function, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt;, where the value of &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; varies between 0 and 1. The function, &amp;lt;math&amp;gt;{{d}_{i}},\,\!&amp;lt;/math&amp;gt; is defined differently based on the objective of the response. If the response is to be maximized, as in the case of the previous example where the yield had to be maximized, then &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{\omega }} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;gt;T  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; represents the target value of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the acceptable lower limit value for this response and &amp;lt;math&amp;gt;\omega \,\!&amp;lt;/math&amp;gt; represents the weight. When &amp;lt;math&amp;gt;\omega =1\,\!&amp;lt;/math&amp;gt; the function &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is linear. If &amp;lt;math&amp;gt;\omega &amp;gt;1\,\!&amp;lt;/math&amp;gt; then more importance is placed on achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;\omega &amp;lt;1\,\!&amp;lt;/math&amp;gt;, less weight is assigned to achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. A graphical representation is shown in figure (a) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.24.png|center|400px|Desirability function plots for different response optimizations: (a) the goal is to maximize the response, (b) the goal is to minimize the response and (c) the goal is to get the response to a target value.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the response is to be minimized, as in the case when the response is cost, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;lt;T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{\omega }} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;math&amp;gt;U\,\!&amp;lt;/math&amp;gt; represents the acceptable upper limit for the response (see figure (b) above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be times when the experimenter wants the response to be neither maximized nor minimized, but instead stay as close to a specified target as possible. For example, in the case where the experimenter wants the product to be neither acidic nor basic, there is a requirement to keep the pH close to the neutral value of 7. In such cases, the desirability function is defined as follows (see figure (c) above):&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{{{\omega }_{1}}}} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{{{\omega }_{2}}}} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once a desirability function is defined for each of the responses, assuming that there are &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; responses, an overall desirability function is obtained as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;D={{(d_{1}^{{{r}_{1}}}\cdot d_{2}^{{{r}_{2}}}\cdot ...\cdot d_{m}^{{{r}_{m}}})}^{1/({{r}_{1}}+{{r}_{2}}+...+{{r}_{m}})}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt; s represent the importance of each response. The greater the value of &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt;, the more important the response with respect to the other responses. The objective is to now find the settings that return the maximum value of &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of desirability functions, consider the previous example with the three responses of yield, cost and pH. The response surfaces for the two additional responses of cost and pH are shown next in the figures (a) and (b), respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_25.png|center|500px|Response surfaces for (a) cost and (b) pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of actual variables, the models obtained for all three responses are as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Yield: } &amp;amp; {{{\hat{y}}}_{1}}=-7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
\text{Cost: } &amp;amp; {{{\hat{y}}}_{2}}=15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
\text{pH: } &amp;amp; {{{\hat{y}}}_{3}}=38.87-0.0709{{x}_{1}}-0.041{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Assume that the experimenter wants to have a target yield value of 95, although any value of yield greater than 94 is acceptable. Then the desirability function for yield is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{1}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{1}}&amp;lt;94  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{1}}-94}{95-94} \right)}^{\omega }} &amp;amp; 94\le {{y}_{1}}\le 95  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{1}}&amp;gt;95  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the cost, assume that the experimenter wants to lower the cost to 400, although any cost value below 415 is acceptable. Then the desirability function for cost is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{2}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{2}}&amp;lt;400  \\&lt;br /&gt;
   {{\left( \frac{415-{{y}_{2}}}{415-400} \right)}^{\omega }} &amp;amp; 400\le {{y}_{2}}\le 415  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{2}}&amp;gt;415  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the pH, a target of 7 is desired but values between 6.9 and 7.1 are also acceptable. Thus, the desirability function here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{3}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{3}}-6.9}{7-6.9} \right)}^{{{\omega }_{1}}}} &amp;amp; 6.9\le {{y}_{3}}\le 7  \\&lt;br /&gt;
   {{\left( \frac{7.1-{{y}_{3}}}{7.1-7} \right)}^{{{\omega }_{2}}}} &amp;amp; 7\le {{y}_{3}}\le 7.1  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;gt;7.1  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that in the previous equations all weights used (&amp;lt;math&amp;gt;{{\omega }_{i}}\,\!&amp;lt;/math&amp;gt; s) are 1. Thus, all three desirability functions are linear. The overall desirability function, assuming equal importance (&amp;lt;math&amp;gt;{{r}_{1}}={{r}_{2}}={{r}_{3}}=1\,\!&amp;lt;/math&amp;gt;) for all the responses, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; f({{{\hat{y}}}_{1}},{{{\hat{y}}}_{2}},{{{\hat{y}}}_{3}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of the experimenter is to find the settings of &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; such that the overall desirability, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, is maximum. In DOE++, the settings for the desirability functions for each of the three responses can be entered as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_26.png|center|750px|Optimization settings for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on these settings, DOE++ solves this optimization problem to obtain the following solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_27.png|center|650px|Optimum solution from DOE++ for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Temperature= &amp;amp; 351.5\text{ }F\text{ } \\ &lt;br /&gt;
Time= &amp;amp; 169\text{ }minutes  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The overall desirability achieved with this solution can be calculated easily. The values of each of the response for these settings are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{ }{{{\hat{y}}}_{1}}= &amp;amp; -7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; -7480.24+41.24(351.5)+3.88(169)+0.009(351.3)(169) \\ &lt;br /&gt;
 &amp;amp; -0.060825{{(351.5)}^{2}}-0.020831{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 95.3 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{2}}= &amp;amp; 15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; 15560.49-82.48(351.5)-7.76(169)-0.02(351.5)(169) \\ &lt;br /&gt;
 &amp;amp; +0.12165{{(351.5)}^{2}}+0.041663{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 409.35 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{3}}= &amp;amp; 38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \\ &lt;br /&gt;
= &amp;amp; 38.87-0.0709(351.5)-0.041(169) \\ &lt;br /&gt;
= &amp;amp; 7.00  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the response values, the individual desirability functions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{d}_{1}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{1}}&amp;gt;95\text{)} \\ &lt;br /&gt;
{{d}_{2}}= &amp;amp; \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right)\text{   (since  }400\le {{y}_{2}}\le 415\text{)} \\ &lt;br /&gt;
= &amp;amp; \left( \frac{415-409.35}{415-400} \right) \\ &lt;br /&gt;
= &amp;amp; 0.3767 \\ &lt;br /&gt;
{{d}_{3}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{3}}\approx 7\text{)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the overall desirability is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; {{(1\cdot 0.3767\cdot 1)}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; 0.72  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the same as the Global Desirability displayed by DOE++ in the figure above. At times, a number of solutions may be obtained from DOE++, and it is up to the experimenter to choose the most feasible one.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65220</id>
		<title>Response Surface Methods for Optimization</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65220"/>
		<updated>2017-08-10T17:17:16Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|10}}&lt;br /&gt;
The experiment designs mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] and [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]] help the experimenter identify factors that affect the response. Once the important factors have been identified, the next step is to determine the settings for these factors that result in the optimum value of the response. The optimum value of the response may either be a maximum value or a minimum value, depending upon the product or process in question. For example, if the response in an experiment is the yield from a chemical process, then the objective might be to find the settings of the factors affecting the yield so that the yield is maximized. On the other hand, if the response in an experiment is the number of defects, then the goal would be to find the factor settings that minimize the number of defects. Methodologies that help the experimenter reach the goal of optimum response are referred to as &#039;&#039;response surface methods&#039;&#039;. These methods are exclusively used to examine the &amp;quot;surface,&amp;quot; or the relationship between the response and the factors affecting the response. Regression models are used for the analysis of the response, as the focus now is on the nature of the relationship between the response and the factors, rather than identification of the important factors.&lt;br /&gt;
&lt;br /&gt;
Response surface methods usually involve the following steps:&lt;br /&gt;
&lt;br /&gt;
#The experimenter needs to move from the present operating conditions to the vicinity of the operating conditions where the response is optimum. This is done using the &#039;&#039;method of steepest ascent&#039;&#039; in the case of maximizing the response. The same method can be used to minimize the response and is then referred to as the &#039;&#039;method of steepest descent&#039;&#039;.&lt;br /&gt;
#Once in the vicinity of the optimum response the experimenter needs to fit a more elaborate model between the response and the factors. Special experiment designs, referred to as [[Response_Surface_Methods_for_Optimization#RSM_Designs|&#039;&#039;RSM designs&#039;&#039;]], are used to accomplish this. The fitted model is used to arrive at the best operating conditions that result in either a maximum or minimum response.&lt;br /&gt;
#It is possible that a number of responses may have to be optimized at the same time. For example, an experimenter may want to maximize strength, while keeping the number of defects to a minimum. The optimum settings for each of the responses in such cases may lead to conflicting settings for the factors. A balanced setting has to be found that gives the most appropriate values for all the responses. Desirability functions are useful in these cases.&lt;br /&gt;
&lt;br /&gt;
==Method of Steepest Ascent==&lt;br /&gt;
The first step in obtaining the optimum response settings, after the important factors have been identified, is to explore the region around the current operating conditions to decide what direction needs to be taken to move towards the optimum region. Usually, a first order regression model (containing just the main effects and no interaction terms) is sufficient at the current operating conditions because the operating conditions are normally far from the optimum response settings. The experimenter needs to move from the current operating conditions to the optimum region in the most efficient way by using the minimum number of experiments. This is done using the method of steepest ascent. In this method, the contour plot of the first order model is used to decide the settings for the next experiment, in order to move towards the optimum conditions. Consider a process where the response has been found to be a function of two factors. To explore the region around the current operating conditions, the experimenter fits the following first order model between the response and the two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface plot for the model, along with the contours, is shown in the figure below. It can be seen in the figure that in order to maximize the response, the most efficient direction in which to move the experiment is along the line perpendicular to the contours. This line, also referred to as the path of steepest ascent, is the line along which the rate of increase of the response is maximum. The steps along this line to move towards the optimum region are proportional to the regression coefficients, &amp;lt;math&amp;gt;{{\beta }_{j}},\,\!&amp;lt;/math&amp;gt; of the fitted first order model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_1.png|center|504px|Path of steepest ascent for the model &amp;lt;math&amp;gt;y=\beta_0+\beta_1 x_1+\beta_2 x_2+\epsilon \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Experiments are conducted along each step of the path of steepest ascent until an increase in the response is not seen. Then, a new first order model is fit at the region of the maximum response. If the first order model shows a lack of fit, then this indicates that the experimenter has reached the vicinity of the optimum. RSM designs are then used explore the region thoroughly and obtain the point of the maximum response. If the first order model does not show a lack of fit, then a new path of steepest ascent is determined and the process is repeated.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The yield from a chemical process is found to be affected by two factors: reaction temperature and reaction time. The current reaction temperature is 230 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time is 65 minutes. The experimenter wants to determine the settings of the two factors such that maximum yield can be obtained from the process. To explore the region around the current operating conditions, the experimenter decides to use a single replicate of the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design. The range of the factors for this design are chosen to be (225, 235) &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for the reaction temperature and (55, 75) minutes for the reaction time. The unreplicated &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design is also augmented with five runs at the center point to estimate the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, and check for model adequacy. The response values obtained for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.2.png|center|256px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region around current operating conditions for a chemical process.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, this design can be set up using the properties shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_3.png|center|809px|Design properties for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design and the analysis results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_4.png|center|778px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment design in to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_5.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the results shown are in terms of the coded values of the factors (taking -1 as the value of the lower settings for reaction temperature and reaction time and +1 as the value for the higher settings for these two factors). The results show that the factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (temperature) and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (time), affect the response significantly but their interaction does not affect the response. Therefore the interaction term can be dropped from the model for this experiment. The results also show that Curvature is not a significant factor. This indicates that the first order model is adequate for the experiment at the current operating conditions. Using these two conclusions, the model for the current operating conditions, in terms the coded variables is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{y}=36.6375+1.1635x_{1}+0.4875x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt; represents the yield and &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; are the predictor variables for the two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively. To further confirm the adequacy of the model of the equation given above, the experiment can be analyzed again after dropping the interaction term, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_6.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results show that the lack-of-fit for this model (because of the deficiency created in the model by the absence of the interaction term) is not significant, confirming that the model is adequate.&lt;br /&gt;
&lt;br /&gt;
==Path of Steepest Ascent==&lt;br /&gt;
The contour plot for the model used in the above example is shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_7.png|center|650px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression coefficients for the model are &amp;lt;math&amp;gt;\hat{\beta}_{1}= 1.1625\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{\beta}_{2}= 0.4875\,\!&amp;lt;/math&amp;gt;. To move towards the optimum, the experimenter needs to move along the path of steepest ascent, which lies perpendicular to the contours. This path is the line through the center point of the current operating conditions (&amp;lt;math&amp;gt;x_{1}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}=0\,\!&amp;lt;/math&amp;gt;) with a slope of &amp;lt;math&amp;gt;\hat{\beta}_{2}/\hat{\beta}_{1}\,\!&amp;lt;/math&amp;gt;. Therefore, in terms of the coded variables, the experiment should be moved 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. To move along this path, the experimenter decides to use a step-size of 10 minutes for the reaction time, &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;. The coded value for this step size can be obtained as follows. Recall from [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]] that the relationship between coded and actual values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{actual\ value - mean}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{step\ size\ in\ actual\ value}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, for a step-size of 10 minutes, the equivalent step size in coded value for &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{half\ of\ range\ of\ x_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{(75-55)/2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of the coded variables, the path of steepest ascent requires a move of 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. The step-size for &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded value corresponding to any step-size in &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot(step\ size\ in\ x_{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the step-size for the reaction temperature, &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded variables is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{1.1625}{0.4875}\cdot1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This corresponds to a step of approximately 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for temperature in terms of the actual value as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
step\ size\ in\ actual\ value = &amp;amp; (coded\ value)\cdot(half\ of\ the\ range\ of\ x_{1})\\&lt;br /&gt;
= &amp;amp; 2.39\cdot10/2\\&lt;br /&gt;
= &amp;amp; 11.95&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a step of 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and 10 minutes, the experimenter conducts experiments until no further increase is observed in the yield. The yield values at each step are shown in the table given next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet9.1.png|center|341px|Response values at each step of the path of steepest ascent for the experiment to investigate the yield of a chemical process. Units for factor levels and the response have been omitted.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The yield starts decreasing after the reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time of 165 minutes, indicating that this point may lie close to the optimum region. To analyze the vicinity of this point, a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented by five center points is selected. The range of exploration is chosen to be 345 to 355 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for reaction temperature and 155 to 175 minutes for reaction time. The response values recorded are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.8.png|center|348px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region of maximum response obtained from the path of steepest ascent. Note that the center point of this design is the new origin.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_9.png|center|760px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the region of maximum response.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the results, Curvature is displayed as a significant factor. This indicates that the first order model is not adequate for this region of the experiment and a higher order model is required. As a result, the methodology of steepest ascent can no longer be used. The presence of curvature indicates that the experiment region may be close to the optimum. Special designs that allow the use of second order models are needed at this point.&lt;br /&gt;
&lt;br /&gt;
==RSM Designs==&lt;br /&gt;
A second order model is generally used to approximate the response once it is realized that the experiment is close to the optimum response region where a first order model is no longer adequate. The second order model is usually sufficient for the optimum region, as third order and higher effects are seldom important. The second order regression model takes the following form for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+...+{{\beta }_{k}}{{x}_{k}}+ \\ &lt;br /&gt;
 &amp;amp; {{\beta }_{11}}x_{1}^{2}+{{\beta }_{22}}x_{2}^{2}+...+{{\beta }_{kk}}x_{k}^{2}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+...+{{\beta }_{k-1,k}}{{x}_{k-1}}{{x}_{k}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model contains &amp;lt;math&amp;gt;p=(k+1)(k+2)/2\,\!&amp;lt;/math&amp;gt; regression parameters that include coefficients for main effects (&amp;lt;math&amp;gt;{{\beta }_{1}},{{\beta }_{2}}...{{\beta }_{k}}\,\!&amp;lt;/math&amp;gt;), coefficients for quadratic main effects (&amp;lt;math&amp;gt;{{\beta }_{11}},{{\beta }_{22}}...{{\beta }_{kk}}\,\!&amp;lt;/math&amp;gt;) and coefficients for two factor interaction effects (&amp;lt;math&amp;gt;{{\beta }_{12}},{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt;... &amp;lt;math&amp;gt;{{\beta }_{k-1,k}}\,\!&amp;lt;/math&amp;gt;). A full factorial design with all factors at three levels would provide estimation of all the required regression parameters. However, full factorial three level designs are expensive to use as the number of runs increases rapidly with the number of factors. For example, a three factor full factorial design with each factor at three levels would require &amp;lt;math&amp;gt;{{3}^{3}}=27\,\!&amp;lt;/math&amp;gt; runs while a design with four factors would require &amp;lt;math&amp;gt;{{3}^{4}}=81\,\!&amp;lt;/math&amp;gt; runs. Additionally, these designs will estimate a number of higher order effects which are usually not of much importance to the experimenter. Therefore, for the purpose of analysis of response surfaces, special designs are used that help the experimenter fit the second order model to the response with the use of a minimum number of runs. Examples of these designs are the central composite and Box-Behnken designs.&lt;br /&gt;
&lt;br /&gt;
===Central Composite Designs===&lt;br /&gt;
Central composite designs are two level full factorial (&amp;lt;math&amp;gt;2^{k}\,\!&amp;lt;/math&amp;gt;) or fractional factorial (&amp;lt;math&amp;gt;2^{k-f}\,\!&amp;lt;/math&amp;gt;) designs augmented by a number of center points and other chosen runs. These designs are such that they allow the estimation of all the regression parameters required to fit a second order model to a given response.&lt;br /&gt;
&lt;br /&gt;
The simplest of the central composite designs can be used to fit a second order model to a response with two factors. The design consists of a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; full factorial design augmented by a few runs at the center point (such a design is shown in figure (a) given below). A central composite design is obtained when runs at points (&amp;lt;math&amp;gt;-1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;0,-1\,\!&amp;lt;/math&amp;gt;) and (&amp;lt;math&amp;gt;0,1\,\!&amp;lt;/math&amp;gt;) are added to this design. These points are referred to as &#039;&#039;axial points&#039;&#039; or &#039;&#039;star points&#039;&#039; and represent runs where all but one of the factors are set at their mid-levels. The number of axial points in a central composite design having &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors is &amp;lt;math&amp;gt;2k\,\!&amp;lt;/math&amp;gt;. The distance of the axial points from the center point is denoted by &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; and is always specified in terms of coded values. For example, the central composite design in figure (b) given below has &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt;, while for the design of figure (c) &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.10.png|center|227px|Central composite designs: (a) shows the &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design with center point runs, (b) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=1\,\!&amp;lt;/math&amp;gt; and (c) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=\sqrt{2}\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be noted that when &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt;, each factor is run at five levels (&amp;lt;math&amp;gt;-\alpha \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt;) instead of the three levels of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;. The reason for running central composite designs with &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt; is to have a rotatable design, which is explained next.&lt;br /&gt;
&lt;br /&gt;
====Rotatability====&lt;br /&gt;
A central composite design is said to be &#039;&#039;rotatable&#039;&#039; if the variance of any predicted value of the response, &amp;lt;math&amp;gt;{{\hat{y}}_{p}}\,\!&amp;lt;/math&amp;gt;, for any level of the factors depends only on the distance of the point from the center of the design, regardless of the direction. In other words, a rotatable central composite design provides constant variance of the estimated response corresponding to all new observation points that are at the same distance from the center point of the design (in terms of the coded variables). &lt;br /&gt;
&lt;br /&gt;
The variance of the predicted response at any point, &amp;lt;math&amp;gt;{{x}_{p}}\,\!&amp;lt;/math&amp;gt;, is given as follows: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]={{\sigma }^{2}}x_{p}^{\prime }{{({{X}^{\prime }}X)}^{-1}}{{x}_{p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The contours of &amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]\,\!&amp;lt;/math&amp;gt; for the central composite design in figure (c) above are shown in the figure below. The contours are concentric circles indicating that the central composite design of figure (c) is rotatable. Rotatability is a desirable property because the experimenter does not have any prior information about the location of the optimum. Therefore, a design that provides equal precision of estimation in all directions would be preferred. Such a design will assure the experimenter that no matter what direction is taken to search for the optimum, he/she will be able to estimate the response value with equal precision. A central composite design is rotatable if the value of &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; for the design satisfies the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha ={{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{n}_{f}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs in the original factorial design and &amp;lt;math&amp;gt;{{n}_{s}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs at the axial points. For example, a central composite design with two factors, having a single replicate of the original factorial design, and a single replicate of all the axial points, would be rotatable for the following &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; value:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\alpha = &amp;amp; {{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; {{\left[ \frac{{{2}^{2}}(1)}{1} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; \sqrt{2} \\ &lt;br /&gt;
= &amp;amp; 1.414  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, a central composite design in two factors, having a single replicate of the original &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design and axial points, and with &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;, is a rotatable design. This design is shown in figure (c) above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.11.png|center|266px|The countours of &amp;lt;math&amp;gt;V[\hat{y}_p] \,\!&amp;lt;/math&amp;gt; for the rotatable two factor central composite design.]]&lt;br /&gt;
&lt;br /&gt;
====Spherical Design====&lt;br /&gt;
A central composite design is said to be &#039;&#039;spherical&#039;&#039; if all factorial and axial points are at same distance from the center of the design. Spherical central composite designs are obtained by setting &amp;lt;math&amp;gt;\alpha =\sqrt{k}\,\!&amp;lt;/math&amp;gt;. For example, the rotatable design in the figure above (c) is also a spherical design because for this design &amp;lt;math&amp;gt;\alpha =\sqrt{k}=\sqrt{2}=1.414\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Face-centered Design====&lt;br /&gt;
Central composite designs in which the axial points represent the mid levels for all but one of the factors are also referred to as &#039;&#039;face-centered&#039;&#039; central composite designs. For these designs, &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt; and all factors are run at three levels, which are &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1,\,\!&amp;lt;/math&amp;gt; in terms of the coded values (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.12.png|center|300px|Face-centered central composite design for three factors.]]&lt;br /&gt;
&lt;br /&gt;
===Box-Behnken Designs===&lt;br /&gt;
In [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]], highly fractional designs introduced by Plackett and Burman were discussed. Plackett-Burman designs are used to estimate main effects in the case of two level fractional factorial experiments using very few runs. [[DOE_References|[G. E. P. Box and D. W. Behnken (1960)]]] introduced similar designs for three level factors that are widely used in response surface methods to fit second-order models to the response. The designs are referred to as Box-Behnken designs. The designs were developed by the combination of two level factorial designs with incomplete block designs. For example, the figure below shows the Box-Behnken design for three factors. The design is obtained by the combination of &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with a balanced incomplete block design having three treatments and three blocks (for details see [[DOE_References|[Box 1960, Montgomery 2001]]]). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.13.png|center|400px|Box-Behnken design for three factors: (a) shows the geometric representation and (b) shows the design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The advantages of Box-Behnken designs include the fact that they are all spherical designs and require factors to be run at only three levels. The designs are also rotatable or nearly rotatable. Some of these designs also provide orthogonal blocking. Thus, if there is a need to separate runs into blocks for the Box-Behnken design, then designs are available that allow blocks to be used in such a way that the estimation of the regression parameters for the factor effects are not affected by the blocks. In other words, in these designs the block effects are orthogonal to the other factor effects. Yet another advantage of these designs is that there are no runs where all factors are at either the &amp;lt;math&amp;gt;+1\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; levels. For example, in the figure below the representation of the Box-Behnken design for three factors clearly shows that there are no runs at the corner points. This could be advantageous when the corner points represent runs that are expensive or inconvenient because they lie at the end of the range of the factor levels. A few of the Box-Behnken designs available in DOE++ are presented in [[Box-Behnken_Designs|Appendix F]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the first order model was found to be inadequate for the region near the optimum. Once the experimenter realized that the first order model was not adequate (for the region with a reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and reaction time of 165 minutes), it was decided to augment the experiment with axial runs to be able to complete a central composite design and fit a second order model to the response.  Notice the advantage of using a central composite design, as the experimenter only had to add the axial runs to the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with center point runs, and did not have to begin a new experiment. The experimenter decided to use &amp;lt;math&amp;gt;\alpha =1.4142\,\!&amp;lt;/math&amp;gt; to get a rotatable design. The obtained response values are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.14.png|center|280px|Response values for the two factor central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such a design can be set up in a Weibull++ DOE folio using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_15.png|center|744px|Properties for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the figure shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_16.png|center|800px|Central composite design for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Results from the analysis of the design are shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_17.png|center|744px|Results for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results in the figure above show that the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the interaction, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, and the quadratic main effects, &amp;lt;math&amp;gt;{{A}^{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{B}^{2}}\,\!&amp;lt;/math&amp;gt;, (represented as AA and BB in the figure) are significant. The lack-of-fit test also shows that the second order model with these terms is adequate and a higher order model is not needed. Using these results, the model for the experiment in terms of the coded values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface and the contour plot for this model, in terms of the actual variables, are shown in the below figures (a) and (b), respectively.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_a.png|center|650px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_b.png|center|650px|Response surface and countour plot for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Analysis of the Second Order Model==&lt;br /&gt;
Once a second order model is fit to the response, the next step is to locate the point of maximum or minimum response. The second order model for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{i}}{{x}_{i}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{ii}}x_{i}^{2}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,\underset{j=1}{\overset{i-1}{\mathop{\sum }}}\,{{\hat{\beta }}_{ij}}{{x}_{i}}{{x}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The point for which the response, &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt;, is optimized is the point at which the partial derivatives, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;...\partial \hat{y}/\partial {{x}_{k}},\,\!&amp;lt;/math&amp;gt; are all equal to zero. This point is called the &#039;&#039;stationary point&#039;&#039;. The stationary point may be a point of maximum response, minimum response or a saddle point. These three conditions are shown in the following figures (a), (b) and (c) respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.19.png|center|300px|Types of second order response surfaces and their contour plots. (a) shows the surface with a maximum point, (b) shows the surface with a minimum point and (c) shows the surface with a saddle point.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that these conditions are easy to identify, in the case of two factor experiments, by the inspection of the contour plots. However, when more than two factors exist in an experiment, then the general mathematical solution for the location of the stationary point has to be used. The equation given above can be written in matrix notation as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+{{x}^{\prime }}b+{{x}^{\prime }}Bx\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x=\left[ \begin{matrix}&lt;br /&gt;
   {{x}_{1}}  \\&lt;br /&gt;
   {{x}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{x}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   }b=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{1}}  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   and   }B=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{11}} &amp;amp; {{{\hat{\beta }}}_{12}}/2 &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{1k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {{{\hat{\beta }}}_{22}} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{2k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   \text{sym}\text{.} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {{{\hat{\beta }}}_{kk}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the stationary point can be determined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\partial \hat{y}}{\partial x}=b+2Bx=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{s}}=-\frac{1}{2}{{B}^{-1}}b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The optimum response is the response corresponding to &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt;. The optimum response can be obtained to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{y}}_{s}}={{\hat{\beta }}_{0}}+\frac{1}{2}x_{s}^{\prime }b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the stationary point is known, it is necessary to determine if it is a maximum or minimum or saddle point. To do this, the second order model has to be transformed to the canonical form. This is done by transforming the model to a new coordinate system such that the origin lies at the stationary point and the axes are parallel to the principal axes of the fitted response surface, shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.20.png|center|247px|The second order model in canonical form.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting model equation then takes the following form: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{y}}_{s}}+{{\lambda }_{1}}w_{1}^{2}+{{\lambda }_{2}}w_{2}^{2}+...+{{\lambda }_{k}}w_{k}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{w}_{i}}\,\!&amp;lt;/math&amp;gt; s are the transformed independent variables, and &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are constants that are also the eigenvalues of the matrix &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. The nature of the stationary point is known by looking at the signs of the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt; s are all negative, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of maximum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are all positive then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of minimum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s have different signs, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a saddle point. &lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the [[Response_Surface_Methods_for_Optimization#Example_2| example]] in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the second order model fitted to the response, in terms of the coded variables, was obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrices for this model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;b=\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right]\text{      }B=\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{x}_{s}}= &amp;amp; -\frac{1}{2}{{B}^{-1}}b \\ &lt;br /&gt;
= &amp;amp; -\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, in terms of the actual values, the stationary point can be found as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Temperature:} &amp;amp; 0.3=\frac{T-350}{(355-345)/2} \\ &lt;br /&gt;
T= &amp;amp; 351.5\text{ }F  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Time:} &amp;amp; 0.4=\frac{t-165}{(175-155)/2} \\ &lt;br /&gt;
t= &amp;amp; 169.0\text{ minutes}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To find the nature of the stationary point the eigenvalues of the &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrix can be obtained as follows using the determinant of the matrix &amp;lt;math&amp;gt;B-\lambda I\,\!&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left| B-\lambda I \right|= &amp;amp; 0 \\ &lt;br /&gt;
\left| \begin{matrix}&lt;br /&gt;
   -1.52-\lambda  &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08-\lambda   \\&lt;br /&gt;
\end{matrix} \right|= &amp;amp; 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This gives us:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }^{2}}+3.61\lambda +2.9743=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solving the quadratic equation in &amp;lt;math&amp;gt;\lambda \,\!&amp;lt;/math&amp;gt; returns the eigenvalues &amp;lt;math&amp;gt;{{\lambda }_{1}}=-1.2723\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\lambda }_{2}}=-2.3377\,\!&amp;lt;/math&amp;gt;. Since both the eigenvalues are negative, it can be concluded that the stationary point is a point of maximum response. The predicted value of the maximum response can be obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\hat{y}}}_{s}}= &amp;amp; {{{\hat{\beta }}}_{0}}+\frac{1}{2}x_{s}^{\prime }b \\ &lt;br /&gt;
= &amp;amp; 94.91+\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]}^{\prime }}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; 95.3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the maximum response can be obtained by entering the required values as shown in the figure below. In the figure, the goal is to maximize the response and the limits of the search range for maximizing the response are entered as 90 and 100. The value of the maximum response and the corresponding values of the factors obtained are shown in the second figure following. These values match the values calculated in this example.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_21.png|center|543px|Settings to obtain the maximum value of the response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_22.png|center|650px|Plot of the maximum response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]] against the factors, temperature and time.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Multiple Responses==&lt;br /&gt;
In many cases, the experimenter has to optimize a number of responses at the same time. For the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], assume that the experimenter has to also consider two other responses: cost of the product (which should be minimized) and the pH of the product (which should be close to 7 so that the product is neither acidic nor basic). The data is presented in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.23.png|center|400px|Data for the additional responses of cost and pH for the example to investigate the yield of a chemical process.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem in dealing with multiple responses is that now there might be conflicting objectives because of the different requirements of each of the responses. The experimenter needs to come up with a solution that satisfies each of the requirements as much as possible without compromising too much on any of the requirements. The approach used in DOE++ to deal with optimization of multiple responses involves the use of desirability functions that are discussed next (for details see [[DOE_References|[Derringer and Suich, 1980]]]).&lt;br /&gt;
&lt;br /&gt;
===Desirability Functions===&lt;br /&gt;
Under this approach, each &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response is assigned a desirability function, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt;, where the value of &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; varies between 0 and 1. The function, &amp;lt;math&amp;gt;{{d}_{i}},\,\!&amp;lt;/math&amp;gt; is defined differently based on the objective of the response. If the response is to be maximized, as in the case of the previous example where the yield had to be maximized, then &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{\omega }} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;gt;T  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; represents the target value of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the acceptable lower limit value for this response and &amp;lt;math&amp;gt;\omega \,\!&amp;lt;/math&amp;gt; represents the weight. When &amp;lt;math&amp;gt;\omega =1\,\!&amp;lt;/math&amp;gt; the function &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is linear. If &amp;lt;math&amp;gt;\omega &amp;gt;1\,\!&amp;lt;/math&amp;gt; then more importance is placed on achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;\omega &amp;lt;1\,\!&amp;lt;/math&amp;gt;, less weight is assigned to achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. A graphical representation is shown in figure (a) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.24.png|center|400px|Desirability function plots for different response optimizations: (a) the goal is to maximize the response, (b) the goal is to minimize the response and (c) the goal is to get the response to a target value.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the response is to be minimized, as in the case when the response is cost, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;lt;T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{\omega }} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;math&amp;gt;U\,\!&amp;lt;/math&amp;gt; represents the acceptable upper limit for the response (see figure (b) above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be times when the experimenter wants the response to be neither maximized nor minimized, but instead stay as close to a specified target as possible. For example, in the case where the experimenter wants the product to be neither acidic nor basic, there is a requirement to keep the pH close to the neutral value of 7. In such cases, the desirability function is defined as follows (see figure (c) above):&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{{{\omega }_{1}}}} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{{{\omega }_{2}}}} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once a desirability function is defined for each of the responses, assuming that there are &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; responses, an overall desirability function is obtained as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;D={{(d_{1}^{{{r}_{1}}}\cdot d_{2}^{{{r}_{2}}}\cdot ...\cdot d_{m}^{{{r}_{m}}})}^{1/({{r}_{1}}+{{r}_{2}}+...+{{r}_{m}})}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt; s represent the importance of each response. The greater the value of &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt;, the more important the response with respect to the other responses. The objective is to now find the settings that return the maximum value of &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of desirability functions, consider the previous example with the three responses of yield, cost and pH. The response surfaces for the two additional responses of cost and pH are shown next in the figures (a) and (b), respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_25.png|center|500px|Response surfaces for (a) cost and (b) pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of actual variables, the models obtained for all three responses are as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Yield: } &amp;amp; {{{\hat{y}}}_{1}}=-7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
\text{Cost: } &amp;amp; {{{\hat{y}}}_{2}}=15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
\text{pH: } &amp;amp; {{{\hat{y}}}_{3}}=38.87-0.0709{{x}_{1}}-0.041{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Assume that the experimenter wants to have a target yield value of 95, although any value of yield greater than 94 is acceptable. Then the desirability function for yield is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{1}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{1}}&amp;lt;94  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{1}}-94}{95-94} \right)}^{\omega }} &amp;amp; 94\le {{y}_{1}}\le 95  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{1}}&amp;gt;95  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the cost, assume that the experimenter wants to lower the cost to 400, although any cost value below 415 is acceptable. Then the desirability function for cost is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{2}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{2}}&amp;lt;400  \\&lt;br /&gt;
   {{\left( \frac{415-{{y}_{2}}}{415-400} \right)}^{\omega }} &amp;amp; 400\le {{y}_{2}}\le 415  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{2}}&amp;gt;415  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the pH, a target of 7 is desired but values between 6.9 and 7.1 are also acceptable. Thus, the desirability function here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{3}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{3}}-6.9}{7-6.9} \right)}^{{{\omega }_{1}}}} &amp;amp; 6.9\le {{y}_{3}}\le 7  \\&lt;br /&gt;
   {{\left( \frac{7.1-{{y}_{3}}}{7.1-7} \right)}^{{{\omega }_{2}}}} &amp;amp; 7\le {{y}_{3}}\le 7.1  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;gt;7.1  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that in the previous equations all weights used (&amp;lt;math&amp;gt;{{\omega }_{i}}\,\!&amp;lt;/math&amp;gt; s) are 1. Thus, all three desirability functions are linear. The overall desirability function, assuming equal importance (&amp;lt;math&amp;gt;{{r}_{1}}={{r}_{2}}={{r}_{3}}=1\,\!&amp;lt;/math&amp;gt;) for all the responses, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; f({{{\hat{y}}}_{1}},{{{\hat{y}}}_{2}},{{{\hat{y}}}_{3}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of the experimenter is to find the settings of &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; such that the overall desirability, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, is maximum. In DOE++, the settings for the desirability functions for each of the three responses can be entered as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_26.png|center|750px|Optimization settings for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on these settings, DOE++ solves this optimization problem to obtain the following solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_27.png|center|650px|Optimum solution from DOE++ for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Temperature= &amp;amp; 351.5\text{ }F\text{ } \\ &lt;br /&gt;
Time= &amp;amp; 169\text{ }minutes  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The overall desirability achieved with this solution can be calculated easily. The values of each of the response for these settings are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{ }{{{\hat{y}}}_{1}}= &amp;amp; -7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; -7480.24+41.24(351.5)+3.88(169)+0.009(351.3)(169) \\ &lt;br /&gt;
 &amp;amp; -0.060825{{(351.5)}^{2}}-0.020831{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 95.3 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{2}}= &amp;amp; 15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; 15560.49-82.48(351.5)-7.76(169)-0.02(351.5)(169) \\ &lt;br /&gt;
 &amp;amp; +0.12165{{(351.5)}^{2}}+0.041663{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 409.35 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{3}}= &amp;amp; 38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \\ &lt;br /&gt;
= &amp;amp; 38.87-0.0709(351.5)-0.041(169) \\ &lt;br /&gt;
= &amp;amp; 7.00  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the response values, the individual desirability functions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{d}_{1}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{1}}&amp;gt;95\text{)} \\ &lt;br /&gt;
{{d}_{2}}= &amp;amp; \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right)\text{   (since  }400\le {{y}_{2}}\le 415\text{)} \\ &lt;br /&gt;
= &amp;amp; \left( \frac{415-409.35}{415-400} \right) \\ &lt;br /&gt;
= &amp;amp; 0.3767 \\ &lt;br /&gt;
{{d}_{3}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{3}}\approx 7\text{)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the overall desirability is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; {{(1\cdot 0.3767\cdot 1)}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; 0.72  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the same as the Global Desirability displayed by DOE++ in the figure above. At times, a number of solutions may be obtained from DOE++, and it is up to the experimenter to choose the most feasible one.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65219</id>
		<title>Response Surface Methods for Optimization</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65219"/>
		<updated>2017-08-10T17:16:45Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|10}}&lt;br /&gt;
The experiment designs mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] and [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]] help the experimenter identify factors that affect the response. Once the important factors have been identified, the next step is to determine the settings for these factors that result in the optimum value of the response. The optimum value of the response may either be a maximum value or a minimum value, depending upon the product or process in question. For example, if the response in an experiment is the yield from a chemical process, then the objective might be to find the settings of the factors affecting the yield so that the yield is maximized. On the other hand, if the response in an experiment is the number of defects, then the goal would be to find the factor settings that minimize the number of defects. Methodologies that help the experimenter reach the goal of optimum response are referred to as &#039;&#039;response surface methods&#039;&#039;. These methods are exclusively used to examine the &amp;quot;surface,&amp;quot; or the relationship between the response and the factors affecting the response. Regression models are used for the analysis of the response, as the focus now is on the nature of the relationship between the response and the factors, rather than identification of the important factors.&lt;br /&gt;
&lt;br /&gt;
Response surface methods usually involve the following steps:&lt;br /&gt;
&lt;br /&gt;
#The experimenter needs to move from the present operating conditions to the vicinity of the operating conditions where the response is optimum. This is done using the &#039;&#039;method of steepest ascent&#039;&#039; in the case of maximizing the response. The same method can be used to minimize the response and is then referred to as the &#039;&#039;method of steepest descent&#039;&#039;.&lt;br /&gt;
#Once in the vicinity of the optimum response the experimenter needs to fit a more elaborate model between the response and the factors. Special experiment designs, referred to as [[Response_Surface_Methods_for_Optimization#RSM_Designs|&#039;&#039;RSM designs&#039;&#039;]], are used to accomplish this. The fitted model is used to arrive at the best operating conditions that result in either a maximum or minimum response.&lt;br /&gt;
#It is possible that a number of responses may have to be optimized at the same time. For example, an experimenter may want to maximize strength, while keeping the number of defects to a minimum. The optimum settings for each of the responses in such cases may lead to conflicting settings for the factors. A balanced setting has to be found that gives the most appropriate values for all the responses. Desirability functions are useful in these cases.&lt;br /&gt;
&lt;br /&gt;
==Method of Steepest Ascent==&lt;br /&gt;
The first step in obtaining the optimum response settings, after the important factors have been identified, is to explore the region around the current operating conditions to decide what direction needs to be taken to move towards the optimum region. Usually, a first order regression model (containing just the main effects and no interaction terms) is sufficient at the current operating conditions because the operating conditions are normally far from the optimum response settings. The experimenter needs to move from the current operating conditions to the optimum region in the most efficient way by using the minimum number of experiments. This is done using the method of steepest ascent. In this method, the contour plot of the first order model is used to decide the settings for the next experiment, in order to move towards the optimum conditions. Consider a process where the response has been found to be a function of two factors. To explore the region around the current operating conditions, the experimenter fits the following first order model between the response and the two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface plot for the model, along with the contours, is shown in the figure below. It can be seen in the figure that in order to maximize the response, the most efficient direction in which to move the experiment is along the line perpendicular to the contours. This line, also referred to as the path of steepest ascent, is the line along which the rate of increase of the response is maximum. The steps along this line to move towards the optimum region are proportional to the regression coefficients, &amp;lt;math&amp;gt;{{\beta }_{j}},\,\!&amp;lt;/math&amp;gt; of the fitted first order model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_1.png|center|504px|Path of steepest ascent for the model &amp;lt;math&amp;gt;y=\beta_0+\beta_1 x_1+\beta_2 x_2+\epsilon \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Experiments are conducted along each step of the path of steepest ascent until an increase in the response is not seen. Then, a new first order model is fit at the region of the maximum response. If the first order model shows a lack of fit, then this indicates that the experimenter has reached the vicinity of the optimum. RSM designs are then used explore the region thoroughly and obtain the point of the maximum response. If the first order model does not show a lack of fit, then a new path of steepest ascent is determined and the process is repeated.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The yield from a chemical process is found to be affected by two factors: reaction temperature and reaction time. The current reaction temperature is 230 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time is 65 minutes. The experimenter wants to determine the settings of the two factors such that maximum yield can be obtained from the process. To explore the region around the current operating conditions, the experimenter decides to use a single replicate of the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design. The range of the factors for this design are chosen to be (225, 235) &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for the reaction temperature and (55, 75) minutes for the reaction time. The unreplicated &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design is also augmented with five runs at the center point to estimate the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, and check for model adequacy. The response values obtained for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.2.png|center|256px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region around current operating conditions for a chemical process.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, this design can be set up using the properties shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_3.png|center|809px|Design properties for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design and the analysis results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_4.png|center|778px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment design in to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_5.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the results shown are in terms of the coded values of the factors (taking -1 as the value of the lower settings for reaction temperature and reaction time and +1 as the value for the higher settings for these two factors). The results show that the factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (temperature) and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (time), affect the response significantly but their interaction does not affect the response. Therefore the interaction term can be dropped from the model for this experiment. The results also show that Curvature is not a significant factor. This indicates that the first order model is adequate for the experiment at the current operating conditions. Using these two conclusions, the model for the current operating conditions, in terms the coded variables is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{y}=36.6375+1.1635x_{1}+0.4875x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt; represents the yield and &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; are the predictor variables for the two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively. To further confirm the adequacy of the model of the equation given above, the experiment can be analyzed again after dropping the interaction term, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_6.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results show that the lack-of-fit for this model (because of the deficiency created in the model by the absence of the interaction term) is not significant, confirming that the model is adequate.&lt;br /&gt;
&lt;br /&gt;
==Path of Steepest Ascent==&lt;br /&gt;
The contour plot for the model used in the above example is shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_7.png|center|650px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression coefficients for the model are &amp;lt;math&amp;gt;\hat{\beta}_{1}= 1.1625\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{\beta}_{2}= 0.4875\,\!&amp;lt;/math&amp;gt;. To move towards the optimum, the experimenter needs to move along the path of steepest ascent, which lies perpendicular to the contours. This path is the line through the center point of the current operating conditions (&amp;lt;math&amp;gt;x_{1}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}=0\,\!&amp;lt;/math&amp;gt;) with a slope of &amp;lt;math&amp;gt;\hat{\beta}_{2}/\hat{\beta}_{1}\,\!&amp;lt;/math&amp;gt;. Therefore, in terms of the coded variables, the experiment should be moved 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. To move along this path, the experimenter decides to use a step-size of 10 minutes for the reaction time, &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;. The coded value for this step size can be obtained as follows. Recall from [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]] that the relationship between coded and actual values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{actual\ value - mean}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{step\ size\ in\ actual\ value}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, for a step-size of 10 minutes, the equivalent step size in coded value for &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{half\ of\ range\ of\ x_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{(75-55)/2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of the coded variables, the path of steepest ascent requires a move of 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. The step-size for &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded value corresponding to any step-size in &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot(step\ size\ in\ x_{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the step-size for the reaction temperature, &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded variables is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{1.1625}{0.4875}\cdot1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This corresponds to a step of approximately 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for temperature in terms of the actual value as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
step\ size\ in\ actual\ value = &amp;amp; (coded\ value)\cdot(half\ of\ the\ range\ of\ x_{1})\\&lt;br /&gt;
= &amp;amp; 2.39\cdot10/2\\&lt;br /&gt;
= &amp;amp; 11.95&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a step of 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and 10 minutes, the experimenter conducts experiments until no further increase is observed in the yield. The yield values at each step are shown in the table given next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet9.1.png|center|341px|Response values at each step of the path of steepest ascent for the experiment to investigate the yield of a chemical process. Units for factor levels and the response have been omitted.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The yield starts decreasing after the reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time of 165 minutes, indicating that this point may lie close to the optimum region. To analyze the vicinity of this point, a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented by five center points is selected. The range of exploration is chosen to be 345 to 355 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for reaction temperature and 155 to 175 minutes for reaction time. The response values recorded are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.8.png|center|348px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region of maximum response obtained from the path of steepest ascent. Note that the center point of this design is the new origin.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_9.png|center|760px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the region of maximum response.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the results, Curvature is displayed as a significant factor. This indicates that the first order model is not adequate for this region of the experiment and a higher order model is required. As a result, the methodology of steepest ascent can no longer be used. The presence of curvature indicates that the experiment region may be close to the optimum. Special designs that allow the use of second order models are needed at this point.&lt;br /&gt;
&lt;br /&gt;
==RSM Designs==&lt;br /&gt;
A second order model is generally used to approximate the response once it is realized that the experiment is close to the optimum response region where a first order model is no longer adequate. The second order model is usually sufficient for the optimum region, as third order and higher effects are seldom important. The second order regression model takes the following form for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+...+{{\beta }_{k}}{{x}_{k}}+ \\ &lt;br /&gt;
 &amp;amp; {{\beta }_{11}}x_{1}^{2}+{{\beta }_{22}}x_{2}^{2}+...+{{\beta }_{kk}}x_{k}^{2}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+...+{{\beta }_{k-1,k}}{{x}_{k-1}}{{x}_{k}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model contains &amp;lt;math&amp;gt;p=(k+1)(k+2)/2\,\!&amp;lt;/math&amp;gt; regression parameters that include coefficients for main effects (&amp;lt;math&amp;gt;{{\beta }_{1}},{{\beta }_{2}}...{{\beta }_{k}}\,\!&amp;lt;/math&amp;gt;), coefficients for quadratic main effects (&amp;lt;math&amp;gt;{{\beta }_{11}},{{\beta }_{22}}...{{\beta }_{kk}}\,\!&amp;lt;/math&amp;gt;) and coefficients for two factor interaction effects (&amp;lt;math&amp;gt;{{\beta }_{12}},{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt;... &amp;lt;math&amp;gt;{{\beta }_{k-1,k}}\,\!&amp;lt;/math&amp;gt;). A full factorial design with all factors at three levels would provide estimation of all the required regression parameters. However, full factorial three level designs are expensive to use as the number of runs increases rapidly with the number of factors. For example, a three factor full factorial design with each factor at three levels would require &amp;lt;math&amp;gt;{{3}^{3}}=27\,\!&amp;lt;/math&amp;gt; runs while a design with four factors would require &amp;lt;math&amp;gt;{{3}^{4}}=81\,\!&amp;lt;/math&amp;gt; runs. Additionally, these designs will estimate a number of higher order effects which are usually not of much importance to the experimenter. Therefore, for the purpose of analysis of response surfaces, special designs are used that help the experimenter fit the second order model to the response with the use of a minimum number of runs. Examples of these designs are the central composite and Box-Behnken designs.&lt;br /&gt;
&lt;br /&gt;
===Central Composite Designs===&lt;br /&gt;
Central composite designs are two level full factorial (&amp;lt;math&amp;gt;2^{k}\,\!&amp;lt;/math&amp;gt;) or fractional factorial (&amp;lt;math&amp;gt;2^{k-f}\,\!&amp;lt;/math&amp;gt;) designs augmented by a number of center points and other chosen runs. These designs are such that they allow the estimation of all the regression parameters required to fit a second order model to a given response.&lt;br /&gt;
&lt;br /&gt;
The simplest of the central composite designs can be used to fit a second order model to a response with two factors. The design consists of a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; full factorial design augmented by a few runs at the center point (such a design is shown in figure (a) given below). A central composite design is obtained when runs at points (&amp;lt;math&amp;gt;-1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;0,-1\,\!&amp;lt;/math&amp;gt;) and (&amp;lt;math&amp;gt;0,1\,\!&amp;lt;/math&amp;gt;) are added to this design. These points are referred to as &#039;&#039;axial points&#039;&#039; or &#039;&#039;star points&#039;&#039; and represent runs where all but one of the factors are set at their mid-levels. The number of axial points in a central composite design having &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors is &amp;lt;math&amp;gt;2k\,\!&amp;lt;/math&amp;gt;. The distance of the axial points from the center point is denoted by &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; and is always specified in terms of coded values. For example, the central composite design in figure (b) given below has &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt;, while for the design of figure (c) &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.10.png|center|227px|Central composite designs: (a) shows the &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design with center point runs, (b) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=1\,\!&amp;lt;/math&amp;gt; and (c) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=\sqrt{2}\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be noted that when &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt;, each factor is run at five levels (&amp;lt;math&amp;gt;-\alpha \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt;) instead of the three levels of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;. The reason for running central composite designs with &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt; is to have a rotatable design, which is explained next.&lt;br /&gt;
&lt;br /&gt;
====Rotatability====&lt;br /&gt;
A central composite design is said to be &#039;&#039;rotatable&#039;&#039; if the variance of any predicted value of the response, &amp;lt;math&amp;gt;{{\hat{y}}_{p}}\,\!&amp;lt;/math&amp;gt;, for any level of the factors depends only on the distance of the point from the center of the design, regardless of the direction. In other words, a rotatable central composite design provides constant variance of the estimated response corresponding to all new observation points that are at the same distance from the center point of the design (in terms of the coded variables). &lt;br /&gt;
&lt;br /&gt;
The variance of the predicted response at any point, &amp;lt;math&amp;gt;{{x}_{p}}\,\!&amp;lt;/math&amp;gt;, is given as follows: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]={{\sigma }^{2}}x_{p}^{\prime }{{({{X}^{\prime }}X)}^{-1}}{{x}_{p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The contours of &amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]\,\!&amp;lt;/math&amp;gt; for the central composite design in figure (c) above are shown in the figure below. The contours are concentric circles indicating that the central composite design of figure (c) is rotatable. Rotatability is a desirable property because the experimenter does not have any prior information about the location of the optimum. Therefore, a design that provides equal precision of estimation in all directions would be preferred. Such a design will assure the experimenter that no matter what direction is taken to search for the optimum, he/she will be able to estimate the response value with equal precision. A central composite design is rotatable if the value of &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; for the design satisfies the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha ={{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{n}_{f}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs in the original factorial design and &amp;lt;math&amp;gt;{{n}_{s}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs at the axial points. For example, a central composite design with two factors, having a single replicate of the original factorial design, and a single replicate of all the axial points, would be rotatable for the following &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; value:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\alpha = &amp;amp; {{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; {{\left[ \frac{{{2}^{2}}(1)}{1} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; \sqrt{2} \\ &lt;br /&gt;
= &amp;amp; 1.414  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, a central composite design in two factors, having a single replicate of the original &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design and axial points, and with &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;, is a rotatable design. This design is shown in figure (c) above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.11.png|center|266px|The countours of &amp;lt;math&amp;gt;V[\hat{y}_p] \,\!&amp;lt;/math&amp;gt; for the rotatable two factor central composite design.]]&lt;br /&gt;
&lt;br /&gt;
====Spherical Design====&lt;br /&gt;
A central composite design is said to be &#039;&#039;spherical&#039;&#039; if all factorial and axial points are at same distance from the center of the design. Spherical central composite designs are obtained by setting &amp;lt;math&amp;gt;\alpha =\sqrt{k}\,\!&amp;lt;/math&amp;gt;. For example, the rotatable design in the figure above (c) is also a spherical design because for this design &amp;lt;math&amp;gt;\alpha =\sqrt{k}=\sqrt{2}=1.414\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Face-centered Design====&lt;br /&gt;
Central composite designs in which the axial points represent the mid levels for all but one of the factors are also referred to as &#039;&#039;face-centered&#039;&#039; central composite designs. For these designs, &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt; and all factors are run at three levels, which are &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1,\,\!&amp;lt;/math&amp;gt; in terms of the coded values (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.12.png|center|300px|Face-centered central composite design for three factors.]]&lt;br /&gt;
&lt;br /&gt;
===Box-Behnken Designs===&lt;br /&gt;
In [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]], highly fractional designs introduced by Plackett and Burman were discussed. Plackett-Burman designs are used to estimate main effects in the case of two level fractional factorial experiments using very few runs. [[DOE_References|[G. E. P. Box and D. W. Behnken (1960)]]] introduced similar designs for three level factors that are widely used in response surface methods to fit second-order models to the response. The designs are referred to as Box-Behnken designs. The designs were developed by the combination of two level factorial designs with incomplete block designs. For example, the figure below shows the Box-Behnken design for three factors. The design is obtained by the combination of &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with a balanced incomplete block design having three treatments and three blocks (for details see [[DOE_References|[Box 1960, Montgomery 2001]]]). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.13.png|center|400px|Box-Behnken design for three factors: (a) shows the geometric representation and (b) shows the design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The advantages of Box-Behnken designs include the fact that they are all spherical designs and require factors to be run at only three levels. The designs are also rotatable or nearly rotatable. Some of these designs also provide orthogonal blocking. Thus, if there is a need to separate runs into blocks for the Box-Behnken design, then designs are available that allow blocks to be used in such a way that the estimation of the regression parameters for the factor effects are not affected by the blocks. In other words, in these designs the block effects are orthogonal to the other factor effects. Yet another advantage of these designs is that there are no runs where all factors are at either the &amp;lt;math&amp;gt;+1\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; levels. For example, in the figure below the representation of the Box-Behnken design for three factors clearly shows that there are no runs at the corner points. This could be advantageous when the corner points represent runs that are expensive or inconvenient because they lie at the end of the range of the factor levels. A few of the Box-Behnken designs available in DOE++ are presented in [[Box-Behnken_Designs|Appendix F]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the first order model was found to be inadequate for the region near the optimum. Once the experimenter realized that the first order model was not adequate (for the region with a reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and reaction time of 165 minutes), it was decided to augment the experiment with axial runs to be able to complete a central composite design and fit a second order model to the response.  Notice the advantage of using a central composite design, as the experimenter only had to add the axial runs to the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with center point runs, and did not have to begin a new experiment. The experimenter decided to use &amp;lt;math&amp;gt;\alpha =1.4142\,\!&amp;lt;/math&amp;gt; to get a rotatable design. The obtained response values are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.14.png|center|280px|Response values for the two factor central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such a design can be set up in a Weibull++ DOE folio using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_15.png|center|744px|Properties for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the figure shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_16.png|center|800px|Central composite design for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Results from the analysis of the design are shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_17.png|center|744px|Results for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results in the figure above show that the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the interaction, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, and the quadratic main effects, &amp;lt;math&amp;gt;{{A}^{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{B}^{2}}\,\!&amp;lt;/math&amp;gt;, (represented as AA and BB in the figure) are significant. The lack-of-fit test also shows that the second order model with these terms is adequate and a higher order model is not needed. Using these results, the model for the experiment in terms of the coded values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface and the contour plot for this model, in terms of the actual variables, are shown in the below figures (a) and (b), respectively.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_a.png|center|650px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_b.png|center|650px|Response surface and countour plot for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Analysis of the Second Order Model==&lt;br /&gt;
Once a second order model is fit to the response, the next step is to locate the point of maximum or minimum response. The second order model for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{i}}{{x}_{i}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{ii}}x_{i}^{2}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,\underset{j=1}{\overset{i-1}{\mathop{\sum }}}\,{{\hat{\beta }}_{ij}}{{x}_{i}}{{x}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The point for which the response, &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt;, is optimized is the point at which the partial derivatives, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;...\partial \hat{y}/\partial {{x}_{k}},\,\!&amp;lt;/math&amp;gt; are all equal to zero. This point is called the &#039;&#039;stationary point&#039;&#039;. The stationary point may be a point of maximum response, minimum response or a saddle point. These three conditions are shown in the following figures (a), (b) and (c) respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.19.png|center|300px|Types of second order response surfaces and their contour plots. (a) shows the surface with a maximum point, (b) shows the surface with a minimum point and (c) shows the surface with a saddle point.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that these conditions are easy to identify, in the case of two factor experiments, by the inspection of the contour plots. However, when more than two factors exist in an experiment, then the general mathematical solution for the location of the stationary point has to be used. The equation given above can be written in matrix notation as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+{{x}^{\prime }}b+{{x}^{\prime }}Bx\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x=\left[ \begin{matrix}&lt;br /&gt;
   {{x}_{1}}  \\&lt;br /&gt;
   {{x}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{x}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   }b=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{1}}  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   and   }B=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{11}} &amp;amp; {{{\hat{\beta }}}_{12}}/2 &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{1k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {{{\hat{\beta }}}_{22}} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{2k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   \text{sym}\text{.} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {{{\hat{\beta }}}_{kk}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the stationary point can be determined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\partial \hat{y}}{\partial x}=b+2Bx=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{s}}=-\frac{1}{2}{{B}^{-1}}b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The optimum response is the response corresponding to &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt;. The optimum response can be obtained to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{y}}_{s}}={{\hat{\beta }}_{0}}+\frac{1}{2}x_{s}^{\prime }b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the stationary point is known, it is necessary to determine if it is a maximum or minimum or saddle point. To do this, the second order model has to be transformed to the canonical form. This is done by transforming the model to a new coordinate system such that the origin lies at the stationary point and the axes are parallel to the principal axes of the fitted response surface, shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.20.png|center|247px|The second order model in canonical form.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting model equation then takes the following form: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{y}}_{s}}+{{\lambda }_{1}}w_{1}^{2}+{{\lambda }_{2}}w_{2}^{2}+...+{{\lambda }_{k}}w_{k}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{w}_{i}}\,\!&amp;lt;/math&amp;gt; s are the transformed independent variables, and &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are constants that are also the eigenvalues of the matrix &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. The nature of the stationary point is known by looking at the signs of the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt; s are all negative, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of maximum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are all positive then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of minimum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s have different signs, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a saddle point. &lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the [[Response_Surface_Methods_for_Optimization#Example_2| example]] in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the second order model fitted to the response, in terms of the coded variables, was obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrices for this model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;b=\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right]\text{      }B=\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{x}_{s}}= &amp;amp; -\frac{1}{2}{{B}^{-1}}b \\ &lt;br /&gt;
= &amp;amp; -\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, in terms of the actual values, the stationary point can be found as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Temperature:} &amp;amp; 0.3=\frac{T-350}{(355-345)/2} \\ &lt;br /&gt;
T= &amp;amp; 351.5\text{ }F  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Time:} &amp;amp; 0.4=\frac{t-165}{(175-155)/2} \\ &lt;br /&gt;
t= &amp;amp; 169.0\text{ minutes}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To find the nature of the stationary point the eigenvalues of the &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrix can be obtained as follows using the determinant of the matrix &amp;lt;math&amp;gt;B-\lambda I\,\!&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left| B-\lambda I \right|= &amp;amp; 0 \\ &lt;br /&gt;
\left| \begin{matrix}&lt;br /&gt;
   -1.52-\lambda  &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08-\lambda   \\&lt;br /&gt;
\end{matrix} \right|= &amp;amp; 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This gives us:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }^{2}}+3.61\lambda +2.9743=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solving the quadratic equation in &amp;lt;math&amp;gt;\lambda \,\!&amp;lt;/math&amp;gt; returns the eigenvalues &amp;lt;math&amp;gt;{{\lambda }_{1}}=-1.2723\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\lambda }_{2}}=-2.3377\,\!&amp;lt;/math&amp;gt;. Since both the eigenvalues are negative, it can be concluded that the stationary point is a point of maximum response. The predicted value of the maximum response can be obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\hat{y}}}_{s}}= &amp;amp; {{{\hat{\beta }}}_{0}}+\frac{1}{2}x_{s}^{\prime }b \\ &lt;br /&gt;
= &amp;amp; 94.91+\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]}^{\prime }}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; 95.3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In DOE++, the maximum response can be obtained by entering the required values as shown in the figure below. In the figure, the goal is to maximize the response and the limits of the search range for maximizing the response are entered as 90 and 100. The value of the maximum response and the corresponding values of the factors obtained are shown in the second figure following. These values match the values calculated in this example.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_21.png|center|543px|Settings to obtain the maximum value of the response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_22.png|center|650px|Plot of the maximum response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]] against the factors, temperature and time.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Multiple Responses==&lt;br /&gt;
In many cases, the experimenter has to optimize a number of responses at the same time. For the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], assume that the experimenter has to also consider two other responses: cost of the product (which should be minimized) and the pH of the product (which should be close to 7 so that the product is neither acidic nor basic). The data is presented in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.23.png|center|400px|Data for the additional responses of cost and pH for the example to investigate the yield of a chemical process.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem in dealing with multiple responses is that now there might be conflicting objectives because of the different requirements of each of the responses. The experimenter needs to come up with a solution that satisfies each of the requirements as much as possible without compromising too much on any of the requirements. The approach used in DOE++ to deal with optimization of multiple responses involves the use of desirability functions that are discussed next (for details see [[DOE_References|[Derringer and Suich, 1980]]]).&lt;br /&gt;
&lt;br /&gt;
===Desirability Functions===&lt;br /&gt;
Under this approach, each &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response is assigned a desirability function, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt;, where the value of &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; varies between 0 and 1. The function, &amp;lt;math&amp;gt;{{d}_{i}},\,\!&amp;lt;/math&amp;gt; is defined differently based on the objective of the response. If the response is to be maximized, as in the case of the previous example where the yield had to be maximized, then &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{\omega }} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;gt;T  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; represents the target value of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the acceptable lower limit value for this response and &amp;lt;math&amp;gt;\omega \,\!&amp;lt;/math&amp;gt; represents the weight. When &amp;lt;math&amp;gt;\omega =1\,\!&amp;lt;/math&amp;gt; the function &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is linear. If &amp;lt;math&amp;gt;\omega &amp;gt;1\,\!&amp;lt;/math&amp;gt; then more importance is placed on achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;\omega &amp;lt;1\,\!&amp;lt;/math&amp;gt;, less weight is assigned to achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. A graphical representation is shown in figure (a) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.24.png|center|400px|Desirability function plots for different response optimizations: (a) the goal is to maximize the response, (b) the goal is to minimize the response and (c) the goal is to get the response to a target value.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the response is to be minimized, as in the case when the response is cost, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;lt;T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{\omega }} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;math&amp;gt;U\,\!&amp;lt;/math&amp;gt; represents the acceptable upper limit for the response (see figure (b) above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be times when the experimenter wants the response to be neither maximized nor minimized, but instead stay as close to a specified target as possible. For example, in the case where the experimenter wants the product to be neither acidic nor basic, there is a requirement to keep the pH close to the neutral value of 7. In such cases, the desirability function is defined as follows (see figure (c) above):&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{{{\omega }_{1}}}} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{{{\omega }_{2}}}} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once a desirability function is defined for each of the responses, assuming that there are &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; responses, an overall desirability function is obtained as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;D={{(d_{1}^{{{r}_{1}}}\cdot d_{2}^{{{r}_{2}}}\cdot ...\cdot d_{m}^{{{r}_{m}}})}^{1/({{r}_{1}}+{{r}_{2}}+...+{{r}_{m}})}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt; s represent the importance of each response. The greater the value of &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt;, the more important the response with respect to the other responses. The objective is to now find the settings that return the maximum value of &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of desirability functions, consider the previous example with the three responses of yield, cost and pH. The response surfaces for the two additional responses of cost and pH are shown next in the figures (a) and (b), respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_25.png|center|500px|Response surfaces for (a) cost and (b) pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of actual variables, the models obtained for all three responses are as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Yield: } &amp;amp; {{{\hat{y}}}_{1}}=-7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
\text{Cost: } &amp;amp; {{{\hat{y}}}_{2}}=15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
\text{pH: } &amp;amp; {{{\hat{y}}}_{3}}=38.87-0.0709{{x}_{1}}-0.041{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Assume that the experimenter wants to have a target yield value of 95, although any value of yield greater than 94 is acceptable. Then the desirability function for yield is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{1}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{1}}&amp;lt;94  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{1}}-94}{95-94} \right)}^{\omega }} &amp;amp; 94\le {{y}_{1}}\le 95  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{1}}&amp;gt;95  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the cost, assume that the experimenter wants to lower the cost to 400, although any cost value below 415 is acceptable. Then the desirability function for cost is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{2}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{2}}&amp;lt;400  \\&lt;br /&gt;
   {{\left( \frac{415-{{y}_{2}}}{415-400} \right)}^{\omega }} &amp;amp; 400\le {{y}_{2}}\le 415  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{2}}&amp;gt;415  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the pH, a target of 7 is desired but values between 6.9 and 7.1 are also acceptable. Thus, the desirability function here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{3}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{3}}-6.9}{7-6.9} \right)}^{{{\omega }_{1}}}} &amp;amp; 6.9\le {{y}_{3}}\le 7  \\&lt;br /&gt;
   {{\left( \frac{7.1-{{y}_{3}}}{7.1-7} \right)}^{{{\omega }_{2}}}} &amp;amp; 7\le {{y}_{3}}\le 7.1  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;gt;7.1  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that in the previous equations all weights used (&amp;lt;math&amp;gt;{{\omega }_{i}}\,\!&amp;lt;/math&amp;gt; s) are 1. Thus, all three desirability functions are linear. The overall desirability function, assuming equal importance (&amp;lt;math&amp;gt;{{r}_{1}}={{r}_{2}}={{r}_{3}}=1\,\!&amp;lt;/math&amp;gt;) for all the responses, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; f({{{\hat{y}}}_{1}},{{{\hat{y}}}_{2}},{{{\hat{y}}}_{3}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of the experimenter is to find the settings of &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; such that the overall desirability, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, is maximum. In DOE++, the settings for the desirability functions for each of the three responses can be entered as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_26.png|center|750px|Optimization settings for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on these settings, DOE++ solves this optimization problem to obtain the following solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_27.png|center|650px|Optimum solution from DOE++ for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Temperature= &amp;amp; 351.5\text{ }F\text{ } \\ &lt;br /&gt;
Time= &amp;amp; 169\text{ }minutes  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The overall desirability achieved with this solution can be calculated easily. The values of each of the response for these settings are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{ }{{{\hat{y}}}_{1}}= &amp;amp; -7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; -7480.24+41.24(351.5)+3.88(169)+0.009(351.3)(169) \\ &lt;br /&gt;
 &amp;amp; -0.060825{{(351.5)}^{2}}-0.020831{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 95.3 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{2}}= &amp;amp; 15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; 15560.49-82.48(351.5)-7.76(169)-0.02(351.5)(169) \\ &lt;br /&gt;
 &amp;amp; +0.12165{{(351.5)}^{2}}+0.041663{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 409.35 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{3}}= &amp;amp; 38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \\ &lt;br /&gt;
= &amp;amp; 38.87-0.0709(351.5)-0.041(169) \\ &lt;br /&gt;
= &amp;amp; 7.00  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the response values, the individual desirability functions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{d}_{1}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{1}}&amp;gt;95\text{)} \\ &lt;br /&gt;
{{d}_{2}}= &amp;amp; \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right)\text{   (since  }400\le {{y}_{2}}\le 415\text{)} \\ &lt;br /&gt;
= &amp;amp; \left( \frac{415-409.35}{415-400} \right) \\ &lt;br /&gt;
= &amp;amp; 0.3767 \\ &lt;br /&gt;
{{d}_{3}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{3}}\approx 7\text{)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the overall desirability is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; {{(1\cdot 0.3767\cdot 1)}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; 0.72  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the same as the Global Desirability displayed by DOE++ in the figure above. At times, a number of solutions may be obtained from DOE++, and it is up to the experimenter to choose the most feasible one.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65218</id>
		<title>Response Surface Methods for Optimization</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Response_Surface_Methods_for_Optimization&amp;diff=65218"/>
		<updated>2017-08-10T17:14:51Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|10}}&lt;br /&gt;
The experiment designs mentioned in [[Two_Level_Factorial_Experiments| Two Level Factorial Experiments]] and [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]] help the experimenter identify factors that affect the response. Once the important factors have been identified, the next step is to determine the settings for these factors that result in the optimum value of the response. The optimum value of the response may either be a maximum value or a minimum value, depending upon the product or process in question. For example, if the response in an experiment is the yield from a chemical process, then the objective might be to find the settings of the factors affecting the yield so that the yield is maximized. On the other hand, if the response in an experiment is the number of defects, then the goal would be to find the factor settings that minimize the number of defects. Methodologies that help the experimenter reach the goal of optimum response are referred to as &#039;&#039;response surface methods&#039;&#039;. These methods are exclusively used to examine the &amp;quot;surface,&amp;quot; or the relationship between the response and the factors affecting the response. Regression models are used for the analysis of the response, as the focus now is on the nature of the relationship between the response and the factors, rather than identification of the important factors.&lt;br /&gt;
&lt;br /&gt;
Response surface methods usually involve the following steps:&lt;br /&gt;
&lt;br /&gt;
#The experimenter needs to move from the present operating conditions to the vicinity of the operating conditions where the response is optimum. This is done using the &#039;&#039;method of steepest ascent&#039;&#039; in the case of maximizing the response. The same method can be used to minimize the response and is then referred to as the &#039;&#039;method of steepest descent&#039;&#039;.&lt;br /&gt;
#Once in the vicinity of the optimum response the experimenter needs to fit a more elaborate model between the response and the factors. Special experiment designs, referred to as [[Response_Surface_Methods_for_Optimization#RSM_Designs|&#039;&#039;RSM designs&#039;&#039;]], are used to accomplish this. The fitted model is used to arrive at the best operating conditions that result in either a maximum or minimum response.&lt;br /&gt;
#It is possible that a number of responses may have to be optimized at the same time. For example, an experimenter may want to maximize strength, while keeping the number of defects to a minimum. The optimum settings for each of the responses in such cases may lead to conflicting settings for the factors. A balanced setting has to be found that gives the most appropriate values for all the responses. Desirability functions are useful in these cases.&lt;br /&gt;
&lt;br /&gt;
==Method of Steepest Ascent==&lt;br /&gt;
The first step in obtaining the optimum response settings, after the important factors have been identified, is to explore the region around the current operating conditions to decide what direction needs to be taken to move towards the optimum region. Usually, a first order regression model (containing just the main effects and no interaction terms) is sufficient at the current operating conditions because the operating conditions are normally far from the optimum response settings. The experimenter needs to move from the current operating conditions to the optimum region in the most efficient way by using the minimum number of experiments. This is done using the method of steepest ascent. In this method, the contour plot of the first order model is used to decide the settings for the next experiment, in order to move towards the optimum conditions. Consider a process where the response has been found to be a function of two factors. To explore the region around the current operating conditions, the experimenter fits the following first order model between the response and the two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+\epsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface plot for the model, along with the contours, is shown in the figure below. It can be seen in the figure that in order to maximize the response, the most efficient direction in which to move the experiment is along the line perpendicular to the contours. This line, also referred to as the path of steepest ascent, is the line along which the rate of increase of the response is maximum. The steps along this line to move towards the optimum region are proportional to the regression coefficients, &amp;lt;math&amp;gt;{{\beta }_{j}},\,\!&amp;lt;/math&amp;gt; of the fitted first order model.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_1.png|center|504px|Path of steepest ascent for the model &amp;lt;math&amp;gt;y=\beta_0+\beta_1 x_1+\beta_2 x_2+\epsilon \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Experiments are conducted along each step of the path of steepest ascent until an increase in the response is not seen. Then, a new first order model is fit at the region of the maximum response. If the first order model shows a lack of fit, then this indicates that the experimenter has reached the vicinity of the optimum. RSM designs are then used explore the region thoroughly and obtain the point of the maximum response. If the first order model does not show a lack of fit, then a new path of steepest ascent is determined and the process is repeated.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
The yield from a chemical process is found to be affected by two factors: reaction temperature and reaction time. The current reaction temperature is 230 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time is 65 minutes. The experimenter wants to determine the settings of the two factors such that maximum yield can be obtained from the process. To explore the region around the current operating conditions, the experimenter decides to use a single replicate of the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design. The range of the factors for this design are chosen to be (225, 235) &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for the reaction temperature and (55, 75) minutes for the reaction time. The unreplicated &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design is also augmented with five runs at the center point to estimate the error sum of squares, &amp;lt;math&amp;gt;S{{S}_{E}}\,\!&amp;lt;/math&amp;gt;, and check for model adequacy. The response values obtained for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.2.png|center|256px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region around current operating conditions for a chemical process.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, this design can be set up using the properties shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_3.png|center|809px|Design properties for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design and the analysis results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_4.png|center|778px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment design in to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_5.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the current operating conditions.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that the results shown are in terms of the coded values of the factors (taking -1 as the value of the lower settings for reaction temperature and reaction time and +1 as the value for the higher settings for these two factors). The results show that the factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; (temperature) and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; (time), affect the response significantly but their interaction does not affect the response. Therefore the interaction term can be dropped from the model for this experiment. The results also show that Curvature is not a significant factor. This indicates that the first order model is adequate for the experiment at the current operating conditions. Using these two conclusions, the model for the current operating conditions, in terms the coded variables is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{y}=36.6375+1.1635x_{1}+0.4875x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt; represents the yield and &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; are the predictor variables for the two factors, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, respectively. To further confirm the adequacy of the model of the equation given above, the experiment can be analyzed again after dropping the interaction term, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;. The results are shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_6.png|center|774px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results show that the lack-of-fit for this model (because of the deficiency created in the model by the absence of the interaction term) is not significant, confirming that the model is adequate.&lt;br /&gt;
&lt;br /&gt;
==Path of Steepest Ascent==&lt;br /&gt;
The contour plot for the model used in the above example is shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_7.png|center|650px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment after the interaction term is dropped from the model.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression coefficients for the model are &amp;lt;math&amp;gt;\hat{\beta}_{1}= 1.1625\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\hat{\beta}_{2}= 0.4875\,\!&amp;lt;/math&amp;gt;. To move towards the optimum, the experimenter needs to move along the path of steepest ascent, which lies perpendicular to the contours. This path is the line through the center point of the current operating conditions (&amp;lt;math&amp;gt;x_{1}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}=0\,\!&amp;lt;/math&amp;gt;) with a slope of &amp;lt;math&amp;gt;\hat{\beta}_{2}/\hat{\beta}_{1}\,\!&amp;lt;/math&amp;gt;. Therefore, in terms of the coded variables, the experiment should be moved 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. To move along this path, the experimenter decides to use a step-size of 10 minutes for the reaction time, &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;. The coded value for this step size can be obtained as follows. Recall from [[Multiple_Linear_Regression_Analysis|Multiple Linear Regression Analysis]] that the relationship between coded and actual values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{actual\ value - mean}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
or&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;coded\ value=\frac{step\ size\ in\ actual\ value}{half\ of\ range}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, for a step-size of 10 minutes, the equivalent step size in coded value for &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{half\ of\ range\ of\ x_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{10}{(75-55)/2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of the coded variables, the path of steepest ascent requires a move of 1.1625 units in the &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt; direction for every 0.4875 units in the &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt; direction. The step-size for &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded value corresponding to any step-size in &amp;lt;math&amp;gt;x_{2}\,\!&amp;lt;/math&amp;gt;, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot(step\ size\ in\ x_{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, the step-size for the reaction temperature, &amp;lt;math&amp;gt;x_{1}\,\!&amp;lt;/math&amp;gt;, in terms of the coded variables is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{1.1625}{0.4875}\cdot1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
::&amp;lt;math&amp;gt;=\frac{\hat{\beta_{1}}}{\hat{\beta_{2}}}\cdot\Delta x_{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This corresponds to a step of approximately 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for temperature in terms of the actual value as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
step\ size\ in\ actual\ value = &amp;amp; (coded\ value)\cdot(half\ of\ the\ range\ of\ x_{1})\\&lt;br /&gt;
= &amp;amp; 2.39\cdot10/2\\&lt;br /&gt;
= &amp;amp; 11.95&lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using a step of 12 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and 10 minutes, the experimenter conducts experiments until no further increase is observed in the yield. The yield values at each step are shown in the table given next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet9.1.png|center|341px|Response values at each step of the path of steepest ascent for the experiment to investigate the yield of a chemical process. Units for factor levels and the response have been omitted.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The yield starts decreasing after the reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and the reaction time of 165 minutes, indicating that this point may lie close to the optimum region. To analyze the vicinity of this point, a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented by five center points is selected. The range of exploration is chosen to be 345 to 355 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; for reaction temperature and 155 to 175 minutes for reaction time. The response values recorded are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.8.png|center|348px|The &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design augmented with five center points to explore the region of maximum response obtained from the path of steepest ascent. Note that the center point of this design is the new origin.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results for this design are shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_9.png|center|760px|Results for the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; experiment to explore the region of maximum response.|link=]]&lt;br /&gt;
&lt;br /&gt;
In the results, Curvature is displayed as a significant factor. This indicates that the first order model is not adequate for this region of the experiment and a higher order model is required. As a result, the methodology of steepest ascent can no longer be used. The presence of curvature indicates that the experiment region may be close to the optimum. Special designs that allow the use of second order models are needed at this point.&lt;br /&gt;
&lt;br /&gt;
==RSM Designs==&lt;br /&gt;
A second order model is generally used to approximate the response once it is realized that the experiment is close to the optimum response region where a first order model is no longer adequate. The second order model is usually sufficient for the optimum region, as third order and higher effects are seldom important. The second order regression model takes the following form for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
y= &amp;amp; {{\beta }_{0}}+{{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+...+{{\beta }_{k}}{{x}_{k}}+ \\ &lt;br /&gt;
 &amp;amp; {{\beta }_{11}}x_{1}^{2}+{{\beta }_{22}}x_{2}^{2}+...+{{\beta }_{kk}}x_{k}^{2}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+...+{{\beta }_{k-1,k}}{{x}_{k-1}}{{x}_{k}}+\epsilon   &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model contains &amp;lt;math&amp;gt;p=(k+1)(k+2)/2\,\!&amp;lt;/math&amp;gt; regression parameters that include coefficients for main effects (&amp;lt;math&amp;gt;{{\beta }_{1}},{{\beta }_{2}}...{{\beta }_{k}}\,\!&amp;lt;/math&amp;gt;), coefficients for quadratic main effects (&amp;lt;math&amp;gt;{{\beta }_{11}},{{\beta }_{22}}...{{\beta }_{kk}}\,\!&amp;lt;/math&amp;gt;) and coefficients for two factor interaction effects (&amp;lt;math&amp;gt;{{\beta }_{12}},{{\beta }_{13}}\,\!&amp;lt;/math&amp;gt;... &amp;lt;math&amp;gt;{{\beta }_{k-1,k}}\,\!&amp;lt;/math&amp;gt;). A full factorial design with all factors at three levels would provide estimation of all the required regression parameters. However, full factorial three level designs are expensive to use as the number of runs increases rapidly with the number of factors. For example, a three factor full factorial design with each factor at three levels would require &amp;lt;math&amp;gt;{{3}^{3}}=27\,\!&amp;lt;/math&amp;gt; runs while a design with four factors would require &amp;lt;math&amp;gt;{{3}^{4}}=81\,\!&amp;lt;/math&amp;gt; runs. Additionally, these designs will estimate a number of higher order effects which are usually not of much importance to the experimenter. Therefore, for the purpose of analysis of response surfaces, special designs are used that help the experimenter fit the second order model to the response with the use of a minimum number of runs. Examples of these designs are the central composite and Box-Behnken designs.&lt;br /&gt;
&lt;br /&gt;
===Central Composite Designs===&lt;br /&gt;
Central composite designs are two level full factorial (&amp;lt;math&amp;gt;2^{k}\,\!&amp;lt;/math&amp;gt;) or fractional factorial (&amp;lt;math&amp;gt;2^{k-f}\,\!&amp;lt;/math&amp;gt;) designs augmented by a number of center points and other chosen runs. These designs are such that they allow the estimation of all the regression parameters required to fit a second order model to a given response.&lt;br /&gt;
&lt;br /&gt;
The simplest of the central composite designs can be used to fit a second order model to a response with two factors. The design consists of a &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; full factorial design augmented by a few runs at the center point (such a design is shown in figure (a) given below). A central composite design is obtained when runs at points (&amp;lt;math&amp;gt;-1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;1,0\,\!&amp;lt;/math&amp;gt;), (&amp;lt;math&amp;gt;0,-1\,\!&amp;lt;/math&amp;gt;) and (&amp;lt;math&amp;gt;0,1\,\!&amp;lt;/math&amp;gt;) are added to this design. These points are referred to as &#039;&#039;axial points&#039;&#039; or &#039;&#039;star points&#039;&#039; and represent runs where all but one of the factors are set at their mid-levels. The number of axial points in a central composite design having &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors is &amp;lt;math&amp;gt;2k\,\!&amp;lt;/math&amp;gt;. The distance of the axial points from the center point is denoted by &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; and is always specified in terms of coded values. For example, the central composite design in figure (b) given below has &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt;, while for the design of figure (c) &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.10.png|center|227px|Central composite designs: (a) shows the &amp;lt;math&amp;gt;2^2\,\!&amp;lt;/math&amp;gt; design with center point runs, (b) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=1\,\!&amp;lt;/math&amp;gt; and (c) shows the two factor central composite design with &amp;lt;math&amp;gt;\alpha=\sqrt{2}\,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It can be noted that when &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt;, each factor is run at five levels (&amp;lt;math&amp;gt;-\alpha \,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt;) instead of the three levels of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1\,\!&amp;lt;/math&amp;gt;. The reason for running central composite designs with &amp;lt;math&amp;gt;\alpha &amp;gt;1\,\!&amp;lt;/math&amp;gt; is to have a rotatable design, which is explained next.&lt;br /&gt;
&lt;br /&gt;
====Rotatability====&lt;br /&gt;
A central composite design is said to be &#039;&#039;rotatable&#039;&#039; if the variance of any predicted value of the response, &amp;lt;math&amp;gt;{{\hat{y}}_{p}}\,\!&amp;lt;/math&amp;gt;, for any level of the factors depends only on the distance of the point from the center of the design, regardless of the direction. In other words, a rotatable central composite design provides constant variance of the estimated response corresponding to all new observation points that are at the same distance from the center point of the design (in terms of the coded variables). &lt;br /&gt;
&lt;br /&gt;
The variance of the predicted response at any point, &amp;lt;math&amp;gt;{{x}_{p}}\,\!&amp;lt;/math&amp;gt;, is given as follows: &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]={{\sigma }^{2}}x_{p}^{\prime }{{({{X}^{\prime }}X)}^{-1}}{{x}_{p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The contours of &amp;lt;math&amp;gt;V[{{\hat{y}}_{p}}]\,\!&amp;lt;/math&amp;gt; for the central composite design in figure (c) above are shown in the figure below. The contours are concentric circles indicating that the central composite design of figure (c) is rotatable. Rotatability is a desirable property because the experimenter does not have any prior information about the location of the optimum. Therefore, a design that provides equal precision of estimation in all directions would be preferred. Such a design will assure the experimenter that no matter what direction is taken to search for the optimum, he/she will be able to estimate the response value with equal precision. A central composite design is rotatable if the value of &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; for the design satisfies the following equation:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\alpha ={{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{n}_{f}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs in the original factorial design and &amp;lt;math&amp;gt;{{n}_{s}}\,\!&amp;lt;/math&amp;gt; is the number of replicates of the runs at the axial points. For example, a central composite design with two factors, having a single replicate of the original factorial design, and a single replicate of all the axial points, would be rotatable for the following &amp;lt;math&amp;gt;\alpha \,\!&amp;lt;/math&amp;gt; value:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\alpha = &amp;amp; {{\left[ \frac{{{2}^{k-f}}({{n}_{f}})}{{{n}_{s}}} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; {{\left[ \frac{{{2}^{2}}(1)}{1} \right]}^{1/4}} \\ &lt;br /&gt;
= &amp;amp; \sqrt{2} \\ &lt;br /&gt;
= &amp;amp; 1.414  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, a central composite design in two factors, having a single replicate of the original &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design and axial points, and with &amp;lt;math&amp;gt;\alpha =1.414\,\!&amp;lt;/math&amp;gt;, is a rotatable design. This design is shown in figure (c) above.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.11.png|center|266px|The countours of &amp;lt;math&amp;gt;V[\hat{y}_p] \,\!&amp;lt;/math&amp;gt; for the rotatable two factor central composite design.]]&lt;br /&gt;
&lt;br /&gt;
====Spherical Design====&lt;br /&gt;
A central composite design is said to be &#039;&#039;spherical&#039;&#039; if all factorial and axial points are at same distance from the center of the design. Spherical central composite designs are obtained by setting &amp;lt;math&amp;gt;\alpha =\sqrt{k}\,\!&amp;lt;/math&amp;gt;. For example, the rotatable design in the figure above (c) is also a spherical design because for this design &amp;lt;math&amp;gt;\alpha =\sqrt{k}=\sqrt{2}=1.414\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
====Face-centered Design====&lt;br /&gt;
Central composite designs in which the axial points represent the mid levels for all but one of the factors are also referred to as &#039;&#039;face-centered&#039;&#039; central composite designs. For these designs, &amp;lt;math&amp;gt;\alpha =1\,\!&amp;lt;/math&amp;gt; and all factors are run at three levels, which are &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;1,\,\!&amp;lt;/math&amp;gt; in terms of the coded values (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.12.png|center|300px|Face-centered central composite design for three factors.]]&lt;br /&gt;
&lt;br /&gt;
===Box-Behnken Designs===&lt;br /&gt;
In [[Highly_Fractional_Factorial_Designs| Highly Fractional Factorial Designs]], highly fractional designs introduced by Plackett and Burman were discussed. Plackett-Burman designs are used to estimate main effects in the case of two level fractional factorial experiments using very few runs. [[DOE_References|[G. E. P. Box and D. W. Behnken (1960)]]] introduced similar designs for three level factors that are widely used in response surface methods to fit second-order models to the response. The designs are referred to as Box-Behnken designs. The designs were developed by the combination of two level factorial designs with incomplete block designs. For example, the figure below shows the Box-Behnken design for three factors. The design is obtained by the combination of &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with a balanced incomplete block design having three treatments and three blocks (for details see [[DOE_References|[Box 1960, Montgomery 2001]]]). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.13.png|center|400px|Box-Behnken design for three factors: (a) shows the geometric representation and (b) shows the design.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The advantages of Box-Behnken designs include the fact that they are all spherical designs and require factors to be run at only three levels. The designs are also rotatable or nearly rotatable. Some of these designs also provide orthogonal blocking. Thus, if there is a need to separate runs into blocks for the Box-Behnken design, then designs are available that allow blocks to be used in such a way that the estimation of the regression parameters for the factor effects are not affected by the blocks. In other words, in these designs the block effects are orthogonal to the other factor effects. Yet another advantage of these designs is that there are no runs where all factors are at either the &amp;lt;math&amp;gt;+1\,\!&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt; levels. For example, in the figure below the representation of the Box-Behnken design for three factors clearly shows that there are no runs at the corner points. This could be advantageous when the corner points represent runs that are expensive or inconvenient because they lie at the end of the range of the factor levels. A few of the Box-Behnken designs available in DOE++ are presented in [[Box-Behnken_Designs|Appendix F]].&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the first order model was found to be inadequate for the region near the optimum. Once the experimenter realized that the first order model was not adequate (for the region with a reaction temperature of 350 &amp;lt;math&amp;gt;F\,\!&amp;lt;/math&amp;gt; and reaction time of 165 minutes), it was decided to augment the experiment with axial runs to be able to complete a central composite design and fit a second order model to the response.  Notice the advantage of using a central composite design, as the experimenter only had to add the axial runs to the &amp;lt;math&amp;gt;2^{2}\,\!&amp;lt;/math&amp;gt; design with center point runs, and did not have to begin a new experiment. The experimenter decided to use &amp;lt;math&amp;gt;\alpha =1.4142\,\!&amp;lt;/math&amp;gt; to get a rotatable design. The obtained response values are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.14.png|center|280px|Response values for the two factor central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Such a design can be set up in DOE++ using the properties shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_15.png|center|744px|Properties for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the figure shown next.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_16.png|center|800px|Central composite design for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Results from the analysis of the design are shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_17.png|center|744px|Results for the central composite design in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The results in the figure above show that the main effects, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, the interaction, &amp;lt;math&amp;gt;AB\,\!&amp;lt;/math&amp;gt;, and the quadratic main effects, &amp;lt;math&amp;gt;{{A}^{2}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{B}^{2}}\,\!&amp;lt;/math&amp;gt;, (represented as AA and BB in the figure) are significant. The lack-of-fit test also shows that the second order model with these terms is adequate and a higher order model is not needed. Using these results, the model for the experiment in terms of the coded values is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response surface and the contour plot for this model, in terms of the actual variables, are shown in the below figures (a) and (b), respectively.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_a.png|center|650px|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_18_b.png|center|650px|Response surface and countour plot for the experiment in the [[Response_Surface_Methods_for_Optimization#Example_2| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
==Analysis of the Second Order Model==&lt;br /&gt;
Once a second order model is fit to the response, the next step is to locate the point of maximum or minimum response. The second order model for &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{i}}{{x}_{i}}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,{{\hat{\beta }}_{ii}}x_{i}^{2}+\underset{i=1}{\overset{k}{\mathop{\sum }}}\,\underset{j=1}{\overset{i-1}{\mathop{\sum }}}\,{{\hat{\beta }}_{ij}}{{x}_{i}}{{x}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The point for which the response, &amp;lt;math&amp;gt;\hat{y}\,\!&amp;lt;/math&amp;gt;, is optimized is the point at which the partial derivatives, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\partial \hat{y}/\partial {{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;...\partial \hat{y}/\partial {{x}_{k}},\,\!&amp;lt;/math&amp;gt; are all equal to zero. This point is called the &#039;&#039;stationary point&#039;&#039;. The stationary point may be a point of maximum response, minimum response or a saddle point. These three conditions are shown in the following figures (a), (b) and (c) respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.19.png|center|300px|Types of second order response surfaces and their contour plots. (a) shows the surface with a maximum point, (b) shows the surface with a minimum point and (c) shows the surface with a saddle point.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that these conditions are easy to identify, in the case of two factor experiments, by the inspection of the contour plots. However, when more than two factors exist in an experiment, then the general mathematical solution for the location of the stationary point has to be used. The equation given above can be written in matrix notation as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{\beta }}_{0}}+{{x}^{\prime }}b+{{x}^{\prime }}Bx\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x=\left[ \begin{matrix}&lt;br /&gt;
   {{x}_{1}}  \\&lt;br /&gt;
   {{x}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{x}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   }b=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{1}}  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{2}}  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   .  \\&lt;br /&gt;
   {{{\hat{\beta }}}_{k}}  \\&lt;br /&gt;
\end{matrix} \right]\text{   and   }B=\left[ \begin{matrix}&lt;br /&gt;
   {{{\hat{\beta }}}_{11}} &amp;amp; {{{\hat{\beta }}}_{12}}/2 &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{1k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {{{\hat{\beta }}}_{22}} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; {{{\hat{\beta }}}_{2k}}/2  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; . &amp;amp; .  \\&lt;br /&gt;
   \text{sym}\text{.} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {{{\hat{\beta }}}_{kk}}  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the stationary point can be determined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{\partial \hat{y}}{\partial x}=b+2Bx=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{s}}=-\frac{1}{2}{{B}^{-1}}b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The optimum response is the response corresponding to &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt;. The optimum response can be obtained to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\hat{y}}_{s}}={{\hat{\beta }}_{0}}+\frac{1}{2}x_{s}^{\prime }b\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the stationary point is known, it is necessary to determine if it is a maximum or minimum or saddle point. To do this, the second order model has to be transformed to the canonical form. This is done by transforming the model to a new coordinate system such that the origin lies at the stationary point and the axes are parallel to the principal axes of the fitted response surface, shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.20.png|center|247px|The second order model in canonical form.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting model equation then takes the following form: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}={{\hat{y}}_{s}}+{{\lambda }_{1}}w_{1}^{2}+{{\lambda }_{2}}w_{2}^{2}+...+{{\lambda }_{k}}w_{k}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{w}_{i}}\,\!&amp;lt;/math&amp;gt; s are the transformed independent variables, and &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are constants that are also the eigenvalues of the matrix &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;. The nature of the stationary point is known by looking at the signs of the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt; s are all negative, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of maximum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s are all positive then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a point of minimum response. If the &amp;lt;math&amp;gt;{{\lambda }_{i}}\,\!&amp;lt;/math&amp;gt;s have different signs, then &amp;lt;math&amp;gt;{{x}_{s}}\,\!&amp;lt;/math&amp;gt; is a saddle point. &lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
Continuing with the [[Response_Surface_Methods_for_Optimization#Example_2| example]] in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], the second order model fitted to the response, in terms of the coded variables, was obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\hat{y}=94.91+0.74{{x}_{1}}+1.53{{x}_{2}}+0.45{{x}_{1}}{{x}_{2}}-1.52x_{1}^{2}-2.08x_{2}^{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the &amp;lt;math&amp;gt;b\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrices for this model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;b=\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right]\text{      }B=\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The stationary point is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{x}_{s}}= &amp;amp; -\frac{1}{2}{{B}^{-1}}b \\ &lt;br /&gt;
= &amp;amp; -\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   -1.52 &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08  \\&lt;br /&gt;
\end{matrix} \right]}^{-1}}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; \left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, in terms of the actual values, the stationary point can be found as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Temperature:} &amp;amp; 0.3=\frac{T-350}{(355-345)/2} \\ &lt;br /&gt;
T= &amp;amp; 351.5\text{ }F  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Reaction Time:} &amp;amp; 0.4=\frac{t-165}{(175-155)/2} \\ &lt;br /&gt;
t= &amp;amp; 169.0\text{ minutes}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To find the nature of the stationary point the eigenvalues of the &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; matrix can be obtained as follows using the determinant of the matrix &amp;lt;math&amp;gt;B-\lambda I\,\!&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\left| B-\lambda I \right|= &amp;amp; 0 \\ &lt;br /&gt;
\left| \begin{matrix}&lt;br /&gt;
   -1.52-\lambda  &amp;amp; 0.45  \\&lt;br /&gt;
   0.45 &amp;amp; -2.08-\lambda   \\&lt;br /&gt;
\end{matrix} \right|= &amp;amp; 0  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This gives us:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\lambda }^{2}}+3.61\lambda +2.9743=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Solving the quadratic equation in &amp;lt;math&amp;gt;\lambda \,\!&amp;lt;/math&amp;gt; returns the eigenvalues &amp;lt;math&amp;gt;{{\lambda }_{1}}=-1.2723\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\lambda }_{2}}=-2.3377\,\!&amp;lt;/math&amp;gt;. Since both the eigenvalues are negative, it can be concluded that the stationary point is a point of maximum response. The predicted value of the maximum response can be obtained as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\hat{y}}}_{s}}= &amp;amp; {{{\hat{\beta }}}_{0}}+\frac{1}{2}x_{s}^{\prime }b \\ &lt;br /&gt;
= &amp;amp; 94.91+\frac{1}{2}{{\left[ \begin{matrix}&lt;br /&gt;
   0.3  \\&lt;br /&gt;
   0.4  \\&lt;br /&gt;
\end{matrix} \right]}^{\prime }}\left[ \begin{matrix}&lt;br /&gt;
   0.74  \\&lt;br /&gt;
   1.53  \\&lt;br /&gt;
\end{matrix} \right] \\ &lt;br /&gt;
= &amp;amp; 95.3  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In DOE++, the maximum response can be obtained by entering the required values as shown in the figure below. In the figure, the goal is to maximize the response and the limits of the search range for maximizing the response are entered as 90 and 100. The value of the maximum response and the corresponding values of the factors obtained are shown in the second figure following. These values match the values calculated in this example.   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_21.png|center|543px|Settings to obtain the maximum value of the response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]].|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_22.png|center|650px|Plot of the maximum response in the [[Response_Surface_Methods_for_Optimization#Example_3| example]] against the factors, temperature and time.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Multiple Responses==&lt;br /&gt;
In many cases, the experimenter has to optimize a number of responses at the same time. For the example in [[Response_Surface_Methods_for_Optimization#Method_of_Steepest_Ascent| Method of Steepest Ascent]], assume that the experimenter has to also consider two other responses: cost of the product (which should be minimized) and the pH of the product (which should be close to 7 so that the product is neither acidic nor basic). The data is presented in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.23.png|center|400px|Data for the additional responses of cost and pH for the example to investigate the yield of a chemical process.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The problem in dealing with multiple responses is that now there might be conflicting objectives because of the different requirements of each of the responses. The experimenter needs to come up with a solution that satisfies each of the requirements as much as possible without compromising too much on any of the requirements. The approach used in DOE++ to deal with optimization of multiple responses involves the use of desirability functions that are discussed next (for details see [[DOE_References|[Derringer and Suich, 1980]]]).&lt;br /&gt;
&lt;br /&gt;
===Desirability Functions===&lt;br /&gt;
Under this approach, each &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response is assigned a desirability function, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt;, where the value of &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; varies between 0 and 1. The function, &amp;lt;math&amp;gt;{{d}_{i}},\,\!&amp;lt;/math&amp;gt; is defined differently based on the objective of the response. If the response is to be maximized, as in the case of the previous example where the yield had to be maximized, then &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{\omega }} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;gt;T  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;T\,\!&amp;lt;/math&amp;gt; represents the target value of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the acceptable lower limit value for this response and &amp;lt;math&amp;gt;\omega \,\!&amp;lt;/math&amp;gt; represents the weight. When &amp;lt;math&amp;gt;\omega =1\,\!&amp;lt;/math&amp;gt; the function &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is linear. If &amp;lt;math&amp;gt;\omega &amp;gt;1\,\!&amp;lt;/math&amp;gt; then more importance is placed on achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. When &amp;lt;math&amp;gt;\omega &amp;lt;1\,\!&amp;lt;/math&amp;gt;, less weight is assigned to achieving the target for the response, &amp;lt;math&amp;gt;{{y}_{i}}\,\!&amp;lt;/math&amp;gt;. A graphical representation is shown in figure (a) below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9.24.png|center|400px|Desirability function plots for different response optimizations: (a) the goal is to maximize the response, (b) the goal is to minimize the response and (c) the goal is to get the response to a target value.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the response is to be minimized, as in the case when the response is cost, &amp;lt;math&amp;gt;{{d}_{i}}\,\!&amp;lt;/math&amp;gt; is defined as follows:  &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{i}}&amp;lt;T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{\omega }} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here &amp;lt;math&amp;gt;U\,\!&amp;lt;/math&amp;gt; represents the acceptable upper limit for the response (see figure (b) above).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There may be times when the experimenter wants the response to be neither maximized nor minimized, but instead stay as close to a specified target as possible. For example, in the case where the experimenter wants the product to be neither acidic nor basic, there is a requirement to keep the pH close to the neutral value of 7. In such cases, the desirability function is defined as follows (see figure (c) above):&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{i}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{i}}-L}{T-L} \right)}^{{{\omega }_{1}}}} &amp;amp; L\le {{y}_{i}}\le T  \\&lt;br /&gt;
   {{\left( \frac{U-{{y}_{i}}}{U-T} \right)}^{{{\omega }_{2}}}} &amp;amp; T\le {{y}_{i}}\le U  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{i}}&amp;gt;U  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once a desirability function is defined for each of the responses, assuming that there are &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; responses, an overall desirability function is obtained as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;D={{(d_{1}^{{{r}_{1}}}\cdot d_{2}^{{{r}_{2}}}\cdot ...\cdot d_{m}^{{{r}_{m}}})}^{1/({{r}_{1}}+{{r}_{2}}+...+{{r}_{m}})}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where the &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt; s represent the importance of each response. The greater the value of &amp;lt;math&amp;gt;{{r}_{i}}\,\!&amp;lt;/math&amp;gt;, the more important the response with respect to the other responses. The objective is to now find the settings that return the maximum value of &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
To illustrate the use of desirability functions, consider the previous example with the three responses of yield, cost and pH. The response surfaces for the two additional responses of cost and pH are shown next in the figures (a) and (b), respectively. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_25.png|center|500px|Response surfaces for (a) cost and (b) pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In terms of actual variables, the models obtained for all three responses are as shown next:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{Yield: } &amp;amp; {{{\hat{y}}}_{1}}=-7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
\text{Cost: } &amp;amp; {{{\hat{y}}}_{2}}=15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
\text{pH: } &amp;amp; {{{\hat{y}}}_{3}}=38.87-0.0709{{x}_{1}}-0.041{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
Assume that the experimenter wants to have a target yield value of 95, although any value of yield greater than 94 is acceptable. Then the desirability function for yield is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{1}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{1}}&amp;lt;94  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{1}}-94}{95-94} \right)}^{\omega }} &amp;amp; 94\le {{y}_{1}}\le 95  \\&lt;br /&gt;
   1 &amp;amp; {{y}_{1}}&amp;gt;95  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the cost, assume that the experimenter wants to lower the cost to 400, although any cost value below 415 is acceptable. Then the desirability function for cost is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{2}}=\left\{ \begin{matrix}&lt;br /&gt;
   1 &amp;amp; {{y}_{2}}&amp;lt;400  \\&lt;br /&gt;
   {{\left( \frac{415-{{y}_{2}}}{415-400} \right)}^{\omega }} &amp;amp; 400\le {{y}_{2}}\le 415  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{2}}&amp;gt;415  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the pH, a target of 7 is desired but values between 6.9 and 7.1 are also acceptable. Thus, the desirability function here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{d}_{3}}=\left\{ \begin{matrix}&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;lt;L  \\&lt;br /&gt;
   {{\left( \frac{{{y}_{3}}-6.9}{7-6.9} \right)}^{{{\omega }_{1}}}} &amp;amp; 6.9\le {{y}_{3}}\le 7  \\&lt;br /&gt;
   {{\left( \frac{7.1-{{y}_{3}}}{7.1-7} \right)}^{{{\omega }_{2}}}} &amp;amp; 7\le {{y}_{3}}\le 7.1  \\&lt;br /&gt;
   0 &amp;amp; {{y}_{3}}&amp;gt;7.1  \\&lt;br /&gt;
\end{matrix} \right.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that in the previous equations all weights used (&amp;lt;math&amp;gt;{{\omega }_{i}}\,\!&amp;lt;/math&amp;gt; s) are 1. Thus, all three desirability functions are linear. The overall desirability function, assuming equal importance (&amp;lt;math&amp;gt;{{r}_{1}}={{r}_{2}}={{r}_{3}}=1\,\!&amp;lt;/math&amp;gt;) for all the responses, is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; f({{{\hat{y}}}_{1}},{{{\hat{y}}}_{2}},{{{\hat{y}}}_{3}})  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of the experimenter is to find the settings of &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; such that the overall desirability, &amp;lt;math&amp;gt;D\,\!&amp;lt;/math&amp;gt;, is maximum. In DOE++, the settings for the desirability functions for each of the three responses can be entered as shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_26.png|center|750px|Optimization settings for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on these settings, DOE++ solves this optimization problem to obtain the following solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe9_27.png|center|650px|Optimum solution from DOE++ for the three responses of yield, cost, and pH.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
Temperature= &amp;amp; 351.5\text{ }F\text{ } \\ &lt;br /&gt;
Time= &amp;amp; 169\text{ }minutes  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The overall desirability achieved with this solution can be calculated easily. The values of each of the response for these settings are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\text{ }{{{\hat{y}}}_{1}}= &amp;amp; -7480.24+41.24{{x}_{1}}+3.88{{x}_{2}}+0.009{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; -0.060825x_{1}^{2}-0.020831x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; -7480.24+41.24(351.5)+3.88(169)+0.009(351.3)(169) \\ &lt;br /&gt;
 &amp;amp; -0.060825{{(351.5)}^{2}}-0.020831{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 95.3 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{2}}= &amp;amp; 15560.49-82.48{{x}_{1}}-7.76{{x}_{2}}-0.02{{x}_{1}}{{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.12165x_{1}^{2}+0.041663x_{2}^{2} \\ &lt;br /&gt;
= &amp;amp; 15560.49-82.48(351.5)-7.76(169)-0.02(351.5)(169) \\ &lt;br /&gt;
 &amp;amp; +0.12165{{(351.5)}^{2}}+0.041663{{(169)}^{2}} \\ &lt;br /&gt;
= &amp;amp; 409.35 \\ &lt;br /&gt;
\text{ }{{{\hat{y}}}_{3}}= &amp;amp; 38.87-0.0709{{x}_{1}}-0.041{{x}_{2}} \\ &lt;br /&gt;
= &amp;amp; 38.87-0.0709(351.5)-0.041(169) \\ &lt;br /&gt;
= &amp;amp; 7.00  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Based on the response values, the individual desirability functions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{d}_{1}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{1}}&amp;gt;95\text{)} \\ &lt;br /&gt;
{{d}_{2}}= &amp;amp; \left( \frac{415-{{{\hat{y}}}_{2}}}{415-400} \right)\text{   (since  }400\le {{y}_{2}}\le 415\text{)} \\ &lt;br /&gt;
= &amp;amp; \left( \frac{415-409.35}{415-400} \right) \\ &lt;br /&gt;
= &amp;amp; 0.3767 \\ &lt;br /&gt;
{{d}_{3}}= &amp;amp; 1\text{   (since  }{{{\hat{y}}}_{3}}\approx 7\text{)}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the overall desirability is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
D= &amp;amp; {{({{d}_{1}}\cdot {{d}_{2}}\cdot {{d}_{3}})}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; {{(1\cdot 0.3767\cdot 1)}^{1/3}} \\ &lt;br /&gt;
= &amp;amp; 0.72  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the same as the Global Desirability displayed by DOE++ in the figure above. At times, a number of solutions may be obtained from DOE++, and it is up to the experimenter to choose the most feasible one.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65217</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65217"/>
		<updated>2017-08-10T17:13:40Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Discussion on Power Calculation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In a DOE folio, the power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in the DOE folio are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in the DOE folio for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in the DOE folio are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in the DOE folio. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in a DOE folio using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in a DOE folio can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in a DOE folio is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65216</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65216"/>
		<updated>2017-08-10T17:13:11Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Power Study for Response Surface Method Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In a DOE folio, the power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in the DOE folio are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in the DOE folio for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in the DOE folio are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in the DOE folio. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in a DOE folio using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in a DOE folio can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65215</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65215"/>
		<updated>2017-08-10T17:12:08Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Power Study for General Level Factorial Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In a DOE folio, the power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in the DOE folio are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in the DOE folio for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in the DOE folio are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in the DOE folio. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in DOE++ using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in DOE++ can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65214</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65214"/>
		<updated>2017-08-10T17:11:44Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Power Study for 2 Level Factorial Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In a DOE folio, the power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in the DOE folio are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in the DOE folio for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in the DOE folio are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in DOE++. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in DOE++ using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in DOE++ can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65213</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65213"/>
		<updated>2017-08-10T17:11:14Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Power Calculation for Comparing Multiple Means: Unbalanced Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In a DOE folio, the power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in the DOE folio are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in the DOE folio for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in DOE++ are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in DOE++. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in DOE++ using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in DOE++ can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65212</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65212"/>
		<updated>2017-08-10T17:10:21Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Power Calculation for Comparing Multiple Means: Balanced Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In a DOE folio, the power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in the DOE folio are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In DOE++, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in DOE++ for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in DOE++ are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in DOE++. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in DOE++ using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in DOE++ can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65211</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65211"/>
		<updated>2017-08-10T17:09:16Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Power Calculation for Comparing Multiple Means: Balanced Designs */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In a DOE folio, the power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in DOE++ are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In DOE++, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in DOE++ for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in DOE++ are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in DOE++. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in DOE++ using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in DOE++ can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65210</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65210"/>
		<updated>2017-08-10T17:07:55Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Power Calculation for Comparing Two Means */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In a DOE folio, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In DOE++, power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in DOE++ are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In DOE++, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in DOE++ for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in DOE++ are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in DOE++. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in DOE++ using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in DOE++ can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65209</id>
		<title>Design Evaluation and Power Study</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Design_Evaluation_and_Power_Study&amp;diff=65209"/>
		<updated>2017-08-10T17:06:58Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Optimality */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|11}}&lt;br /&gt;
In general, there are three stages in applying design of experiments (DOE) to solve an issue: designing the experiment, conducting the experiment, and analyzing the data. The first stage is very critical. If the designed experiment is not efficient, you are unlikely to obtain good results. It is very common to evaluate an experiment before conducting the tests. A design evaluation often focuses on the following four properties:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The alias structure&#039;&#039;&#039;. Are main effects and two-way interactions in the experiment aliased with each other? What is the resolution of the design?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The orthogonality&#039;&#039;&#039;. An orthogonal design is always preferred. If a design is non-orthogonal, how are the estimated coefficients correlated?&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;&#039;The optimality&#039;&#039;&#039;. A design is called “optimal” if it can meet one or more of the following criteria:&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;D&#039;&#039;-optimality: minimize the determinant of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix.&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&#039;&#039;V&#039;&#039;-optimality: minimize the average prediction variance in the design space.&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;ol start=&amp;quot;4&amp;quot;&amp;gt;&amp;lt;li&amp;gt;&#039;&#039;&#039;The power (or its inverse, Type II error).&#039;&#039;&#039; Power is the probability of detecting an effect through experiments when it is indeed active. A design with low power for main effects is not a good design.&amp;lt;/li&amp;gt;&amp;lt;/ol&amp;gt; &lt;br /&gt;
&lt;br /&gt;
In the following sections, we will discuss how to evaluate a design according to these four properties.&lt;br /&gt;
&lt;br /&gt;
=Alias Structure=&lt;br /&gt;
&lt;br /&gt;
To reduce the sample size in an experiment, we usually focus only on the main effects and lower-order interactions, while assuming that higher-order interactions are not active. For example, screening experiments are often conducted with a number of runs that barely fits the main effect-only model. However, due to the limited number of runs, the estimated main effects often are actually combined effects of main effects and interaction effects. In other words the estimated main effects are &#039;&#039;aliased&#039;&#039; with interaction effects. Since these effects are aliased, the estimated main effects are said to be &#039;&#039;biased&#039;&#039;. If the interaction effects are large, then the bias will be significant. Thus, it is very important to find out how all the effects in an experiment are aliased with each other. A design&#039;s alias structure is used for this purpose, and its calculation is given below. &lt;br /&gt;
&lt;br /&gt;
Assume the matrix representation of the true model for an experiment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the model used in a screening experiment is a reduced one, as given by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:  &amp;lt;math&amp;gt;Y={{X}_{1}}{{\beta }_{1}}+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then, from this experiment, the estimated &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt; is biased. This is because the ordinary least square estimator of &amp;lt;math&amp;gt;{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;  is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\hat{\beta }}_{1}}={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As discussed in [[DOE_References|[Wu, 2000]]], the expected value of this estimator is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; E\left( {{{\hat{\beta }}}_{1}} \right)=E\left[ {{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}Y \right] \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E(Y) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}E({{X}_{1}}{{\beta }_{1}}+{{X}_{2}}{{\beta }_{2}}+\varepsilon ) \\ &lt;br /&gt;
 &amp;amp; ={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{1}}{{\beta }_{1}}+{{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}{{\beta }_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}+A{{\beta }_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;A={{\left( X_{1}^{&#039;}{{X}_{1}} \right)}^{-1}}X_{1}^{&#039;}{{X}_{2}}\,\!&amp;lt;/math&amp;gt; is called the &#039;&#039;alias matrix&#039;&#039; of the design. For example, for a three factorial screening experiment with four runs, the design matrix is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-	&lt;br /&gt;
| A  || B  || C&lt;br /&gt;
|-&lt;br /&gt;
| -1 || -1 || 1&lt;br /&gt;
|-&lt;br /&gt;
| 1  || -1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| -1 ||  1 || -1&lt;br /&gt;
|-&lt;br /&gt;
| 1  ||  1 || 1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If we assume the &#039;&#039;true&#039;&#039; model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{123}}ABC+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
and the &#039;&#039;used&#039;&#039; model (i.e., the model used in the experiment data analysis) is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then &amp;lt;math&amp;gt;{{X}_{1}}=[I\text{ }A\text{ }B\text{ }C]\,\!&amp;lt;/math&amp;gt; and&lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{2}}=[AB\text{ }AC\text{ }BC\text{ }ABC]\,\!&amp;lt;/math&amp;gt;. The alias matrix &#039;&#039;A&#039;&#039; is calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I||	0||	0||	0||	1&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0||	1||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	1||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	1||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sometimes, we also put &amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt; in the above matrix. Then the &#039;&#039;A&#039;&#039; matrix becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| || I||	A||	B||	C||	AB||	AC||	BC||	ABC&lt;br /&gt;
|-&lt;br /&gt;
|I|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1&lt;br /&gt;
|-&lt;br /&gt;
|A|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	 style=&amp;quot;background: #AAEEEE&amp;quot; |0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|-&lt;br /&gt;
|C|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	0|| style=&amp;quot;background: #AAEEEE&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	1||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0||style=&amp;quot;background: #AAEE22&amp;quot; |	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For the terms included in the &#039;&#039;used&#039;&#039; model, the alias structure is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; [I]=I+ABC \\ &lt;br /&gt;
 &amp;amp; [A]=A+BC \\ &lt;br /&gt;
 &amp;amp; [B]=B+AC \\ &lt;br /&gt;
 &amp;amp; [C]=C+AB \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the alias structure and the definition of resolution, we know this is a resolution III design. The estimated main effects are aliased with two-way interactions. For example, &#039;&#039;A&#039;&#039; is aliased with &#039;&#039;BC&#039;&#039;. If, based on engineering knowledge, the experimenter suspects that some of the interactions are important, then this design is unacceptable since it cannot distinguish the main effect from important interaction effects. &lt;br /&gt;
&lt;br /&gt;
For a designed experiment it is better to check its alias structure before conducting the experiment to determine whether or not some of the important effects can be clearly estimated.&lt;br /&gt;
&lt;br /&gt;
=Orthogonality=&lt;br /&gt;
&lt;br /&gt;
Orthogonality is a model-related property. For example, for a main effect-only model, if all the coefficients estimated through ordinary least squares estimation are not correlated, then this experiment is an &#039;&#039;orthogonal design for main effects&#039;&#039;. An orthogonal design has the minimal variance for the estimated model coefficients. Determining whether a design is orthogonal is very simple. Consider the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y=X\beta +\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix for the model coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)=\sigma _{\varepsilon }^{2}{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\sigma _{\varepsilon }^{2}\,\!&amp;lt;/math&amp;gt; is the variance of the error. When all the factors in the model are quantitative factors or all the factors are 2 levels, &amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a regular symmetric matrix . The diagonal elements of it are the variances of model coefficients, and the off-diagonal elements are the covariance among these coefficients. When some of the factors are qualitative factors with more than 2 levels,&lt;br /&gt;
&amp;lt;math&amp;gt;Var\left( {\hat{\beta }} \right)\,\!&amp;lt;/math&amp;gt; is a block symmetric matrix. The block elements in the diagonal represent the variance and covariance matrix of the qualitative factors, and the off-diagonal elements are the covariance among all the coefficients. &lt;br /&gt;
&lt;br /&gt;
Therefore, to check if a design is orthogonal for a given model, we only need to check matrix :&amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. For the example used in the previous section, if we assume the main effect-only model is used, then &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B||	C&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.25||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.25||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B||	0||	0||	0.25||	0&lt;br /&gt;
|-&lt;br /&gt;
|C||	0||	0||	0||	0.25&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since all the off-diagonal elements are 0, the design is an orthogonal design for main effects. For an orthogonal design, it is also true that the diagonal elements are 1/&#039;&#039;n&#039;&#039;, where &#039;&#039;n&#039;&#039; is the number of total runs. &lt;br /&gt;
&lt;br /&gt;
When there are qualitative factors with more than 2 levels in the model, &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; will be a block symmetric matrix. For example, assume we have the following design matrix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Run Order	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
|-&lt;br /&gt;
|1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|3||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	2&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|8||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	-1||	3&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|14||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|16||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|17||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|18||	1||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factor B has 3 levels, so 2 indicator variables are used in the regression model. The &amp;lt;math&amp;gt;{{\left( {{X}^{&#039;}}X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; matrix for a model with main effects and the interaction is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	I||	A||	B[1]	||B[2]||	AB[1]||	AB[2]&lt;br /&gt;
|-&lt;br /&gt;
|I||	0.0556||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|A||	0||	0.0556||	0	||0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[1]||	0||	0||	0.1111	||-0.0556||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|B[2]||	0||	0||	-0.0556||	0.1111	||0	||0&lt;br /&gt;
|-&lt;br /&gt;
|AB[1]||	0||	0||	0||	0||	0.1111||	-0.0556&lt;br /&gt;
|-&lt;br /&gt;
|AB[2]||	0||	0||	0||	0||	-0.0556||	0.1111&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above matrix shows this design is orthogonal since it is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
For an orthogonal design for a given model, all the coefficients in the model can be estimated independently. Dropping one or more terms from the model will not affect the estimation of other coefficients and their variances. If a design is not orthogonal, it means some of the terms in the model are correlated. If the correlation is strong, then the statistical test results for these terms may not be accurate. &lt;br /&gt;
&lt;br /&gt;
VIF (variance inflation factor) is used to examine the correlation of one term with other terms. The VIF is commonly used to diagnose multicollinearity in regression analysis. As a rule of thumb, a VIF of greater than 10 indicates a strong correlation between some of the terms. VIF can be simply calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;VI{{F}_{i}}=\frac{n}{{{\sigma }^{2}}}\operatorname{var}\left( {{{\hat{\beta }}}_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For more detailed discussion on VIF, please see [[Multiple_Linear_Regression_Analysis#Multicollinearity|Multiple Linear Regression Analysis]].&lt;br /&gt;
&lt;br /&gt;
=Optimality=&lt;br /&gt;
&lt;br /&gt;
Orthogonal design is always ideal. However, due to the constraints on sample size and cost, it is sometimes not possible. If this is the case, we want to get a design that is as orthogonal as possible. The so-called &#039;&#039;D&#039;&#039;-efficiency is used to measure the orthogonality of a two level factorial design. It is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&#039;&#039;D&#039;&#039;-efficiency&amp;lt;math&amp;gt;={{\left( \frac{\left| X&#039;X \right|}{{{n}^{p}}} \right)}^{1/p}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &#039;&#039;p&#039;&#039; is the number of coefficients in the model and &#039;&#039;n&#039;&#039; is the total sample size. &#039;&#039;D&#039;&#039; represents the determinant.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is the &#039;&#039;information matrix&#039;&#039; of a design. When you compare two different screening designs, the one with a larger determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; is usually better. &#039;&#039;D-efficiency&#039;&#039; can be used for comparing two designs. Other alphabetic optimal criteria are also used in design evaluation. If a model and the number of runs are given, an optimal design can be found using computer algorithms for one of the following optimality criteria:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&#039;&#039;D&#039;&#039;-optimality: maximize the determinant of the information matrix &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt;. This is the same as minimizing the determinant of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
*&#039;&#039;A&#039;&#039;-optimality: minimize the trace of the variance-covariance matrix &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;. The trace of a matrix is the sum of all its diagonal elements.&lt;br /&gt;
*&#039;&#039;V&#039;&#039;-optimality (or &#039;&#039;I&#039;&#039;-optimality): minimize the average prediction variance within the design space. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The determinant of &amp;lt;math&amp;gt;X&#039;X\,\!&amp;lt;/math&amp;gt; and the trace of &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
are given in the design evaluation in the DOE folio. &#039;&#039;V&#039;&#039;-optimality is not yet included.&lt;br /&gt;
&lt;br /&gt;
=Power Study =&lt;br /&gt;
&lt;br /&gt;
Power calculation is another very important topic in design evaluation. When designs are balanced, calculating the power (which, you will recall, is the probability of detecting an effect when that effect is active) is straightforward. However, for unbalanced designs, the calculation can be very complicated. We will discuss methods for calculating the power for a given effect for both balanced and unbalanced designs. &lt;br /&gt;
&lt;br /&gt;
==Power Study for Single Factor Designs (One-Way ANOVA)==&lt;br /&gt;
&lt;br /&gt;
Power is related to Type II error in hypothesis testing and is commonly used in statistical process control (SPC). Assume that at the normal condition, the output of a process follows a normal distribution with a mean of 10 and a standard deviation of 1.2. If the 3-sigma control limits are used and the sample size is 5, the control limits (assuming a normal distribution) for the X-bar chart are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; UCL=\bar{x}+3\frac{\sigma }{\sqrt{n}}=10+3\frac{1.2}{\sqrt{5}}=11.61 \\ &lt;br /&gt;
 &amp;amp; LCL=\bar{x}-3\frac{\sigma }{\sqrt{n}}=10-3\frac{1.2}{\sqrt{5}}=8.39 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If a calculated mean value from a sampling group is outside of the control limits, then the process is said to be out of control. However, since the mean value is from a random process following a normal distribution with a mean of 10 and standard derivation of &lt;br /&gt;
&amp;lt;math&amp;gt;{\sigma }/{\sqrt{n}}\;\,\!&amp;lt;/math&amp;gt;, even when the process is under control, the sample mean still can be out of the control limits and cause a false alarm. The probability of causing a false alarm is called &#039;&#039;Type I error&#039;&#039; (or significance level or risk level). For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{Type I Err}=2\times \left( 1-\Phi \left( 3 \right) \right)=0.0027\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, if the process mean has shifted to a new value that means the process is indeed out of control (e.g., 12), applying the above control chart, the sample mean can still be within the control limits, resulting in a failure to detect the shift. The probability of causing a misdetection is called &#039;&#039;Type II error&#039;&#039;. For this example, it is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \text{Type II Err}=\Pr \left\{ LCL&amp;lt;\bar{x}&amp;lt;UCL|\mu =12 \right\}=\Phi \left( \frac{UCL-12}{{1.2}/{\sqrt{5}}\;} \right)-\Phi \left( \frac{LCL-12}{{1.2}/{\sqrt{5}}\;} \right) \\ &lt;br /&gt;
 &amp;amp; =\Phi \left( -0.\text{72672} \right)-\Phi \left( -\text{6}.\text{72684} \right) \\ &lt;br /&gt;
 &amp;amp; =0.2337  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Power is defined as 1-Type II error. In this case, it is 0.766302. From this example, we can see that Type I and Type II errors are affected by sample size. Increasing sample size can reduce both errors. Engineers usually determine the sample size of a test based on the power requirement for a given effect. This is called the &#039;&#039;Power and Sample Size&#039;&#039; issue in design of experiments.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Two Means===&lt;br /&gt;
&lt;br /&gt;
For one factor design, or one-way ANOVA, the simplest case is to design an experiment to compare the mean values at two different levels of a factor. Like the above control chart example, the calculated mean value at each level (in control and out of control) is a random variable. If the two means are different, we want to have a good chance to detect it. The difference of the two means is called the &#039;&#039;effect&#039;&#039; of this factor. For example, to compare the strength of a similar rope from two different manufacturers, 5 samples from each manufacturer are taken and tested. The test results (in newtons) are given below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|M1||	M2&lt;br /&gt;
|-&lt;br /&gt;
|123||	99&lt;br /&gt;
|-&lt;br /&gt;
|134||	103&lt;br /&gt;
|-&lt;br /&gt;
|132||	100&lt;br /&gt;
|-&lt;br /&gt;
|100||	105&lt;br /&gt;
|-&lt;br /&gt;
|98||	97&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this data, the ANOVA results are:&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_1.png|center|509px|link=]]&lt;br /&gt;
&lt;br /&gt;
The standard deviation of the error is 12.4499 as shown in the above screenshot.&lt;br /&gt;
and the &#039;&#039;t&#039;&#039;-test results are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!bgcolor=#DDDDDD colspan=&amp;quot;7&amp;quot; |Mean Comparisons&lt;br /&gt;
|-&lt;br /&gt;
|Contrast||	Mean Difference||	Pooled Standard Error||	Low CI||	High CI||	T Value||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|M1 - M2||	16.6	||7.874||	-1.5575||	34.7575||	2.1082||0.0681&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the &#039;&#039;p&#039;&#039; value is 0.0681, there is no significant difference between these two vendors at a significance level of 0.05 (since .0681 &amp;gt; 0.05). However, since the samples are randomly taken from the two populations, if the true difference between the two vendors is 30, what is the power of detecting this amount of difference from this test? &lt;br /&gt;
&lt;br /&gt;
To answer this question: first, from the significance level of 0.05, let’s calculate the critical limits for the &#039;&#039;t&#039;&#039;-test. They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; L=t_{0.025,v=8}^{-1}=-2.306 \\ &lt;br /&gt;
 &amp;amp; U=t_{0.975,v=8}^{-1}=2.306 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Define the mean of each vendor as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;d={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then the difference between the estimated sample means is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\hat{d}={{\hat{\mu }}_{1}}-{{\hat{\mu }}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the null hypothesis (the two vendors are the same), the &#039;&#039;t&#039;&#039; statistic is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{t}_{0}}=\frac{{{{\hat{\mu }}}_{1}}-{{{\hat{\mu }}}_{2}}}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference is 30, the calculated &#039;&#039;t&#039;&#039; statistic is from a non-central &#039;&#039;t&#039;&#039; distribution with non-centrality parameter &amp;lt;math&amp;gt;\delta \,\!&amp;lt;/math&amp;gt; of:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\delta =\frac{30}{\sqrt{\frac{{{\sigma }^{2}}}{{{n}_{1}}}+\frac{{{\sigma }^{2}}}{{{n}_{2}}}}}=3.81004\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Type II error is&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ L&amp;lt;{{t}_{0}}&amp;lt;U|d=30 \right\}=0.08609\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. So the power is 1-0.08609 =0.91391. &lt;br /&gt;
&lt;br /&gt;
In DOE++, the &#039;&#039;&#039;&#039;&#039;Effect&#039;&#039;&#039;&#039;&#039; for the power calculation is entered as the multiple of the standard deviation of error. So effect of 30 is &amp;lt;math&amp;gt;30/S=30/12.4499=\text{2}.\text{4}0\text{9658}\,\!&amp;lt;/math&amp;gt; standard deviation. This information is illustrated below.&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_2.png|center|317px]]&lt;br /&gt;
&lt;br /&gt;
and the calculated power for this effect is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::[[Image: DesignEvaluation_3.png|center|818px]]&lt;br /&gt;
&lt;br /&gt;
As we know, the square of a &#039;&#039;t&#039;&#039; distribution is an &#039;&#039;F&#039;&#039; distribution. The above ANOVA table uses the &#039;&#039;F&#039;&#039; distribution and the above &amp;quot;mean comparison&amp;quot; table uses the &#039;&#039;t&#039;&#039; distribution to calculate the &#039;&#039;p&#039;&#039; value. The ANOVA table is especially useful when conducting multiple level comparisons. We will illustrate how to use the &#039;&#039;F&#039;&#039; distribution to calculate the power for this example. &lt;br /&gt;
&lt;br /&gt;
At a significance level of 0.05, the critical value for the &#039;&#039;F&#039;&#039; distribution is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;U=f_{0.05,v1=1,v2=8}^{-1}=5.317655\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Under the alternative hypothesis when the true difference of these 2 vendors is 30, the calculated &#039;&#039;f&#039;&#039; statistic is from a non-central &#039;&#039;F&#039;&#039; distribution with non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\delta }^{2}}=14.5161\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The Type II error is &lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left\{ f&amp;lt;U|d=30 \right\}={{F}_{v1=1,v2=8,\phi =14.5161}}\left( f&amp;lt;U \right)=0.08609\,\!&amp;lt;/math&amp;gt;. So the power is 1-0.08609 = 0.91391. This is the same as the value we calculated using the non-central t distribution.&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Balanced Designs===&lt;br /&gt;
&lt;br /&gt;
When a factor has only two levels, as in the above example, there is only one effect of this factor, which is the difference of the means at these two levels. However, when there are multiple levels, there are multiple paired comparisons. For example, if there are &#039;&#039;r&#039;&#039; levels for a factor, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
paired comparisons. In this case, what is the power of detecting a given difference among these comparisons? &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;In DOE++, power for a multiple level factor is defined as follows: given the largest difference among all the level means is&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this difference at a given significance level.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For example, if a factor has 4 levels and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
is 3, there are many scenarios that the largest difference among all the level means will be 3. The following table gives 4 possible scenarios.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Case||	&#039;&#039;M1&#039;&#039;||	&#039;&#039;Μ2&#039;&#039;||	&#039;&#039;M3&#039;&#039;||	&#039;&#039;M4&#039;&#039;&lt;br /&gt;
|-&lt;br /&gt;
|1||	24||	27||	25||	26&lt;br /&gt;
|-&lt;br /&gt;
|2||	25||	25||	26||	23&lt;br /&gt;
|-&lt;br /&gt;
|3||	25||	25||	25||	28&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#AAEEEE|4||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	25||bgcolor=#AAEEEE|	26.5||bgcolor=#AAEEEE|	23.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all 4 cases, the largest difference among the means is the same: 3. The probability of detecting &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =3\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
(individual power) can be calculated using the method in the previous section for each case. It has been proven in [[DOE References| [Kutner etc 2005, Guo etc 2012]]] that when the experiment is balanced, case 4 gives the lowest probability of detecting a given amount of effect. Therefore, the individual power calculated for case 4 is also the power for this experiment. In case 4, all but two factor level means are at the grand mean, and the two remaining factor level means are equally spaced around the grand mean. Is this a general pattern? Can the conclusion from this example be applied to general cases of balanced design? &lt;br /&gt;
&lt;br /&gt;
To answer these questions, let’s illustrate the power calculation mathematically. In one factor design or one-way ANOVA, a level is also traditionally called a &#039;&#039;treatment&#039;&#039;. The following linear regression model is used to model the data:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+...+{{\beta }_{r-1}}{{X}_{ij,r-1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;{{Y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the &amp;lt;math&amp;gt;j\,\!&amp;lt;/math&amp;gt;th observation at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment and&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{X}_{ij1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level 1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
 &amp;amp; \vdots  \\ &lt;br /&gt;
 &amp;amp; {{X}_{ij,r-1}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; 1\text{        if case from factor level }r\text{-1} \\ &lt;br /&gt;
 &amp;amp; -1\text{     if case from factor level }r \\ &lt;br /&gt;
 &amp;amp; 0\text{       otherwise} \\ &lt;br /&gt;
\end{align} \right. \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;First, let’s define the problem of power calculation.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power calculation of an experiment can be mathematically defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
&amp;amp;min \text{  }P\{{{f}_{critical}}&amp;lt;F\left( 1-\alpha ;r-1,{{n}_{T}}-r \right)|\phi \} \\ &lt;br /&gt;
&amp;amp;subject\text{ }to\text{ }\\&lt;br /&gt;
&amp;amp;\underset{i\ne j}{\mathop{\max }}\,\left( |{{\mu }_{i}}-{{\mu }_{j}}| \right)=\Delta ,\text{ }i,j=1,...,r\text{   } \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;r\,\!&amp;lt;/math&amp;gt; is the number of levels, &amp;lt;math&amp;gt;{{n}_{T}}\,\!&amp;lt;/math&amp;gt; is the total samples, α is the significance level of the hypothesis testing, and &amp;lt;math&amp;gt;{{f}_{critical}}\,\!&amp;lt;/math&amp;gt; is the critical value. The obtained minimal of the objective function in the above optimization problem is the power. The above optimization is the same as minimizing &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter, since all the other variables in the non-central F distribution are fixed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Second, let’s relate the level means with the regression coefficients. &#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Using the regression model, the mean response at the ith factor level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; {{\mu }_{i}}={{\beta }_{0}}+{{\beta }_{i}}\text{           for }i&amp;lt;r \\ &lt;br /&gt;
 &amp;amp; {{\mu }_{r}}={{\beta }_{0}}-\sum\limits_{i=1}^{r-1}{{{\beta }_{i}}\text{      for }i=r} \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The difference of level means can also be defined using the &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; values. For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{ij}}={{\mu }_{i}}-{{\mu }_{j}}\,\!&amp;lt;/math&amp;gt;, then:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=\left\{ \begin{align}&lt;br /&gt;
  &amp;amp; \left| {{\beta }_{i}}-{{\beta }_{j}}\text{ } \right|\text{               }i&amp;lt;j,\text{  }j\ne r \\ &lt;br /&gt;
 &amp;amp; \left| 2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}} \right|\text{          }i=r \\ &lt;br /&gt;
\end{align} \right.\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;, the non-centrality parameter &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\phi =\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}},...,{{\beta }_{r-1}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Sigma }_{\beta }}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix for &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;. When the design is balanced, we know:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}X_{\beta }^{T}{{X}_{\beta }}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   2n &amp;amp; n &amp;amp;  &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   n &amp;amp; 2n &amp;amp; ... &amp;amp; n  \\&lt;br /&gt;
   ... &amp;amp; ... &amp;amp; ... &amp;amp; ...  \\&lt;br /&gt;
   n &amp;amp; n &amp;amp; ... &amp;amp; 2n  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where n is the sample size at each level. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Third, let’s solve the optimization problem for balanced designs.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The power is calculated when &lt;br /&gt;
&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is at its minimum. Therefore, for balanced designs, the optimization issue becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;subject\text{ }to\text{ }\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,,\text{  }\underset{i&amp;lt;r,}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{r}}\text{ }\!\!|\!\!\text{ }}}\, \right\} \\ &lt;br /&gt;
 &amp;amp; =\max \left\{ \underset{i&amp;lt;j,j\ne r}{\mathop{|{{\beta }_{i}}-{{\beta }_{j}}|}}\,,\text{   }\!\!|\!\!\text{ }2{{\beta }_{i}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}\text{ }\!\!|\!\!\text{ } \right\}=\Delta  \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
The two equations in the constraint represent two cases. Without losing generality, &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is set to 1 in the following discussion.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 1&#039;&#039;&#039;: &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta ={{\mu }_{k}}-{{\mu }_{l}}\,\!&amp;lt;/math&amp;gt;, that is, the last level of the factor does not appear in the difference of level means. &lt;br /&gt;
For example, let &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{kl}}={{\mu }_{k}}-{{\mu }_{l}}={{\beta }_{k}}-{{\beta }_{l}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;k,l\ne r\,\!&amp;lt;/math&amp;gt;. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution,&lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{l}}=-0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,l\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Case 2&#039;&#039;&#039;: In this case, one level in the comparisons is the last level of the factor in the largest difference of &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
For example, let &amp;lt;math&amp;gt;{{\Delta }_{kr}}={{\mu }_{k}}-{{\mu }_{r}}=\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;2{{\beta }_{k}}+\sum\limits_{l\ne i}^{{}}{{{\beta }_{l}}}=1\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for &amp;lt;math&amp;gt;i\ne k\,\!&amp;lt;/math&amp;gt;. This result means that at the optimal solution, &amp;lt;math&amp;gt;{{\mu }_{k}}=0.5\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{r}}=-0.5\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}=0\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;i\ne k,r\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The proof for Case 1 and Case 2 is given in [Guo IEEM2012]. The results for Case 1 and Case 2 show that when one of the level means (adjusted by the grand mean) is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt;, another level mean is -&amp;lt;math&amp;gt;\Delta/2 \,\!&amp;lt;/math&amp;gt; and the rest level means are 0, the calculated power is the smallest power among all the possible scenarios. This result is the same as the observation for the 4-case example given at the beginning at this section. &lt;br /&gt;
&lt;br /&gt;
Let’s use the above optimization method to solve the example given in the previous section. In that example, the factor has 2 levels; the sample size is 5 at each level; the estimated&lt;br /&gt;
&amp;lt;math&amp;gt;{{\sigma }^{2}}=155\,\!&amp;lt;/math&amp;gt;; and &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =30\,\!&amp;lt;/math&amp;gt;. The regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the sample size is 5, &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{2n}{{{\sigma }^{2}}}=\frac{10}{155}=0.064516\,\!&amp;lt;/math&amp;gt;. From the above discussion, we know that when&lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;, we get the minimal non-centrality parameter&lt;br /&gt;
&amp;lt;math&amp;gt;\phi ={{\beta }_{1}}\Sigma _{\beta }^{-1}{{\beta }_{1}}=14.51613\,\!&amp;lt;/math&amp;gt;. This value is the same as what we got in the previous section using the non-central t and F distributions. Therefore, the method discussed in this section is a general method and can be used for cases with 2 level and multiple level factors. The previous non-central t and F distribution method is only for cases with 2 level factors. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 4 level balanced design example&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of 4 different materials. Each material is a level of the factor. The sample size for each level is 15 and the standard deviation &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10. The engineer wants to calculate the power of this experiment when the largest difference among the materials is 15. If the power is less than 80%, he also wants to know what the sample size should be in order to obtain a power of 80%. Assume the significant level is 5%.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Build the linear regression model. Since there are 4 levels, we need 3 indicator variables. The model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{ij}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{ij1}}+{{\beta }_{2}}{{X}_{ij2}}+{{\beta }_{3}}{{X}_{ij3}}+{{\varepsilon }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Since the sample size is 15 and &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 10: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   30 &amp;amp; 15 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 30 &amp;amp; 15  \\&lt;br /&gt;
   15 &amp;amp; 15 &amp;amp; 30  \\&lt;br /&gt;
\end{matrix} \right)=\left( \begin{matrix}&lt;br /&gt;
   0.30 &amp;amp; 0.15 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.30 &amp;amp; 0.15  \\&lt;br /&gt;
   0.15 &amp;amp; 0.15 &amp;amp; 0.30  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Since there are 4 levels, there are 6 paired comparisons. For each comparison, the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|ID||	Paired Comparison||	beta1||	beta2||	beta3&lt;br /&gt;
|-&lt;br /&gt;
|1||	Level 1- Level2	0.5||	-0.5||	0||&lt;br /&gt;
|-&lt;br /&gt;
|2||	Level 1- Level 3||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|3||	Level 1- Level 4||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|4||	Level 2- Level 3||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|5||	Level 2- Level 4||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	Level 3- Level 4||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the non-centrality parameter for each of the 6 solutions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; -8.4375 &amp;amp; -8.4375 &amp;amp; 0  \\&lt;br /&gt;
   {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; 8.4375 &amp;amp; 0 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 0 &amp;amp; 8.4375 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375 &amp;amp; -8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875 &amp;amp; 8.4375  \\&lt;br /&gt;
   {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; {} &amp;amp; 16.875  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the non-centrality parameter from each paired comparison. Denoting them as &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;, the power should be calculated using &amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;. Since the design is balanced, we see here that all the &amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt; are the same. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 5&#039;&#039;&#039;: Calculate the critical F value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{critical}}=F_{3,56}^{-1}(0.05)=2.7694\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 6&#039;&#039;&#039;: Calculate the power for this design using the non-central F distribution. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-F_{^{3,56}}^{{}}\left( {{f}_{critical}}|\phi =16.875 \right)=0.9298\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the power is greater than 80%, the sample size of 15 is sufficient. Otherwise, the sample size should be increased in order to achieve the desired power requirement. The settings and results in DOE++ are given below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_4.png|center|900px|Design evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_5.png|center|316px|Design evaluation summary of results.]]&lt;br /&gt;
&lt;br /&gt;
===Power Calculation for Comparing Multiple Means: Unbalanced Designs===&lt;br /&gt;
&lt;br /&gt;
If the design is not balanced, the non-centrality parameter does not have the simple expression of &amp;lt;math&amp;gt;\phi \text{=}\frac{\text{2}n}{{{\sigma }^{2}}}\left[ \sum\limits_{i=1}^{r}{\beta _{i}^{2}}+\sum\limits_{i=1}^{r}{\sum\limits_{i\ne j}^{r}{{{\beta }_{i}}{{\beta }_{j}}}} \right]\,\!&amp;lt;/math&amp;gt;, since &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; will not have the simpler format seen in balanced designs. The optimization thus becomes more complicated. For each paired comparison, we need to solve an optimization problem by assuming this comparison has the largest difference. For example, assuming the ith comparison &amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest difference, we need to solve the following problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\min \text{  }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; subject to \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Delta =\underset{i&amp;lt;j}{\mathop{|{{\mu }_{i}}-{{\mu }_{j}}|}}\,\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt; and \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\left\{ \text{ }\underset{i&amp;lt;k,k\ne j}{\mathop{\text{ }\!\!|\!\!\text{ }{{\mu }_{i}}-{{\mu }_{k}}\text{ }\!\!|\!\!\text{ }}}\, \right\}\le \Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In total, we need to solve &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; r \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; optimization problems and use the smallest &amp;lt;math&amp;gt;\min ({{\phi }_{i}})\,\!&amp;lt;/math&amp;gt; among all the solutions to calculate the power of the experiment. Clearly, the calculation will be very expensive. &lt;br /&gt;
&lt;br /&gt;
In DOE++, instead of calculating the exact solution, we use the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design to calculate the approximated power for an unbalanced design. It can be seen that the optimal &amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt; for a balanced design also can satisfy all the constraints for an unbalanced design. Therefore, the approximated power is always higher than the unknown true power when the design is unbalanced. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: exact solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Assume an engineer wants to compare the performance of three different materials. 4 samples are available for material A, 5 samples for material B and 13 samples for material C. The responses of different materials follow a normal distribution with a standard deviation of &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma =1\,\!&amp;lt;/math&amp;gt;. The engineer is required to calculate the power of detecting difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
among all the level means at a significance level of 0.05.&lt;br /&gt;
&lt;br /&gt;
From the design matrix of the test, &amp;lt;math&amp;gt;{{X}^{T}}X\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt; are calculated as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{X}^{T}}X=\left( \begin{matrix}&lt;br /&gt;
   22 &amp;amp; -9 &amp;amp; -8  \\&lt;br /&gt;
   -9 &amp;amp; 17 &amp;amp; 13  \\&lt;br /&gt;
   -8 &amp;amp; 13 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\left( \begin{matrix}&lt;br /&gt;
   13.31818 &amp;amp; 9.727273  \\&lt;br /&gt;
   9.727273 &amp;amp; 15.09091  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 3 paired comparisons. They are &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
If the first comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference of 1&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the optimization problem becomes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }{{\beta }_{1}}-{{\beta }_{2}}=1;\text{   }\left| \text{2}{{\beta }_{1}}+{{\beta }_{2}} \right|\le 1;\text{ }\left| \text{2}{{\beta }_{2}}+{{\beta }_{1}} \right|\le 1 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&lt;br /&gt;
The optimal solution is &amp;lt;math&amp;gt;{{\beta }_{1}}=0.51852;\text{ }{{\beta }_{2}}=-0.48148\,\!&amp;lt;/math&amp;gt;, and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{1}}=2.22222\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
If the second comparison &amp;lt;math&amp;gt;{{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimization is similar to the above problem. The optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.588235\,\!&amp;lt;/math&amp;gt;; &amp;lt;math&amp;gt;{{\beta }_{2}}=-0.17647\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{2}}=3.058824\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the third comparison &amp;lt;math&amp;gt;{{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
has the largest level mean difference, then the optimal solution is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=-0.14815\,\!&amp;lt;/math&amp;gt;; {{\beta }_{2}}=0.57407\,\!&amp;lt;/math&amp;gt; and the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{3}}=3.61111\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the definition of power, we know that the power of a design should be calculated using the smallest non-centrality parameter of all possible outcomes. In this example, it is &lt;br /&gt;
&amp;lt;math&amp;gt;\phi =\min \left( {{\phi }_{i}} \right)=2.22222\,\!&amp;lt;/math&amp;gt;. Since the significance level is 0.05, the critical value for the F test is &lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,19}^{-1}(0.05)=3.52189\,\!&amp;lt;/math&amp;gt;. The power for this example is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.22222 \right)=0.2161\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
    	  			&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;A 3-level unbalanced design example: approximated solution&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the above example, we can get the approximated power by using the optimal &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of a balanced design. If the design is balanced, the optimal solution will be:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Solution ID||	Paired Comparison||	β1||	β2&lt;br /&gt;
|-&lt;br /&gt;
|1||	u1-u2||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	u1-u3||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	u2-u3||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\text{B}=\left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since the design is unbalanced, use &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
from the above example to get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}=\left( \begin{matrix}&lt;br /&gt;
   2.238636 &amp;amp; 0.897727 &amp;amp; -1.34091  \\&lt;br /&gt;
   0.897727 &amp;amp; \text{3}.\text{329545} &amp;amp; \text{2}.\text{431818}  \\&lt;br /&gt;
   -1.34091 &amp;amp; \text{2}.\text{431818} &amp;amp; \text{3}.\text{772727}  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The smallest &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is 2.238636. For this example, it is very close to the exact solution 2.22222 given in the previous calculation. The approximated power is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,19}}\left( {{f}_{critical}}|\phi =2.238636 \right)=0.2174\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
This result is a little larger than the exact solution of 0.2162. &lt;br /&gt;
&lt;br /&gt;
In practical cases, the above method can be applied to quickly check the power of a design. If the calculated power cannot meet the required value, the true power definitely will not meet the requirement, since the calculated power using this procedure is always equal to (for balanced designs) or larger than (for unbalanced designs) the true value. &lt;br /&gt;
&lt;br /&gt;
The result in DOE++ for this example is given as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!bgcolor= #DDDDDD colspan=&amp;quot;3&amp;quot; | Power Study&lt;br /&gt;
|-&lt;br /&gt;
| || 	Degrees of Freedom||	Power for Max Difference = 1&lt;br /&gt;
|-&lt;br /&gt;
|A:Factor 1	||2||	0.2174&lt;br /&gt;
|-&lt;br /&gt;
|Residual	||19	||-&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Power Study for 2 Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For 2 level factorial designs, each factor (effect) has only one coefficient. The linear regression model is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{X}_{i,1}}+{{\beta }_{2}}{{X}_{i,2}}+{{\beta }_{3}}{{X}_{i,3}}+...+{{\beta }_{12}}{{X}_{i,1}}{{X}_{i,2}}+...+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model can include main effect terms and interaction effect terms. Each &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
can be -1 (the low level) or +1 (the high level). The effect of a main effect term is defined as the difference of the mean value of Y at &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=+1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}=-1\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Please notice that all the factor values here are coded values. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}=1 \right)-Y\left( {{X}_{1}}=-1 \right)=2{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Similarly, the effect of an interaction term is also defined as the difference of the mean values of Y at the interaction terms of +1 and -1. For example, the effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{1}}{{X}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{1}}{{X}_{2}}=1 \right)-Y\left( {{X}_{1}}{{X}_{2}}=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Therefore, if the effect of a term that we want to calculate the power for is &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;, then the corresponding coefficient &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
must be &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{i}}/2\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Therefore, the non-centrality parameter for each term in the model for a 2 level factorial design can be calculated as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var({{\beta }_{i}})}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is calculated, we can use it to calculate the power. If the design is balanced, the power of terms with the same order will be the same. In other words, all the main effects have the same power and all the k-way (k=2, 3, 4, …) interactions have the same power. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Example:&#039;&#039;&#039; Due to the constraints of sample size and cost, an engineer can run only the following 13 tests for a 4 factorial design:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;Width: 60%&amp;quot;  cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; text-align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	C||	D&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	-1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	-1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	-1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	-1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|8||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Before doing the tests, he wants to evaluate the power for each main effect. Assume the amount of effect he wants to perform a power calculation for is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. The significance level is 0.05. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 1&#039;&#039;&#039;: Calculate the variance and covariance matrix for the model coefficients.&lt;br /&gt;
The main effect-only model is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{Y}_{i}}={{\beta }_{0}}+{{\beta }_{1}}{{A}_{i}}+{{\beta }_{2}}{{B}_{i}}+{{\beta }_{3}}{{C}_{i}}+{{\beta }_{4}}{{D}_{i}}+{{\varepsilon }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For this model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Var(\beta )={{\sigma }^{2}}{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The value for &amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
::::{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| ||	beta0||	beta1	||beta2	||beta3||	beta4&lt;br /&gt;
|-&lt;br /&gt;
|beta0||bgcolor=#CCEE66|	0.083333||	0.020833||	-0.02083||	-0.02083||	0.020833&lt;br /&gt;
|-&lt;br /&gt;
|beta1||	0.020833||bgcolor=#CCEE66|	0.161458||	-0.03646||	-0.03646||	0.036458&lt;br /&gt;
|-&lt;br /&gt;
|beta2||	-0.02083||	-0.03646||bgcolor=#CCEE66|	0.161458||	0.036458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta3||	-0.02083||	-0.03646||	0.036458||bgcolor=#CCEE66|	0.161458||	-0.03646&lt;br /&gt;
|-&lt;br /&gt;
|beta4||	0.020833||	0.036458||	-0.03646||	-0.03646||bgcolor=#CCEE66|	0.161458&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The diagonal elements are the variances for the coefficients. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 2&#039;&#039;&#039;: Calculate the non-centrality parameter for each term. In this example, all the main effect terms have the same variance, so they have the same non-centrality parameter value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\Delta _{i}^{2}}{4Var({{\beta }_{i}})}=\frac{1}{0.161458}=6.19355\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 3&#039;&#039;&#039;: Calculate the critical value for the F test. It is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,8}^{-1}(0.05)=5.31766\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Step 4&#039;&#039;&#039;: Calculate the power for each main effect term. For this example, the power is the same for all of them: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,8}}\left( {{f}_{critical}}|\phi =6.19355 \right)=0.58926\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The settings and results in DOE++ are given below.&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval3.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_6.png.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In general, the calculated power for each term will be different for unbalanced designs. However, the above procedure can be applied for both balanced and unbalanced 2 level factorial designs.&lt;br /&gt;
&lt;br /&gt;
==Power Study for General Level Factorial Designs==&lt;br /&gt;
&lt;br /&gt;
For a quantitative factor X with more than 2 levels, its effect is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This is the difference of the expected Y values at its defined high and low level. Therefore, a quantitative factor can always be treated as a 2 level factor mathematically, regardless of its defined number of levels. A quantitative factor has only 1 term in the regression equation. &lt;br /&gt;
&lt;br /&gt;
For a qualitative factor with more than 2 levels, it has more than 1 term in the regression equation. Like in the multiple level 1 factor designs, a qualitative factor with r levels will have r-1 terms in the linear regression equation. Assume there are 2 factors in a design. Factor A has 3 levels and factor B has 3 levels, the regression equation for this design is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{1}}A[1]+{{\beta }_{2}}A[2]+{{\beta }_{3}}B[1]+{{\beta }_{4}}B[2]+{{\beta }_{11}}A[1]B[1] \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}A[1]B[2]+{{\beta }_{21}}A[2]B[1]+{{\beta }_{22}}A[2]B[2]  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are 2 regression terms for each main effect, and 4 regression terms for the interaction effect. We will use the above equation to explain how the power for the main effects and interaction effects is calculated in DOE++. The following balanced design is used for the calculation: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;width: 60%; text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot; &lt;br /&gt;
|-&lt;br /&gt;
|Run||	A||	B||	Run||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	1||	14||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	2||	15||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	3||	16||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|4||	2||	1||	17||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
|5||	2||	2||	18||	3||	3&lt;br /&gt;
|-&lt;br /&gt;
|6||	2||	3||	19||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	3||	1||	20||	1||	2&lt;br /&gt;
|-&lt;br /&gt;
|8||	3||	2||	21||	1||	3&lt;br /&gt;
|-&lt;br /&gt;
|9||	3||	3||	22||	2||	1&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	1||	23||	2||	2&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	2||	24||	2||	3&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	3||	25||	3||	1&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	1||	26||	3||	2&lt;br /&gt;
|-&lt;br /&gt;
| ||	||	||	27||	3||	3&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Power Study for Main Effects===&lt;br /&gt;
Let’s use factor A to show how the power is defined and calculated for the main effects. For the above design, if we ignore factor B, then it becomes a 1 factor design with 9 samples at each level. Therefore, the same linear regression model and power calculation method as discussed for 1 factor designs can be used to calculate the power for the main effects for this multiple level factorial design. &lt;br /&gt;
Since A has 3 levels, it has 3 paired comparisons: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\mu }_{1}}-{{\mu }_{2}}\,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}={{\mu }_{1}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}={{\mu }_{2}}-{{\mu }_{3}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&amp;lt;math&amp;gt;{{\mu }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the average of the responses at the ith level. However, these three contrasts are not independent, since &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\Delta }_{13}}-{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;. We are interested in the largest difference among all the contrasts. Let &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =\max ({{\Delta }_{ij}})\,\!&amp;lt;/math&amp;gt;. Power is defined as the probability of detecting a given &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt; in an experiment. Using the linear regression equation, we get:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{12}}={{\beta }_{1}}-{{\beta }_{2}};\text{ }{{\Delta }_{13}}=2{{\beta }_{1}}+{{\beta }_{2}};\text{ }{{\Delta }_{23}}=2{{\beta }_{2}}+{{\beta }_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Just as for the 1 factor design, we know the optimal solutions are: &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=-0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;; &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0.5\Delta ,{{\beta }_{2}}=0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{13}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;{{\beta }_{1}}=0,{{\beta }_{2}}=0.5\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
when &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{23}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the largest difference &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. For each of the solution, a non-centrality parameter can be calculated using &lt;br /&gt;
&amp;lt;math&amp;gt;\text{ }{{\phi }_{i}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}}\,\!&amp;lt;/math&amp;gt;. Here &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{1}},{{\beta }_{2}} \right)\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the inverse of the variance and covariance matrix obtained from the linear regression model when all the terms are included. &lt;br /&gt;
For this example, we have the coefficient matrix for the optimal solution:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;B=\Delta \left( \begin{matrix}&lt;br /&gt;
   0.5 &amp;amp; -0.5  \\&lt;br /&gt;
   0.5 &amp;amp; 0  \\&lt;br /&gt;
   0 &amp;amp; 0.5  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]||	A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	0.0741||bgcolor=#CCEEEE|	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||bgcolor=#CCEEEE|	-0.0370||bgcolor=#CCEEEE|	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Clearly the design is balanced for all the terms since the above matrix is a block diagonal matrix. &lt;br /&gt;
&lt;br /&gt;
From the above table, we know the variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Its inverse &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for factor A is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.0741 &amp;amp; -0.0370  \\&lt;br /&gt;
   -0.0370 &amp;amp; 0.0741  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   18 &amp;amp; 9  \\&lt;br /&gt;
   9 &amp;amp; 18  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the calculated non-centrality parameters are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi = \beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{|style=&amp;quot;text-align:center; left-margin: 100px;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; &lt;br /&gt;
 | 4.5   || 2.25 || -2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | 2.25  || 4.5	 || 2.25&lt;br /&gt;
 |-&lt;br /&gt;
 | -2.25 || 2.25 || 4.5&lt;br /&gt;
 |-&lt;br /&gt;
 |}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix. Since the design is balanced, all the 3 non-centrality parameters are the same in this example (i.e., they are 4.5).&lt;br /&gt;
&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{2,18}^{-1}(0.05)=3.55456\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 2 (the number of terms for factor A in the regression model) and the 2nd degree of freedom is 18 (the degrees of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for main effect A is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =4.5 \right)=0.397729\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval5.png|center|256px|Evaluation settings.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_7.png|center|600px|Evaluation results.]]&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;, then the non-centrality parameter will be 18. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Power=1-{{F}_{2,18}}\left( {{f}_{critical}}|\phi =18 \right)=0.9457\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The power is greater for a larger &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;. The above calculation also can be used for unbalanced designs to get the approximated power.&lt;br /&gt;
&lt;br /&gt;
===Power Study for Interaction Effects===&lt;br /&gt;
First, we need to define what an “interaction effect” is. From the discussion for 2 level factorial designs, we know the interaction effect AB is defined by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Y\left( AB=1 \right)-Y\left( AB=-1 \right)=2{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It is the difference between the average response at AB=1 and AB=-1. The above equation also can be written as:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\frac{Y\left( {{A}_{1}}{{B}_{1}} \right)+Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)+Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
or:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \frac{Y\left( {{A}_{1}}{{B}_{1}} \right)-Y\left( {{A}_{1}}{{B}_{-1}} \right)}{2}-\frac{Y\left( {{A}_{-1}}{{B}_{1}} \right)-Y\left( {{A}_{-1}}{{B}_{-1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{\text{Effect of B at A=1}}{2}-\frac{\text{Effect of B at A=-1}}{2} \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From here we can see that the effect of AB is half of the difference of the effect of B when A is fixed at 1 and the effect of B when A is fixed at -1. Therefore, a two-way interaction effect is calculated using 4 points as shown in the above equation. This is illustrated in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval7.png|415px|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we discussed before, a main effect is defined by two points. For example, the main effect of B at A=1 is defined by &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{-1}})\,\!&amp;lt;/math&amp;gt;. The above figure clearly shows that a two-way interaction effect of two-level factors is defined by the 4 vertex of a quadrilateral. How can we define the two-way interaction effects of factorials with more than two levels? For example, for the design used in the previous section, A and B are both three levels. What is the interaction effect AB? For this example, the 9 design points are shown in the following figure. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:design_eval8.png|center]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice that there are 9 quadrilaterals in the above figure. These 9 contrasts define the interaction effect AB. This is similar to the paired comparisons in a one factorial design with multiple levels, where a main effect is defined by a group of contrasts (or paired comparisons). For the design in the above figure, to construct a quadrilateral, we need to choose 2 levels from A and 2 levels from B. There are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=9\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
combinations. Therefore, we see the following 9 contrasts. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Contrast ID||	A||	B&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let’s use the first contrast to explain the meaning of a contrast. (1, 2) in column A means the selected levels from A are 1 and 2. (1, 2) in column B means the selected levels from B are 1 and 2. They form 4 points: &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{1}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;, &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{1}})\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;Y({{A}_{2}}{{B}_{2}})\,\!&amp;lt;/math&amp;gt;. We can denote the AB effect defined by this contrast as &lt;br /&gt;
&amp;lt;math&amp;gt;{{\Delta }_{1}}\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; {{\Delta }_{1}}=\frac{Y({{A}_{1}}{{B}_{1}})+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}-\frac{Y({{A}_{1}}{{B}_{2}})+Y\left( {{A}_{2}}{{B}_{1}} \right)}{2} \\ &lt;br /&gt;
 &amp;amp; =\frac{Y({{A}_{1}}{{B}_{1}})-Y({{A}_{1}}{{B}_{2}})-Y\left( {{A}_{2}}{{B}_{1}} \right)+Y\left( {{A}_{2}}{{B}_{2}} \right)}{2}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In general, if a contrast is defined by A (i, j) and B(i’, j’), then the effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{AB}}=\frac{Y({{A}_{i}}{{B}_{j}})-Y({{A}_{i}}{{B}_{j&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}} \right)}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
From the above two equations we can see that the two-way interaction effect AB is defined as the difference of the main effect of B at A = i and the main effect of B at A = j. This logic can be easily extended to three-way interactions. For example ABC can be defined as the difference of AB at C=k and AC at C=k’. Its calculation is:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \Delta _{ABC}^{{}}=\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k}} \right)}{4} \\ &lt;br /&gt;
 &amp;amp; -\frac{Y({{A}_{i}}{{B}_{j}}{{C}_{k&#039;}})-Y({{A}_{i}}{{B}_{j&#039;}}{{C}_{k&#039;}})-Y\left( {{A}_{i&#039;}}{{B}_{j}}{{C}_{k&#039;}} \right)+Y\left( {{A}_{i&#039;}}{{B}_{j&#039;}}{{C}_{k&#039;}} \right)}{4}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a design with A, B, and C with 3 levels, there are &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\times \left( \begin{align}&lt;br /&gt;
  &amp;amp; 3 \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)=27\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
contrast for the three-way interaction ABC. &lt;br /&gt;
&lt;br /&gt;
Similarly, the above method can be extended for higher order interactions. By now, we know the main effect and interactions for multiple level factorial designs are defined by a group of contrasts. We will discuss how the power of these effects is calculated in the following section.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;The power for an effect is defined as follows: when the largest value of a contrast group for an effect is &#039;&#039;&lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&#039;&#039;, power is the smallest probability of detecting this&#039;&#039; &amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&#039;&#039;among all the possible outcomes at a given significance level. &#039;&#039;&lt;br /&gt;
&lt;br /&gt;
To calculate the power for an effect, as in the previous sections, we need to relate a contrast with model coefficients. The 9 contrasts in the above table can be expressed using model coefficients. For example: &lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{1}}=\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
If this contrast has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;, the power is calculated from the following optimization problem: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; \min \text{  }{{\phi }_{1}}=\beta \Sigma _{\beta }^{-1}{{\beta }^{T}} \\ &lt;br /&gt;
 &amp;amp; subject\text{ }to\text{     }\frac{{{\beta }_{11}}+{{\beta }_{22}}}{2}-\frac{{{\beta }_{12}}+{{\beta }_{21}}}{2}={{\Delta }_{1}}=\Delta ;\text{  }\!\!|\!\!\text{ }{{\Delta }_{i}}|\le \Delta ,i=2,...,9 \\ &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &lt;br /&gt;
&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, and &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is the variance and covariance matrix of &lt;br /&gt;
&amp;lt;math&amp;gt;\beta \,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
For a balanced general level factorial design such as this example, the optimal solution for the above optimization issue is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\beta =\left( {{\beta }_{11}},{{\beta }_{12}},{{\beta }_{21}},{{\beta }_{22}} \right)=(0.5,-0.5,-0.5,0.5)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For all the 9 contrasts, by assuming each of the contrasts has the largest value &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
one by one, we can get 9 optimal solutions and 9 non-centrality parameters &lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;. The power for the interaction effect AB is calculated using the min(&lt;br /&gt;
&amp;lt;math&amp;gt;{{\phi }_{i}}\,\!&amp;lt;/math&amp;gt;). The 9 optimal solutions are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!Contrast ID	&lt;br /&gt;
!A	&lt;br /&gt;
!B&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{11}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{12}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{21}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
!&amp;lt;math&amp;gt;{{\beta }_{22}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|1||	(1, 2)||	(1, 2)||	0.5||	-0.5||	-0.5||	0.5&lt;br /&gt;
|-&lt;br /&gt;
|2||	(1, 2)||	(1, 3)||	0.5||	0||	-0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|3||	(1, 2)||	(2, 3)||	0||	0.5||	0||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|4||	(1, 3)||	(1, 2)||	0.5||	-0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|5||	(1, 3)||	(1, 3)||	0.5||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|6||	(1, 3)||	(2, 3)||	0||	0.5||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|7||	(2, 3)||	(1, 2)||	0||	0||	0.5||	-0.5&lt;br /&gt;
|-&lt;br /&gt;
|8||	(2, 3)||	(1, 3)||	0||	0||	0.5||	0&lt;br /&gt;
|-&lt;br /&gt;
|9||	(2, 3)||	(2, 3)||	0||	0||	0||	0.5&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
In the regression equation for this example, there are 4 terms for AB effect. Therefore there are 4 independent contrasts in the above table. These are contrasts 5, 6, 8, and 9. The rest of the contrasts are linear combinations of these 4 contrasts. Based on the calculation in the main effect section, we know that the standard variance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
for all the coefficients is:&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|I||	A[1]||	A[2]||	B[1]||	B[2]	||A[1]B[1]||	A[1]B[2]||	A[2]B[1]||	A[2]B[2]&lt;br /&gt;
|-&lt;br /&gt;
|0.0370||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0.0741||	-0.0370||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	-0.0370||	0.0741||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0.0741||	-0.0370||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	-0.0370||	0.0741||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.1481||	-0.0741||	-0.0741||	0.0370&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.1481||	0.0370||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	-0.0741||	0.0370||	0.1481||	-0.0741&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0.0370||	-0.0741||	-0.0741||	0.1481&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
of AB is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{{}}={{\sigma }^{2}}\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then its inverse matrix &lt;br /&gt;
&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Sigma _{\beta }^{-1}=\frac{1}{{{\sigma }^{2}}}{{\left( \begin{matrix}&lt;br /&gt;
   0.1481 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.0370  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.1481 &amp;amp; 0.0370 &amp;amp; -0.0741  \\&lt;br /&gt;
   -0.0741 &amp;amp; 0.0370 &amp;amp; 0.1481 &amp;amp; -0.0741  \\&lt;br /&gt;
   0.0370 &amp;amp; -0.0741 &amp;amp; -0.0741 &amp;amp; 0.1481  \\&lt;br /&gt;
\end{matrix} \right)}^{-1}}=\frac{1}{{{\sigma }^{2}}}\left( \begin{matrix}&lt;br /&gt;
   12.0256 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 3.0247  \\&lt;br /&gt;
   6.0250 &amp;amp; 12.0256 &amp;amp; 3.0247 &amp;amp; 6.0250  \\&lt;br /&gt;
   6.0250 &amp;amp; 3.0247 &amp;amp; 12.0256 &amp;amp; 6.0250  \\&lt;br /&gt;
   3.0247 &amp;amp; 6.0250 &amp;amp; 6.0250 &amp;amp; 12.0256  \\&lt;br /&gt;
\end{matrix} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assuming that the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the calculated non-centrality parameters for all the contrasts are the diagonal elements of the following matrix.&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\Phi =\,\!\beta \Sigma _{\beta }^{-1}\beta &#039;{{\Delta }^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|bgcolor=#44EEEE| 3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002|| bgcolor=#44EEEE|	3.0003||	1.5002||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	1.5002|| bgcolor=#44EEEE|3.0003||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002||	1.5002||	0.7501||	-0.7501&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	1.5002||	0.7501||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062||	0.7501||	1.5062||	0.7562&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	0.7501||	1.5002||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064||	-0.7501||	0.7562||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|1.5002||	-0.7501||	0.7501||	1.5002||	0.7501||	-0.7501|| bgcolor=#44EEEE|	3.0003||	1.5002||	-1.5002&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-1.5002||	-0.7501||	0.7501||	1.5062||	0.7562||	1.5002|| bgcolor=#44EEEE|	3.0064||	1.5062&lt;br /&gt;
|-&lt;br /&gt;
|0.7501||	-0.7501||	-1.5002||	-0.7501||	0.7562||	1.5062||	-1.5002||	1.5062|| bgcolor=#44EEEE|	3.0064&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power is calculated using the smallest value at the diagonal of the above matrix (i.e., 3.0003).&lt;br /&gt;
The critical value for the F test is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;{{f}_{citical}}=F_{4,18}^{-1}(0.05)=2.927744\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Please notice that for the F distribution, the first degree of freedom is 4 (the number of terms for effect AB in the regression model) and the 2nd degree of freedom is 18 (the degree of freedom of error). &lt;br /&gt;
&lt;br /&gt;
The power for AB is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =3.0003 \right)=0.1957\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_7.png|center|650px|Evaluation results effect of 1 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
we are interested in is 2&lt;br /&gt;
&amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, then the non-centrality parameter will be 12.0012. The power for main effect A is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{4,18}}\left( {{f}_{critical}}|\phi =12.0012 \right)=0.6784\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power values for all the effects in the model are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:DesignEvluation_8.png|center|650px|Evaluation results for effect of 2 &amp;lt;math&amp;gt;\sigma \,\!&amp;lt;/math&amp;gt;.]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For balanced designs, the above calculation gives the exact power. For unbalanced design, the above method will give the approximated power. The true power is always less than the approximated value. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This section explained how to use a group of contrasts to represent the main and interaction effects for multiple level factorial designs. Examples for main and 2nd order interactions were provided. The power calculation for higher order interactions is the same as the above example. Therefore, it is not repeated here.&lt;br /&gt;
&lt;br /&gt;
==Power Study for Response Surface Method Designs==&lt;br /&gt;
&lt;br /&gt;
For response surface method designs, the following linear regression model is used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;Y={{\beta }_{0}}+{{\beta }_{1}}{{X}_{1}}+{{\beta }_{2}}{{X}_{2}}+...+{{\beta }_{11}}X_{1}^{2}+{{\beta }_{22}}X_{2}^{2}+{{\beta }_{12}}{{X}_{1}}{{X}_{2}}+...+\varepsilon \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above equations can have both qualitative and quantitative factors. As we discussed before, for each effect (main or quadratic effect) of a quantitative factor, there is only one term in the regression model. Therefore, the power calculation for a quantitative factor is the same as treating this factor as a 2 level factor, no matter how many levels are defined for it. If qualitative factors are used in the design, they do not have quadratic effects in the model. The power calculation for qualitative factors is the same as discussed in the previous sections. &lt;br /&gt;
&lt;br /&gt;
First we need to define what the “effect” is for each term in the above linear regression equation. The definition for main effects and interaction effects is the same as for 2 level factorial designs. The effect is defined as the difference of the average response at the +1 of the term and at the -1 of the term. For example, the main effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{i}}=Y\left( {{X}_{i}}=1 \right)-Y\left( {{X}_{i}}=-1 \right)=2{{\beta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The interaction effect of &lt;br /&gt;
&amp;lt;math&amp;gt;{{X}_{i}}{{X}_{j}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ij}}=Y\left( {{X}_{i}}{{X}_{j}}=1 \right)-Y\left( {{X}_{i}}{{X}_{j}}=-1 \right)=2{{\beta }_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For a quadratic term &lt;br /&gt;
&amp;lt;math&amp;gt;X_{i}^{2}\,\!&amp;lt;/math&amp;gt;, its range is from 0 to 1. Therefore, its effect is: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=Y\left( X_{i}^{2}=1 \right)-Y\left( X_{i}^{2}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The quadratic term also can be thought of as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\Delta }_{ii}}=\frac{Y\left( {{X}_{i}}=1 \right)+Y\left( {{X}_{i}}=-1 \right)}{2}-Y\left( {{X}_{i}}=0 \right)={{\beta }_{ii}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Since there are no grouped contrasts for each effect, the power can be calculated using either the non-central t distribution or the non-central F distribution. They will lead to the same results. Let’s use the following design to illustrate the calculation.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Run	&lt;br /&gt;
!Block&lt;br /&gt;
!A&lt;br /&gt;
!B&lt;br /&gt;
!C&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|2||	1||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|3||	1||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|4||	1||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|5||	1||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|6||	1||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|7||	1||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|9||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|10||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|11||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|12||	1||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|13||	2||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|14||	2||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|15||	2||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|16||	2||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|17||	2||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|18||	2||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|19||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|20||	2||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|21||	3||	-1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|22||	3||	1||	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|23||	3||	-1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|24||	3||	1||	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|25||	3||	-1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|26||	3||	1||	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|27||	3||	-1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|28||	3||	1||	1||	1&lt;br /&gt;
|-&lt;br /&gt;
|29||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|30||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|31||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|32||	3||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|33||	4||	-1.68179||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|34||	4||	1.681793||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|35||	4||	0||	-1.68179||	0&lt;br /&gt;
|-&lt;br /&gt;
|36||	4||	0||	1.681793||	0&lt;br /&gt;
|-&lt;br /&gt;
|37||	4||	0||	0||	-1.68179&lt;br /&gt;
|-&lt;br /&gt;
|38||	4||	0||	0||	1.681793&lt;br /&gt;
|-&lt;br /&gt;
|39||	4||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|40||	4||	0||	0||	0&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above design can be created in DOE++ using the following settings:&lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_9.png|center|600px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The model used here is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; Y={{\beta }_{0}}+{{\beta }_{b1}}BLK[1]+{{\beta }_{b2}}BLK[2]+{{\beta }_{b3}}BLK[3]+{{\beta }_{1}}A+{{\beta }_{2}}B+{{\beta }_{3}}C \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{12}}AB+{{\beta }_{13}}AC+{{\beta }_{23}}BC+{{\beta }_{11}}{{A}^{2}}+{{\beta }_{22}}{{B}^{2}}+{{\beta }_{33}}{{C}^{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Blocks are included in the model. Since there are four blocks, three indicator variables are used. The standard variance and covariance matrix &lt;br /&gt;
&amp;lt;math&amp;gt;{{\left( X&#039;X \right)}^{-1}}\,\!&amp;lt;/math&amp;gt; is &lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Const||	BLK1||	BLK2||	BLK3||	A||	B||	C||	AB||	AC||	BC||	AA||	BB||	CC&lt;br /&gt;
|-&lt;br /&gt;
|0.085018||	-0.00694||	0.006944||	-0.00694||	0||	0||	0||	0||	0||	0||	-0.02862||	-0.02862||	-0.02862&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	0.067759||	-0.02609||	-0.01557||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0.006944||	-0.02609||	0.088593||	-0.02609||	0||	0||	0||	0||	0||	0||	-0.00084||	-0.00084||	-0.00084&lt;br /&gt;
|-&lt;br /&gt;
|0.00694||	-0.01557||	-0.02609||	0.067759||	0||	0||	0||	0||	0||	0||	0.000843||	0.000843||	0.000843&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.036612||	0||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0||	0||	0||	0||	0||	0||	0||	0||	0||bgcolor=#EEEE22|	0.0625||	0||	0||	0&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	bgcolor=#EEEE22|0.034722||	0.003472||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	bgcolor=#EEEE22|0.034722||	0.003472&lt;br /&gt;
|-&lt;br /&gt;
|-0.02862||	0.000843||	-0.00084||	0.000843||	0||	0||	0||	0||	0||	0||	0.003472||	0.003472||bgcolor=#EEEE22|	0.034722&lt;br /&gt;
|}&lt;br /&gt;
The variances for all the coefficients are the diagonal elements in the above matrix. These are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Term	&lt;br /&gt;
!Var(&amp;lt;math&amp;gt;{{\sigma }^{2}}\,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|B||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|C||	0.036612&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.0625&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.034722&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.034722&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Assume the value for each effect we are interested in is &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
. Then, to get this &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
the corresponding value for each model coefficient is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Coefficient&lt;br /&gt;
|-&lt;br /&gt;
|A	||0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|B||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|C||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AB||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BC||	0.5&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|AA||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|BB||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
&lt;br /&gt;
|CC||	1&amp;lt;math&amp;gt;\Delta \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The degrees of freedom used in the calculation are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Degree of Freedom&lt;br /&gt;
|-&lt;br /&gt;
|Block||	3&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	1&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	1&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	1&lt;br /&gt;
|-&lt;br /&gt;
|AB||	1&lt;br /&gt;
|-&lt;br /&gt;
|AC||	1&lt;br /&gt;
|-&lt;br /&gt;
|BC||	1&lt;br /&gt;
|-&lt;br /&gt;
|AA||	1&lt;br /&gt;
|-&lt;br /&gt;
|BB||	1&lt;br /&gt;
|-&lt;br /&gt;
|CC||	1&lt;br /&gt;
|-&lt;br /&gt;
|Residual||	27&lt;br /&gt;
|-&lt;br /&gt;
|Lack of Fit||	19&lt;br /&gt;
|-&lt;br /&gt;
|Pure Error||	8&lt;br /&gt;
|-&lt;br /&gt;
|Total||	39&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above table shows all the factor effects have the same degree of freedom, therefore they have the same critical F value. For a significance level of 0.05, the critical value is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{f}_{citical}}=F_{1,27}^{-1}(0.05)=4.210008\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
When &lt;br /&gt;
&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
, the non-centrality parameter for each main effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{i}}=\frac{\beta _{i}^{2}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{i}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{i}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each interaction effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ij}}=\frac{\beta _{ij}^{2}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\left( 0.5\Delta  \right)}^{2}}}{Var\left( {{\beta }_{ij}} \right)}=\frac{{{\sigma }^{2}}}{4Var\left( {{\beta }_{ij}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The non-centrality parameter for each quadratic effect is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;{{\phi }_{ii}}=\frac{\beta _{ii}^{2}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\left( \Delta  \right)}^{2}}}{Var\left( {{\beta }_{ii}} \right)}=\frac{{{\sigma }^{2}}}{Var\left( {{\beta }_{ii}} \right)}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
All the non-centrality parameters are given in the following table:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Term||	Non-centrality parameter (&amp;lt;math&amp;gt;\phi \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|B||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|C||	6.828362&lt;br /&gt;
|-&lt;br /&gt;
|AB||	4&lt;br /&gt;
|-&lt;br /&gt;
|AC||	4&lt;br /&gt;
|-&lt;br /&gt;
|BC||	4&lt;br /&gt;
|-&lt;br /&gt;
|AA||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|BB||	28.80018&lt;br /&gt;
|-&lt;br /&gt;
|CC||	28.80018&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The power for each term is calculated by:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;Power=1-{{F}_{1,27}}\left( {{f}_{critical}}|{{\phi }_{i}} \right)\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
They are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:{| style=&amp;quot;text-align:center;&amp;quot; cellpadding=&amp;quot;2&amp;quot; border=&amp;quot;1&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|Source||	Power (&amp;lt;math&amp;gt;\Delta =1\sigma \,\!&amp;lt;/math&amp;gt;)&lt;br /&gt;
|-&lt;br /&gt;
|A:A||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|B:B||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|C:C||	0.712033&lt;br /&gt;
|-&lt;br /&gt;
|AB||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|BC||	0.487574&lt;br /&gt;
|-&lt;br /&gt;
|AA||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|BB||	0.999331&lt;br /&gt;
|-&lt;br /&gt;
|CC||	0.999331&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The results in DOE++ can be obtained from the design evaluation. &lt;br /&gt;
&lt;br /&gt;
[[Image: DesignEvluation_10.png|center|300px|Settings for creating the RSM design]]&lt;br /&gt;
&lt;br /&gt;
==Discussion on Power Calculation==&lt;br /&gt;
&lt;br /&gt;
All the above examples show how to calculate the power for a given amount of effect.When a power value is given, using the above method we also can calculate the corresponding effect. If the power is too low for an effect of interest, the sample size of the experiment must be increased in order to get a higher power value. &lt;br /&gt;
&lt;br /&gt;
We discussed in detail how to define an “effect” for quantitative and qualitative factors, and how to use model coefficients to represent a given effect. The power in DOE++ is calculated based on this definition. Readers may find that power is calculated directly based on model coefficients (instead of the contrasts) in other software packages or books. However, for some cases, such as for the main and interaction effects of qualitative factors with multiple levels, the meaning of model coefficients is not very straightforward. Therefore, it is better to use the defined effect (or contrast) shown here to calculate the power, even though this calculation is much more complicated.&lt;br /&gt;
&lt;br /&gt;
=Conclusion=&lt;br /&gt;
&lt;br /&gt;
In this chapter, we discussed how to evaluate an experiment design. Although the evaluation can be conducted either before or after conducting the experiment, it is always recommended to evaluate an experiment before performing it. A bad design will waste time and money. Readers should check the alias structure, the orthogonality and the power for important effects for an experiment before the tests.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Robust_Parameter_Design&amp;diff=65208</id>
		<title>Robust Parameter Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Robust_Parameter_Design&amp;diff=65208"/>
		<updated>2017-08-10T17:03:12Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|13}}&lt;br /&gt;
In [[Response_Surface_Methods_for_Optimization|Response Surface Methods for Optimization]], techniques used to optimize the response were discussed. Once an optimum value of the response has been achieved, the next goal of the experimenter should be to make the optimum response value insensitive to the noise factors so that a consistent performance is obtained at all times. For example, if the yield from a chemical process has been optimized at 95%, then this value of yield should be obtained regardless of the variation in factors such as the quality of reactants or fluctuations in humidity or other weather conditions. These factors are beyond the control of the operator. Therefore, the product or process should be such that it is not affected by minor fluctuations in these factors. The process of making a system insensitive to such factors is referred to as &#039;&#039;robust design&#039;&#039;. Robust design was pioneered by the Japanese industrialist Dr. Genichi Taguchi in the early 1980s. This chapter briefly discusses his approach.&lt;br /&gt;
&lt;br /&gt;
==Taguchi&#039;s Philosophy==&lt;br /&gt;
Taguchi&#039;s philosophy is based on the fact that any decrease in the quality of a system leads to customer dissatisfaction. This occurs even if the departure in quality lies within the specified limits of the system and is considered acceptable to the customer. For example, consider the case of a laptop that develops a defect on its screen within the warranty period. Although the customer is able to get a warranty-replacement for the screen this might lead to a little dissatisfaction on the part of the customer. If the same laptop then develops a problem with its DVD drive, the customer might declare the laptop &amp;quot;useless,&amp;quot; even if the problem occurs during the warranty period and the customer is able to get a free replacement. Therefore, to maintain a good reputation, the laptop manufacturer needs to produce laptops that offer the same quality to all customers consistently. This can only be done when the required quality is built into the laptops. Note how this approach differs from traditional quality control where it is considered sufficient to manufacture products within certain specifications and carry out pre-shipment quality control inspections (i.e., sampling inspections) to filter out products that fall out of specification.&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s philosophy requires that systems be designed in such a way that they are produced, not just within the specified limits, but right on target specifications or best values. Such a proactive approach is much more fruitful and efficient than the reactive approach of sampling inspections. The philosophy of Taguchi is summarized by his quality loss function (see the figure below). The function states that any deviation from the target value leads to a quadratic loss in quality or customer satisfaction. Mathematically, the function may be expressed as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L=k{{(y-m)}^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe10.1.png|center|337px|Taguchi&#039;s quality loss function.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; represents the performance parameter of the system, &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; represents the target or the nominal value of &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the quality loss and &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; is a constant.&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s approach to achieve a high quality system consists of three stages: &#039;&#039;system design&#039;&#039;, &#039;&#039;parameter design&#039;&#039; and &#039;&#039;tolerance design&#039;&#039;. System design refers to the stage when ideas for a new system are used to decide upon the combinations of factors to obtain a functional and economical design. Parameter design refers to the stage when factor settings are selected that make the system less sensitive to variations in the uncontrollable factors affecting the system. Therefore, if this stage is carried out successfully, the resulting system will have little variation and the resulting tolerances will be tight. Tolerance design refers to the final stage when tolerances are tightened around the best value. This stage increases cost and is only needed if the required quality is not achieved during parameter design. Thus, using parameter design, it is possible to achieve the desired quality without much increase in the cost. The tolerance design stage is discussed in detail next.&lt;br /&gt;
&lt;br /&gt;
==Robust Parameter Design==&lt;br /&gt;
Taguchi divided the factors affecting any system into two categories: &#039;&#039;control factors&#039;&#039; and &#039;&#039;noise factors&#039;&#039;. Control factors are factors affecting a system that are easily set by the experimenter. For example, if in a chemical process the reaction time is found to be a factor affecting the yield, then this factor is a control factor since it can be easily manipulated and set by the experimenter. The experimenter will chose the setting of the reaction time that maximizes the yield. Noise factors are factors affecting a system that are difficult or impossible to control. For example, ambient temperature may also have an effect on the yield of a chemical process, but ambient temperature could be a noise factor if it is beyond the control of the experimenter. Thus, change in ambient temperature will lead to variations in the yield but such variations are undesirable.&lt;br /&gt;
&lt;br /&gt;
===Control and Noise Factor Interaction===&lt;br /&gt;
In our example, since the experimenter does not have any control on the change in ambient temperature, he/she needs to find the setting of the reaction time at which there is minimal variation of yield due to change in ambient temperature. Note that this can only occur if there is an interaction between the reaction time (control factor) and ambient temperature (noise factor). If there is no such interaction, variation in yield due to changes in ambient temperature will always occur regardless of the setting of the reaction time. Therefore, to solve a robust parameter design problem, interaction between control and noise factors must exist. This fact is further explained by the figure shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe10.2.png|center|324px|Interaction between control and noise factors: (a) shows the case when there is no such interaction and (b) shows the case when the interaction exists. Robust design is only possible in case (b).|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The figure shows the variation of the response (yield) for two levels of the noise factor (ambient temperature). The response values are plotted at two levels of the control factor (reaction time). Figure (a) shows the case where there is no interaction between the control and noise factors. It can be seen that, regardless of the settings of the control factor (low or high), the variation in the response remains the same (as is evident from the constant spread of the probability distribution of the response at the two levels of the control factor). Figure (b) shows the case where an interaction exists between the control and noise factors. The figure indicates that in the present case it is advantageous to have the control factor at the low setting, since at this setting there is not much variation in the response due to change in the noise factor (as is evident from the smaller spread of the probability distribution of the response at the low level of the control factor).&lt;br /&gt;
&lt;br /&gt;
===Inner and Outer Arrays===&lt;br /&gt;
Taguchi studied the interaction between the control and noise factors using two experiment designs: the &#039;&#039;inner array&#039;&#039; and the &#039;&#039;outer array&#039;&#039;. The inner array is essentially any experiment design that is used to study the effect of the control factors on the response. Taguchi then used an outer array for the noise factors so that each run of the inner array was repeated for every treatment of the outer array. The resulting experiment design, that uses both inner and outer arrays, is referred to as a &#039;&#039;cross array&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate Taguchi&#039;s use of the inner and outer arrays consider the case of a chemical process where the experimenter wants the product to be neither acidic nor basic (i.e., the pH of the product needs to be as close to 7 as possible). It is thought that the pH of the product depends on the concentration of the three reactants, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, used to obtain the product. There are three control factors here, namely the concentration of each of the three reactants. It has also been found that the pH of the product depends on the ambient temperature which varies naturally and cannot be controlled. Thus, there is one noise factor in this case - the ambient temperature. The experimenter chooses Taguchi&#039;s robust parameter design approach to investigate the settings of the control factors to make the product insensitive to changes in ambient temperature. It is decided to carry out a &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; experiment to study the effect of the three control factors on the pH of the product. Therefore, the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design is the inner array here. It is also decided to carry out the experiment at four levels of the ambient temperature by using a special enclosure where the surrounding temperature of the chemical process can be controlled. Therefore, the outer array consists of a single factor experiment with the factor at four levels. Note that, in order to carry out the robust parameter design approach, the noise factor should be such that it can be controlled in an experimental setting. The resulting setup of the robust parameter design experiment is shown in the following table. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet10.1.png|center|462px|Data for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The experiment requires &amp;lt;math&amp;gt;2^{3}\times 4=32\,\!&amp;lt;/math&amp;gt; runs in all as each run of the inner array is repeated for every treatment of the outer array. The above table also shows the pH values obtained for the experiment. In a Weibull++ DOE folio, this design is set up by specifying the properties for the inner and outer arrays as shown in the following figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_1.png|center|575px|Design properties for the factors in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_2.png|center|550px|Cross array design for the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Signal to Noise Ratios==&lt;br /&gt;
Depending upon the objective of the robust parameter design, Taguchi defined three different statistics called &#039;&#039;signal to noise ratios&#039;&#039;. These ratios were defined as the means to measure the variation of the response with respect to the noise factors. Taguchi&#039;s approach essentially consists of two models: a &#039;&#039;location model&#039;&#039; and a &#039;&#039;dispersion model&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Location Model===&lt;br /&gt;
The location model is the regression model for the mean value of the response at each treatment combination of the inner array. If &amp;lt;math&amp;gt;{{y}_{ij}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j=1\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;to\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt;) represents the &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; response values obtained at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment combination of the inner array (corresponding to the &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; levels of the noise factors), then the mean response at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{y}}_{i}}=\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,{{y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
The location model is obtained by fitting a regression model to all &amp;lt;math&amp;gt;{{\bar{y}}_{i}}\,\!&amp;lt;/math&amp;gt; values, by treating these values as the response at each of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatments of the inner array. As an example, the location model for an inner array with two factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{y}}_{i}}=\beta _{0}^{L}+\beta _{1}^{L}{{x}_{i1}}+\beta _{2}^{L}{{x}_{i2}}+\beta _{12}^{L}{{x}_{i1}}{{x}_{i2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{0}^{L}\,\!&amp;lt;/math&amp;gt; is the intercept&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{1}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the first factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{2}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the second factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{12}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the interaction&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; are respectively the variables for the two factors&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of using the location model is to bring the response to its goal regardless of whether this is a target value, maximum value or minimum value. This is done by identifying significant effects and then using the least square estimates of the corresponding coefficients, &amp;lt;math&amp;gt;{{\beta }^{L}}\,\!&amp;lt;/math&amp;gt;s, to fit the location model. The fitted model is used to decide the settings of the variables that bring the response to the goal.&lt;br /&gt;
&lt;br /&gt;
===Dispersion Model===&lt;br /&gt;
The dispersion model measures the variation of the response due to the noise factors. The standard deviation of the response values at each treatment combination, &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt;, is used. Usually, the standard deviation is used as a log function of &amp;lt;math&amp;gt;s_{i}^{2}\,\!&amp;lt;/math&amp;gt; because &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; are approximately normally distributed. These values can be calculated as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\ln s_{i}^{2}=\ln (\frac{\mathop{}_{j=1}^{m}{{({{y}_{ij}}-{{{\bar{y}}}_{i}})}^{2}}}{m-1})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the dispersion model consists of using &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; as the response and investigating what treatment of the control factors results in the minimum variation of the response. Clearly, the objective of using the dispersion model is to minimize variation in the response. Instead of using standard deviations directly, Taguchi defined three signal to noise ratios (abbreviated &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt;) based on the objective function for the response. If the response is to be maximized, the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{L}}=-10{{\log }_{10}}(\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,\frac{1}{y_{ij}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The previous ratio is referred to as the larger-the-better ratio and is defined to decrease variability when maximizing the response.&lt;br /&gt;
When the response is to be minimized, the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{S}}=-10{{\log }_{10}}(\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,y_{ij}^{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This ratio is referred to as the smaller-the-better ratio and is defined to decrease variability when minimizing the response.&lt;br /&gt;
If the objective for the response is to achieve a target or nominal value, then the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{T}}=10{{\log }_{10}}(\frac{\bar{y}_{i}^{2}}{s_{i}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This ratio is referred to as the nominal-the-best ratio and is defined to decrease variability around a target response value.&lt;br /&gt;
The dispersion model for any of the three signal to noise ratios can be written as follows for an inner array with two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;SN=\beta _{0}^{D}+\beta _{1}^{D}{{x}_{1}}+\beta _{2}^{D}{{x}_{2}}+\beta _{12}^{D}{{x}_{1}}{{x}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{0}^{D}\,\!&amp;lt;/math&amp;gt; is the intercept&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{1}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the first factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{2}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the second factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{12}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the interaction&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; are respectively the variables for the two factors &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dispersion model is fit by identifying significant effects and then using the least square estimates of the coefficients &amp;lt;math&amp;gt;{{\beta }^{D}}\,\!&amp;lt;/math&amp;gt;s. Once the fitted dispersion model is known, settings for the control factors are found that result in the maximum value of &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt;, thereby minimizing the response variation.&lt;br /&gt;
&lt;br /&gt;
===Analysis Strategy===&lt;br /&gt;
The location and dispersion regression models are usually obtained by using graphical techniques to identify significant effects. This is because the responses used in the two models are such that only one response value is obtained for each treatment of the inner array. Therefore, the experiment design in the case of the two models is an unreplicated design. &lt;br /&gt;
&lt;br /&gt;
Once the location and dispersion models have been obtained by identification of the significant effects, the following analysis strategy [[DOE_References|[Wu, 2000]]] may be used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*To obtain the best settings of the factors for larger-the-better and smaller-the-better cases:&lt;br /&gt;
**The experimenter must first select the settings of the significant control factors in the location model to either maximize or minimize the response.&lt;br /&gt;
**Then the experimenter must choose the settings of those significant control factors in the dispersion model, that are not significant in the location model, to maximize the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For nominal-the-best cases:&lt;br /&gt;
**The experimenter must first select the settings of the significant control factors in the dispersion model to maximize the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio.&lt;br /&gt;
**Then the experimenter must choose the levels of the significant control factors in the location model to bring the response on target. At times, the same control factor(s) may show up as significant in both the location and dispersion models. In these cases, the experimenter must use his judgement to obtain the best settings of the control factors based upon the two models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factors that do not show up as significant in both the models should be set at levels that result in the greatest economy. Generally, a follow-up experiment is usually carried out with the best settings to verify that the system functions as desired.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
This example illustrates the procedure to obtain the location and dispersion models for the experiment in the [[Robust_Parameter_Design#Example|previous example]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Location Model&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The response values used in the location model can be calculated using the first equation given in [[Robust_Parameter_Design#Location_Model|Location Model]]. As an example, the response value for the third treatment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\bar{y}}}_{3}}= &amp;amp; \frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,{{y}_{3j}} \\ &lt;br /&gt;
= &amp;amp; \frac{1}{4}({{y}_{31}}+{{y}_{32}}+{{y}_{33}}+{{y}_{34}}) \\ &lt;br /&gt;
= &amp;amp; \frac{1}{4}(5.95+6.85+7.65+7.95) \\ &lt;br /&gt;
= &amp;amp; 7.1  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Response values for the remaining seven treatments can be calculated in a similar manner. These values are shown next under the Y Mean column. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_7.png|center|750px|Response values for the location and dispersion models in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the response values for all the treatments are known, the analysis to fit the location model can be carried out by treating the experiment as a single replicate of the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. The results obtained from the DOE folio are shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_8.png|center|650px|Results for the location model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this model shows that only the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is significant for the location model (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_9.png|center|650px|Normal probability plot of effects for the location model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the corresponding coefficient from the figure below, the location model can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\bar{y}=6.1781-0.7344{{x}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; is the variable representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dispersion Model&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the dispersion model, the applicable signal to noise ratio is given by the equation for the nominal-the-best ratio:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{Ti}}=-10{{\log }_{10}}(\frac{\bar{y}_{i}^{2}}{s_{i}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response values for the dispersion model can now be calculated. As an example, the response value for the third treatment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T3}}= &amp;amp; -10{{\log }_{10}}(\frac{\bar{y}_{3}^{2}}{s_{1}^{2}}) \\ &lt;br /&gt;
= &amp;amp; -10{{\log }_{10}}(\frac{\bar{y}_{3}^{2}}{\tfrac{1}{(4-1)}\mathop{}_{j=1}^{4}{{({{y}_{3j}}-{{{\bar{y}}}_{3}})}^{2}}}) \\ &lt;br /&gt;
= &amp;amp; -10{{\log }_{10}}(\frac{{{7.1}^{2}}}{{{0.8963}^{2}}}) \\ &lt;br /&gt;
= &amp;amp; 17.9762  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other &amp;lt;math&amp;gt;S{{N}_{Ti}}\,\!&amp;lt;/math&amp;gt; values can be obtained in a similar manner. The values are under the column Signal Noise Ratio in the data sheet shown above. As in the case of the location model, the analysis to fit the dispersion model can be carried out by treating the experiment as a single replicate of the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. The results obtained from the DOE folio are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_10.png|center|650px|Results for the dispersion model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this model (displayed next) shows that the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is the only significant effect for this model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_11.png|center|650px|Normal probability plot of effects for the dispersion model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the corresponding coefficient from the figure below, the dispersion model can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{T}}=19.963-3.2869{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; is the variable representing factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Robust Parameter Design&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Following the analysis strategy mentioned in [[Robust_Parameter_Design#Analysis_Strategy| Analysis Strategy]], for the nominal-the-best case, the dispersion model should be considered first. The equation for the model shows that to maximize &amp;lt;math&amp;gt;S{{N}_{T}}\,\!&amp;lt;/math&amp;gt;, either one of the following options can be used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}=+1\,\!&amp;lt;/math&amp;gt; or&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}=+1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}=-1\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, considering the location model of this example, to achieve a target response value as close to 7 as possible, the only significant effect for this model, &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, should be set at the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Therefore, the first should be used for the dispersion model&#039;s settings. The final settings for the three factors, as a result of the robust parameter design, are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is set at the low level&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is set at the high level and&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which is not significant in any of the two models, can be set at the level that is most economical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With these settings the predicted pH value for the product is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\bar{y}= &amp;amp; 6.1781-0.7344{{x}_{1}} \\ &lt;br /&gt;
= &amp;amp; 6.1781-0.7344(-1) \\ &lt;br /&gt;
= &amp;amp; 6.9125  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The predicted signal to noise ratio is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T}}= &amp;amp; 19.963-3.2869{{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 19.963-3.2869(-1)(1) \\ &lt;br /&gt;
= &amp;amp; 23.2499  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the signal to noise ratio model hierarchical, &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}},\,\!&amp;lt;/math&amp;gt; have to be included in the model.  Then, the predicted &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T}}= &amp;amp; 19.963-0.6292{{x}_{1}}+0.0515{{x}_{3}}-3.2869{{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 19.963-0.6292(-1)+0.0515(1)-3.2869(-1)(1) \\ &lt;br /&gt;
= &amp;amp; 23.9306  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Limitations of Taguchi&#039;s Approach==&lt;br /&gt;
Although Taguchi&#039;s approach towards robust parameter design introduced innovative techniques to improve quality, a few concerns regarding his philosophy have been raised. Some of these concerns relate to the signal to noise ratios defined to reduce variations in the response, and some others are related to the absence of the means to test for higher order control factor interactions when his orthogonal arrays are used as inner arrays for the design. For these reasons, other approaches to carry out robust parameter design have been suggested including response modeling and the use of &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; in the place of the signal to noise ratios in the dispersion model. In response modeling, the noise factors are included in the model as additional factors, along with the other control factors. Details of these methods can be found in [[DOE_References|[Wu, 2000]]] and other theory books published on the subject.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Robust_Parameter_Design&amp;diff=65207</id>
		<title>Robust Parameter Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Robust_Parameter_Design&amp;diff=65207"/>
		<updated>2017-08-10T17:02:17Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|13}}&lt;br /&gt;
In [[Response_Surface_Methods_for_Optimization|Response Surface Methods for Optimization]], techniques used to optimize the response were discussed. Once an optimum value of the response has been achieved, the next goal of the experimenter should be to make the optimum response value insensitive to the noise factors so that a consistent performance is obtained at all times. For example, if the yield from a chemical process has been optimized at 95%, then this value of yield should be obtained regardless of the variation in factors such as the quality of reactants or fluctuations in humidity or other weather conditions. These factors are beyond the control of the operator. Therefore, the product or process should be such that it is not affected by minor fluctuations in these factors. The process of making a system insensitive to such factors is referred to as &#039;&#039;robust design&#039;&#039;. Robust design was pioneered by the Japanese industrialist Dr. Genichi Taguchi in the early 1980s. This chapter briefly discusses his approach.&lt;br /&gt;
&lt;br /&gt;
==Taguchi&#039;s Philosophy==&lt;br /&gt;
Taguchi&#039;s philosophy is based on the fact that any decrease in the quality of a system leads to customer dissatisfaction. This occurs even if the departure in quality lies within the specified limits of the system and is considered acceptable to the customer. For example, consider the case of a laptop that develops a defect on its screen within the warranty period. Although the customer is able to get a warranty-replacement for the screen this might lead to a little dissatisfaction on the part of the customer. If the same laptop then develops a problem with its DVD drive, the customer might declare the laptop &amp;quot;useless,&amp;quot; even if the problem occurs during the warranty period and the customer is able to get a free replacement. Therefore, to maintain a good reputation, the laptop manufacturer needs to produce laptops that offer the same quality to all customers consistently. This can only be done when the required quality is built into the laptops. Note how this approach differs from traditional quality control where it is considered sufficient to manufacture products within certain specifications and carry out pre-shipment quality control inspections (i.e., sampling inspections) to filter out products that fall out of specification.&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s philosophy requires that systems be designed in such a way that they are produced, not just within the specified limits, but right on target specifications or best values. Such a proactive approach is much more fruitful and efficient than the reactive approach of sampling inspections. The philosophy of Taguchi is summarized by his quality loss function (see the figure below). The function states that any deviation from the target value leads to a quadratic loss in quality or customer satisfaction. Mathematically, the function may be expressed as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L=k{{(y-m)}^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe10.1.png|center|337px|Taguchi&#039;s quality loss function.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; represents the performance parameter of the system, &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; represents the target or the nominal value of &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the quality loss and &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; is a constant.&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s approach to achieve a high quality system consists of three stages: &#039;&#039;system design&#039;&#039;, &#039;&#039;parameter design&#039;&#039; and &#039;&#039;tolerance design&#039;&#039;. System design refers to the stage when ideas for a new system are used to decide upon the combinations of factors to obtain a functional and economical design. Parameter design refers to the stage when factor settings are selected that make the system less sensitive to variations in the uncontrollable factors affecting the system. Therefore, if this stage is carried out successfully, the resulting system will have little variation and the resulting tolerances will be tight. Tolerance design refers to the final stage when tolerances are tightened around the best value. This stage increases cost and is only needed if the required quality is not achieved during parameter design. Thus, using parameter design, it is possible to achieve the desired quality without much increase in the cost. The tolerance design stage is discussed in detail next.&lt;br /&gt;
&lt;br /&gt;
==Robust Parameter Design==&lt;br /&gt;
Taguchi divided the factors affecting any system into two categories: &#039;&#039;control factors&#039;&#039; and &#039;&#039;noise factors&#039;&#039;. Control factors are factors affecting a system that are easily set by the experimenter. For example, if in a chemical process the reaction time is found to be a factor affecting the yield, then this factor is a control factor since it can be easily manipulated and set by the experimenter. The experimenter will chose the setting of the reaction time that maximizes the yield. Noise factors are factors affecting a system that are difficult or impossible to control. For example, ambient temperature may also have an effect on the yield of a chemical process, but ambient temperature could be a noise factor if it is beyond the control of the experimenter. Thus, change in ambient temperature will lead to variations in the yield but such variations are undesirable.&lt;br /&gt;
&lt;br /&gt;
===Control and Noise Factor Interaction===&lt;br /&gt;
In our example, since the experimenter does not have any control on the change in ambient temperature, he/she needs to find the setting of the reaction time at which there is minimal variation of yield due to change in ambient temperature. Note that this can only occur if there is an interaction between the reaction time (control factor) and ambient temperature (noise factor). If there is no such interaction, variation in yield due to changes in ambient temperature will always occur regardless of the setting of the reaction time. Therefore, to solve a robust parameter design problem, interaction between control and noise factors must exist. This fact is further explained by the figure shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe10.2.png|center|324px|Interaction between control and noise factors: (a) shows the case when there is no such interaction and (b) shows the case when the interaction exists. Robust design is only possible in case (b).|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The figure shows the variation of the response (yield) for two levels of the noise factor (ambient temperature). The response values are plotted at two levels of the control factor (reaction time). Figure (a) shows the case where there is no interaction between the control and noise factors. It can be seen that, regardless of the settings of the control factor (low or high), the variation in the response remains the same (as is evident from the constant spread of the probability distribution of the response at the two levels of the control factor). Figure (b) shows the case where an interaction exists between the control and noise factors. The figure indicates that in the present case it is advantageous to have the control factor at the low setting, since at this setting there is not much variation in the response due to change in the noise factor (as is evident from the smaller spread of the probability distribution of the response at the low level of the control factor).&lt;br /&gt;
&lt;br /&gt;
===Inner and Outer Arrays===&lt;br /&gt;
Taguchi studied the interaction between the control and noise factors using two experiment designs: the &#039;&#039;inner array&#039;&#039; and the &#039;&#039;outer array&#039;&#039;. The inner array is essentially any experiment design that is used to study the effect of the control factors on the response. Taguchi then used an outer array for the noise factors so that each run of the inner array was repeated for every treatment of the outer array. The resulting experiment design, that uses both inner and outer arrays, is referred to as a &#039;&#039;cross array&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate Taguchi&#039;s use of the inner and outer arrays consider the case of a chemical process where the experimenter wants the product to be neither acidic nor basic (i.e., the pH of the product needs to be as close to 7 as possible). It is thought that the pH of the product depends on the concentration of the three reactants, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, used to obtain the product. There are three control factors here, namely the concentration of each of the three reactants. It has also been found that the pH of the product depends on the ambient temperature which varies naturally and cannot be controlled. Thus, there is one noise factor in this case - the ambient temperature. The experimenter chooses Taguchi&#039;s robust parameter design approach to investigate the settings of the control factors to make the product insensitive to changes in ambient temperature. It is decided to carry out a &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; experiment to study the effect of the three control factors on the pH of the product. Therefore, the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design is the inner array here. It is also decided to carry out the experiment at four levels of the ambient temperature by using a special enclosure where the surrounding temperature of the chemical process can be controlled. Therefore, the outer array consists of a single factor experiment with the factor at four levels. Note that, in order to carry out the robust parameter design approach, the noise factor should be such that it can be controlled in an experimental setting. The resulting setup of the robust parameter design experiment is shown in the following table. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet10.1.png|center|462px|Data for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The experiment requires &amp;lt;math&amp;gt;2^{3}\times 4=32\,\!&amp;lt;/math&amp;gt; runs in all as each run of the inner array is repeated for every treatment of the outer array. The above table also shows the pH values obtained for the experiment. In a Weibull++ DOE folio, this design is set up by specifying the properties for the inner and outer arrays as shown in the following figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_1.png|center|575px|Design properties for the factors in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_2.png|center|550px|Cross array design for the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Signal to Noise Ratios==&lt;br /&gt;
Depending upon the objective of the robust parameter design, Taguchi defined three different statistics called &#039;&#039;signal to noise ratios&#039;&#039;. These ratios were defined as the means to measure the variation of the response with respect to the noise factors. Taguchi&#039;s approach essentially consists of two models: a &#039;&#039;location model&#039;&#039; and a &#039;&#039;dispersion model&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Location Model===&lt;br /&gt;
The location model is the regression model for the mean value of the response at each treatment combination of the inner array. If &amp;lt;math&amp;gt;{{y}_{ij}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j=1\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;to\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt;) represents the &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; response values obtained at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment combination of the inner array (corresponding to the &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; levels of the noise factors), then the mean response at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{y}}_{i}}=\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,{{y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
The location model is obtained by fitting a regression model to all &amp;lt;math&amp;gt;{{\bar{y}}_{i}}\,\!&amp;lt;/math&amp;gt; values, by treating these values as the response at each of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatments of the inner array. As an example, the location model for an inner array with two factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{y}}_{i}}=\beta _{0}^{L}+\beta _{1}^{L}{{x}_{i1}}+\beta _{2}^{L}{{x}_{i2}}+\beta _{12}^{L}{{x}_{i1}}{{x}_{i2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{0}^{L}\,\!&amp;lt;/math&amp;gt; is the intercept&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{1}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the first factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{2}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the second factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{12}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the interaction&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; are respectively the variables for the two factors&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of using the location model is to bring the response to its goal regardless of whether this is a target value, maximum value or minimum value. This is done by identifying significant effects and then using the least square estimates of the corresponding coefficients, &amp;lt;math&amp;gt;{{\beta }^{L}}\,\!&amp;lt;/math&amp;gt;s, to fit the location model. The fitted model is used to decide the settings of the variables that bring the response to the goal.&lt;br /&gt;
&lt;br /&gt;
===Dispersion Model===&lt;br /&gt;
The dispersion model measures the variation of the response due to the noise factors. The standard deviation of the response values at each treatment combination, &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt;, is used. Usually, the standard deviation is used as a log function of &amp;lt;math&amp;gt;s_{i}^{2}\,\!&amp;lt;/math&amp;gt; because &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; are approximately normally distributed. These values can be calculated as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\ln s_{i}^{2}=\ln (\frac{\mathop{}_{j=1}^{m}{{({{y}_{ij}}-{{{\bar{y}}}_{i}})}^{2}}}{m-1})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the dispersion model consists of using &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; as the response and investigating what treatment of the control factors results in the minimum variation of the response. Clearly, the objective of using the dispersion model is to minimize variation in the response. Instead of using standard deviations directly, Taguchi defined three signal to noise ratios (abbreviated &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt;) based on the objective function for the response. If the response is to be maximized, the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{L}}=-10{{\log }_{10}}(\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,\frac{1}{y_{ij}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The previous ratio is referred to as the larger-the-better ratio and is defined to decrease variability when maximizing the response.&lt;br /&gt;
When the response is to be minimized, the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{S}}=-10{{\log }_{10}}(\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,y_{ij}^{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This ratio is referred to as the smaller-the-better ratio and is defined to decrease variability when minimizing the response.&lt;br /&gt;
If the objective for the response is to achieve a target or nominal value, then the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{T}}=10{{\log }_{10}}(\frac{\bar{y}_{i}^{2}}{s_{i}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This ratio is referred to as the nominal-the-best ratio and is defined to decrease variability around a target response value.&lt;br /&gt;
The dispersion model for any of the three signal to noise ratios can be written as follows for an inner array with two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;SN=\beta _{0}^{D}+\beta _{1}^{D}{{x}_{1}}+\beta _{2}^{D}{{x}_{2}}+\beta _{12}^{D}{{x}_{1}}{{x}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{0}^{D}\,\!&amp;lt;/math&amp;gt; is the intercept&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{1}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the first factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{2}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the second factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{12}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the interaction&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; are respectively the variables for the two factors &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dispersion model is fit by identifying significant effects and then using the least square estimates of the coefficients &amp;lt;math&amp;gt;{{\beta }^{D}}\,\!&amp;lt;/math&amp;gt;s. Once the fitted dispersion model is known, settings for the control factors are found that result in the maximum value of &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt;, thereby minimizing the response variation.&lt;br /&gt;
&lt;br /&gt;
===Analysis Strategy===&lt;br /&gt;
The location and dispersion regression models are usually obtained by using graphical techniques to identify significant effects. This is because the responses used in the two models are such that only one response value is obtained for each treatment of the inner array. Therefore, the experiment design in the case of the two models is an unreplicated design. &lt;br /&gt;
&lt;br /&gt;
Once the location and dispersion models have been obtained by identification of the significant effects, the following analysis strategy [[DOE_References|[Wu, 2000]]] may be used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*To obtain the best settings of the factors for larger-the-better and smaller-the-better cases:&lt;br /&gt;
**The experimenter must first select the settings of the significant control factors in the location model to either maximize or minimize the response.&lt;br /&gt;
**Then the experimenter must choose the settings of those significant control factors in the dispersion model, that are not significant in the location model, to maximize the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For nominal-the-best cases:&lt;br /&gt;
**The experimenter must first select the settings of the significant control factors in the dispersion model to maximize the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio.&lt;br /&gt;
**Then the experimenter must choose the levels of the significant control factors in the location model to bring the response on target. At times, the same control factor(s) may show up as significant in both the location and dispersion models. In these cases, the experimenter must use his judgement to obtain the best settings of the control factors based upon the two models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factors that do not show up as significant in both the models should be set at levels that result in the greatest economy. Generally, a follow-up experiment is usually carried out with the best settings to verify that the system functions as desired.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
This example illustrates the procedure to obtain the location and dispersion models for the experiment in the [[Robust_Parameter_Design#Example|previous example]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Location Model&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The response values used in the location model can be calculated using the first equation given in [[Robust_Parameter_Design#Location_Model|Location Model]]. As an example, the response value for the third treatment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\bar{y}}}_{3}}= &amp;amp; \frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,{{y}_{3j}} \\ &lt;br /&gt;
= &amp;amp; \frac{1}{4}({{y}_{31}}+{{y}_{32}}+{{y}_{33}}+{{y}_{34}}) \\ &lt;br /&gt;
= &amp;amp; \frac{1}{4}(5.95+6.85+7.65+7.95) \\ &lt;br /&gt;
= &amp;amp; 7.1  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Response values for the remaining seven treatments can be calculated in a similar manner. These values are shown next under the Y Mean column. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_7.png|center|750px|Response values for the location and dispersion models in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the response values for all the treatments are known, the analysis to fit the location model can be carried out by treating the experiment as a single replicate of the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. The results obtained from the DOE folio are shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_8.png|center|650px|Results for the location model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this model shows that only the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is significant for the location model (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_9.png|center|650px|Normal probability plot of effects for the location model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the corresponding coefficient from the figure below, the location model can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\bar{y}=6.1781-0.7344{{x}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; is the variable representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dispersion Model&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the dispersion model, the applicable signal to noise ratio is given by the equation for the nominal-the-best ratio:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{Ti}}=-10{{\log }_{10}}(\frac{\bar{y}_{i}^{2}}{s_{i}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response values for the dispersion model can now be calculated. As an example, the response value for the third treatment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T3}}= &amp;amp; -10{{\log }_{10}}(\frac{\bar{y}_{3}^{2}}{s_{1}^{2}}) \\ &lt;br /&gt;
= &amp;amp; -10{{\log }_{10}}(\frac{\bar{y}_{3}^{2}}{\tfrac{1}{(4-1)}\mathop{}_{j=1}^{4}{{({{y}_{3j}}-{{{\bar{y}}}_{3}})}^{2}}}) \\ &lt;br /&gt;
= &amp;amp; -10{{\log }_{10}}(\frac{{{7.1}^{2}}}{{{0.8963}^{2}}}) \\ &lt;br /&gt;
= &amp;amp; 17.9762  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other &amp;lt;math&amp;gt;S{{N}_{Ti}}\,\!&amp;lt;/math&amp;gt; values can be obtained in a similar manner. The values are under the column Signal Noise Ratio in the data sheet shown above. As in the case of the location model, the analysis to fit the dispersion model can be carried out by treating the experiment as a single replicate of the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. The results obtained from DOE++ are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_10.png|center|650px|Results for the dispersion model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this model (displayed next) shows that the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is the only significant effect for this model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_11.png|center|650px|Normal probability plot of effects for the dispersion model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the corresponding coefficient from the figure below, the dispersion model can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{T}}=19.963-3.2869{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; is the variable representing factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Robust Parameter Design&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Following the analysis strategy mentioned in [[Robust_Parameter_Design#Analysis_Strategy| Analysis Strategy]], for the nominal-the-best case, the dispersion model should be considered first. The equation for the model shows that to maximize &amp;lt;math&amp;gt;S{{N}_{T}}\,\!&amp;lt;/math&amp;gt;, either one of the following options can be used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}=+1\,\!&amp;lt;/math&amp;gt; or&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}=+1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}=-1\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, considering the location model of this example, to achieve a target response value as close to 7 as possible, the only significant effect for this model, &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, should be set at the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Therefore, the first should be used for the dispersion model&#039;s settings. The final settings for the three factors, as a result of the robust parameter design, are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is set at the low level&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is set at the high level and&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which is not significant in any of the two models, can be set at the level that is most economical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With these settings the predicted pH value for the product is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\bar{y}= &amp;amp; 6.1781-0.7344{{x}_{1}} \\ &lt;br /&gt;
= &amp;amp; 6.1781-0.7344(-1) \\ &lt;br /&gt;
= &amp;amp; 6.9125  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The predicted signal to noise ratio is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T}}= &amp;amp; 19.963-3.2869{{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 19.963-3.2869(-1)(1) \\ &lt;br /&gt;
= &amp;amp; 23.2499  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the signal to noise ratio model hierarchical, &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}},\,\!&amp;lt;/math&amp;gt; have to be included in the model.  Then, the predicted &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T}}= &amp;amp; 19.963-0.6292{{x}_{1}}+0.0515{{x}_{3}}-3.2869{{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 19.963-0.6292(-1)+0.0515(1)-3.2869(-1)(1) \\ &lt;br /&gt;
= &amp;amp; 23.9306  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Limitations of Taguchi&#039;s Approach==&lt;br /&gt;
Although Taguchi&#039;s approach towards robust parameter design introduced innovative techniques to improve quality, a few concerns regarding his philosophy have been raised. Some of these concerns relate to the signal to noise ratios defined to reduce variations in the response, and some others are related to the absence of the means to test for higher order control factor interactions when his orthogonal arrays are used as inner arrays for the design. For these reasons, other approaches to carry out robust parameter design have been suggested including response modeling and the use of &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; in the place of the signal to noise ratios in the dispersion model. In response modeling, the noise factors are included in the model as additional factors, along with the other control factors. Details of these methods can be found in [[DOE_References|[Wu, 2000]]] and other theory books published on the subject.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Robust_Parameter_Design&amp;diff=65206</id>
		<title>Robust Parameter Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Robust_Parameter_Design&amp;diff=65206"/>
		<updated>2017-08-10T17:01:38Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|13}}&lt;br /&gt;
In [[Response_Surface_Methods_for_Optimization|Response Surface Methods for Optimization]], techniques used to optimize the response were discussed. Once an optimum value of the response has been achieved, the next goal of the experimenter should be to make the optimum response value insensitive to the noise factors so that a consistent performance is obtained at all times. For example, if the yield from a chemical process has been optimized at 95%, then this value of yield should be obtained regardless of the variation in factors such as the quality of reactants or fluctuations in humidity or other weather conditions. These factors are beyond the control of the operator. Therefore, the product or process should be such that it is not affected by minor fluctuations in these factors. The process of making a system insensitive to such factors is referred to as &#039;&#039;robust design&#039;&#039;. Robust design was pioneered by the Japanese industrialist Dr. Genichi Taguchi in the early 1980s. This chapter briefly discusses his approach.&lt;br /&gt;
&lt;br /&gt;
==Taguchi&#039;s Philosophy==&lt;br /&gt;
Taguchi&#039;s philosophy is based on the fact that any decrease in the quality of a system leads to customer dissatisfaction. This occurs even if the departure in quality lies within the specified limits of the system and is considered acceptable to the customer. For example, consider the case of a laptop that develops a defect on its screen within the warranty period. Although the customer is able to get a warranty-replacement for the screen this might lead to a little dissatisfaction on the part of the customer. If the same laptop then develops a problem with its DVD drive, the customer might declare the laptop &amp;quot;useless,&amp;quot; even if the problem occurs during the warranty period and the customer is able to get a free replacement. Therefore, to maintain a good reputation, the laptop manufacturer needs to produce laptops that offer the same quality to all customers consistently. This can only be done when the required quality is built into the laptops. Note how this approach differs from traditional quality control where it is considered sufficient to manufacture products within certain specifications and carry out pre-shipment quality control inspections (i.e., sampling inspections) to filter out products that fall out of specification.&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s philosophy requires that systems be designed in such a way that they are produced, not just within the specified limits, but right on target specifications or best values. Such a proactive approach is much more fruitful and efficient than the reactive approach of sampling inspections. The philosophy of Taguchi is summarized by his quality loss function (see the figure below). The function states that any deviation from the target value leads to a quadratic loss in quality or customer satisfaction. Mathematically, the function may be expressed as: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;L=k{{(y-m)}^{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe10.1.png|center|337px|Taguchi&#039;s quality loss function.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt; represents the performance parameter of the system, &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; represents the target or the nominal value of &amp;lt;math&amp;gt;y\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;L\,\!&amp;lt;/math&amp;gt; represents the quality loss and &amp;lt;math&amp;gt;k\,\!&amp;lt;/math&amp;gt; is a constant.&lt;br /&gt;
&lt;br /&gt;
Taguchi&#039;s approach to achieve a high quality system consists of three stages: &#039;&#039;system design&#039;&#039;, &#039;&#039;parameter design&#039;&#039; and &#039;&#039;tolerance design&#039;&#039;. System design refers to the stage when ideas for a new system are used to decide upon the combinations of factors to obtain a functional and economical design. Parameter design refers to the stage when factor settings are selected that make the system less sensitive to variations in the uncontrollable factors affecting the system. Therefore, if this stage is carried out successfully, the resulting system will have little variation and the resulting tolerances will be tight. Tolerance design refers to the final stage when tolerances are tightened around the best value. This stage increases cost and is only needed if the required quality is not achieved during parameter design. Thus, using parameter design, it is possible to achieve the desired quality without much increase in the cost. The tolerance design stage is discussed in detail next.&lt;br /&gt;
&lt;br /&gt;
==Robust Parameter Design==&lt;br /&gt;
Taguchi divided the factors affecting any system into two categories: &#039;&#039;control factors&#039;&#039; and &#039;&#039;noise factors&#039;&#039;. Control factors are factors affecting a system that are easily set by the experimenter. For example, if in a chemical process the reaction time is found to be a factor affecting the yield, then this factor is a control factor since it can be easily manipulated and set by the experimenter. The experimenter will chose the setting of the reaction time that maximizes the yield. Noise factors are factors affecting a system that are difficult or impossible to control. For example, ambient temperature may also have an effect on the yield of a chemical process, but ambient temperature could be a noise factor if it is beyond the control of the experimenter. Thus, change in ambient temperature will lead to variations in the yield but such variations are undesirable.&lt;br /&gt;
&lt;br /&gt;
===Control and Noise Factor Interaction===&lt;br /&gt;
In our example, since the experimenter does not have any control on the change in ambient temperature, he/she needs to find the setting of the reaction time at which there is minimal variation of yield due to change in ambient temperature. Note that this can only occur if there is an interaction between the reaction time (control factor) and ambient temperature (noise factor). If there is no such interaction, variation in yield due to changes in ambient temperature will always occur regardless of the setting of the reaction time. Therefore, to solve a robust parameter design problem, interaction between control and noise factors must exist. This fact is further explained by the figure shown next. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe10.2.png|center|324px|Interaction between control and noise factors: (a) shows the case when there is no such interaction and (b) shows the case when the interaction exists. Robust design is only possible in case (b).|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The figure shows the variation of the response (yield) for two levels of the noise factor (ambient temperature). The response values are plotted at two levels of the control factor (reaction time). Figure (a) shows the case where there is no interaction between the control and noise factors. It can be seen that, regardless of the settings of the control factor (low or high), the variation in the response remains the same (as is evident from the constant spread of the probability distribution of the response at the two levels of the control factor). Figure (b) shows the case where an interaction exists between the control and noise factors. The figure indicates that in the present case it is advantageous to have the control factor at the low setting, since at this setting there is not much variation in the response due to change in the noise factor (as is evident from the smaller spread of the probability distribution of the response at the low level of the control factor).&lt;br /&gt;
&lt;br /&gt;
===Inner and Outer Arrays===&lt;br /&gt;
Taguchi studied the interaction between the control and noise factors using two experiment designs: the &#039;&#039;inner array&#039;&#039; and the &#039;&#039;outer array&#039;&#039;. The inner array is essentially any experiment design that is used to study the effect of the control factors on the response. Taguchi then used an outer array for the noise factors so that each run of the inner array was repeated for every treatment of the outer array. The resulting experiment design, that uses both inner and outer arrays, is referred to as a &#039;&#039;cross array&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
To illustrate Taguchi&#039;s use of the inner and outer arrays consider the case of a chemical process where the experimenter wants the product to be neither acidic nor basic (i.e., the pH of the product needs to be as close to 7 as possible). It is thought that the pH of the product depends on the concentration of the three reactants, &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;, used to obtain the product. There are three control factors here, namely the concentration of each of the three reactants. It has also been found that the pH of the product depends on the ambient temperature which varies naturally and cannot be controlled. Thus, there is one noise factor in this case - the ambient temperature. The experimenter chooses Taguchi&#039;s robust parameter design approach to investigate the settings of the control factors to make the product insensitive to changes in ambient temperature. It is decided to carry out a &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; experiment to study the effect of the three control factors on the pH of the product. Therefore, the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design is the inner array here. It is also decided to carry out the experiment at four levels of the ambient temperature by using a special enclosure where the surrounding temperature of the chemical process can be controlled. Therefore, the outer array consists of a single factor experiment with the factor at four levels. Note that, in order to carry out the robust parameter design approach, the noise factor should be such that it can be controlled in an experimental setting. The resulting setup of the robust parameter design experiment is shown in the following table. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doet10.1.png|center|462px|Data for the experiment in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The experiment requires &amp;lt;math&amp;gt;2^{3}\times 4=32\,\!&amp;lt;/math&amp;gt; runs in all as each run of the inner array is repeated for every treatment of the outer array. The above table also shows the pH values obtained for the experiment. In a Weibull++ DOE folio, this design is set up by specifying the properties for the inner and outer arrays as shown in the following figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_1.png|center|575px|Design properties for the factors in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The resulting design is shown in the next figure.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_2.png|center|550px|Cross array design for the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
==Signal to Noise Ratios==&lt;br /&gt;
Depending upon the objective of the robust parameter design, Taguchi defined three different statistics called &#039;&#039;signal to noise ratios&#039;&#039;. These ratios were defined as the means to measure the variation of the response with respect to the noise factors. Taguchi&#039;s approach essentially consists of two models: a &#039;&#039;location model&#039;&#039; and a &#039;&#039;dispersion model&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
===Location Model===&lt;br /&gt;
The location model is the regression model for the mean value of the response at each treatment combination of the inner array. If &amp;lt;math&amp;gt;{{y}_{ij}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j=1\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;to\,\!&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt;) represents the &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; response values obtained at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatment combination of the inner array (corresponding to the &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; levels of the noise factors), then the mean response at the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th level is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{y}}_{i}}=\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,{{y}_{ij}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;
The location model is obtained by fitting a regression model to all &amp;lt;math&amp;gt;{{\bar{y}}_{i}}\,\!&amp;lt;/math&amp;gt; values, by treating these values as the response at each of the &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt;th treatments of the inner array. As an example, the location model for an inner array with two factors can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{\bar{y}}_{i}}=\beta _{0}^{L}+\beta _{1}^{L}{{x}_{i1}}+\beta _{2}^{L}{{x}_{i2}}+\beta _{12}^{L}{{x}_{i1}}{{x}_{i2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{0}^{L}\,\!&amp;lt;/math&amp;gt; is the intercept&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{1}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the first factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{2}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the second factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{12}^{L}\,\!&amp;lt;/math&amp;gt; is the coefficient for the interaction&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; are respectively the variables for the two factors&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The objective of using the location model is to bring the response to its goal regardless of whether this is a target value, maximum value or minimum value. This is done by identifying significant effects and then using the least square estimates of the corresponding coefficients, &amp;lt;math&amp;gt;{{\beta }^{L}}\,\!&amp;lt;/math&amp;gt;s, to fit the location model. The fitted model is used to decide the settings of the variables that bring the response to the goal.&lt;br /&gt;
&lt;br /&gt;
===Dispersion Model===&lt;br /&gt;
The dispersion model measures the variation of the response due to the noise factors. The standard deviation of the response values at each treatment combination, &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt;, is used. Usually, the standard deviation is used as a log function of &amp;lt;math&amp;gt;s_{i}^{2}\,\!&amp;lt;/math&amp;gt; because &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; are approximately normally distributed. These values can be calculated as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\ln s_{i}^{2}=\ln (\frac{\mathop{}_{j=1}^{m}{{({{y}_{ij}}-{{{\bar{y}}}_{i}})}^{2}}}{m-1})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Thus, the dispersion model consists of using &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; as the response and investigating what treatment of the control factors results in the minimum variation of the response. Clearly, the objective of using the dispersion model is to minimize variation in the response. Instead of using standard deviations directly, Taguchi defined three signal to noise ratios (abbreviated &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt;) based on the objective function for the response. If the response is to be maximized, the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{L}}=-10{{\log }_{10}}(\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,\frac{1}{y_{ij}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The previous ratio is referred to as the larger-the-better ratio and is defined to decrease variability when maximizing the response.&lt;br /&gt;
When the response is to be minimized, the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{S}}=-10{{\log }_{10}}(\frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,y_{ij}^{2})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This ratio is referred to as the smaller-the-better ratio and is defined to decrease variability when minimizing the response.&lt;br /&gt;
If the objective for the response is to achieve a target or nominal value, then the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is defined as follows:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{T}}=10{{\log }_{10}}(\frac{\bar{y}_{i}^{2}}{s_{i}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This ratio is referred to as the nominal-the-best ratio and is defined to decrease variability around a target response value.&lt;br /&gt;
The dispersion model for any of the three signal to noise ratios can be written as follows for an inner array with two factors:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;SN=\beta _{0}^{D}+\beta _{1}^{D}{{x}_{1}}+\beta _{2}^{D}{{x}_{2}}+\beta _{12}^{D}{{x}_{1}}{{x}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{0}^{D}\,\!&amp;lt;/math&amp;gt; is the intercept&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{1}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the first factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{2}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the second factor&lt;br /&gt;
*&amp;lt;math&amp;gt;\beta _{12}^{D}\,\!&amp;lt;/math&amp;gt; is the coefficient for the interaction&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt; are respectively the variables for the two factors &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The dispersion model is fit by identifying significant effects and then using the least square estimates of the coefficients &amp;lt;math&amp;gt;{{\beta }^{D}}\,\!&amp;lt;/math&amp;gt;s. Once the fitted dispersion model is known, settings for the control factors are found that result in the maximum value of &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt;, thereby minimizing the response variation.&lt;br /&gt;
&lt;br /&gt;
===Analysis Strategy===&lt;br /&gt;
The location and dispersion regression models are usually obtained by using graphical techniques to identify significant effects. This is because the responses used in the two models are such that only one response value is obtained for each treatment of the inner array. Therefore, the experiment design in the case of the two models is an unreplicated design. &lt;br /&gt;
&lt;br /&gt;
Once the location and dispersion models have been obtained by identification of the significant effects, the following analysis strategy [[DOE_References|[Wu, 2000]]] may be used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*To obtain the best settings of the factors for larger-the-better and smaller-the-better cases:&lt;br /&gt;
**The experimenter must first select the settings of the significant control factors in the location model to either maximize or minimize the response.&lt;br /&gt;
**Then the experimenter must choose the settings of those significant control factors in the dispersion model, that are not significant in the location model, to maximize the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For nominal-the-best cases:&lt;br /&gt;
**The experimenter must first select the settings of the significant control factors in the dispersion model to maximize the &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio.&lt;br /&gt;
**Then the experimenter must choose the levels of the significant control factors in the location model to bring the response on target. At times, the same control factor(s) may show up as significant in both the location and dispersion models. In these cases, the experimenter must use his judgement to obtain the best settings of the control factors based upon the two models.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Factors that do not show up as significant in both the models should be set at levels that result in the greatest economy. Generally, a follow-up experiment is usually carried out with the best settings to verify that the system functions as desired.&lt;br /&gt;
&lt;br /&gt;
====Example====&lt;br /&gt;
This example illustrates the procedure to obtain the location and dispersion models for the experiment in the [[Robust_Parameter_Design#Example|previous example]].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Location Model&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
The response values used in the location model can be calculated using the first equation given in [[Robust_Parameter_Design#Location_Model|Location Model]]. As an example, the response value for the third treatment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
{{{\bar{y}}}_{3}}= &amp;amp; \frac{1}{m}\underset{j=1}{\overset{m}{\mathop \sum }}\,{{y}_{3j}} \\ &lt;br /&gt;
= &amp;amp; \frac{1}{4}({{y}_{31}}+{{y}_{32}}+{{y}_{33}}+{{y}_{34}}) \\ &lt;br /&gt;
= &amp;amp; \frac{1}{4}(5.95+6.85+7.65+7.95) \\ &lt;br /&gt;
= &amp;amp; 7.1  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Response values for the remaining seven treatments can be calculated in a similar manner. These values are shown next under the Y Mean column. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_7.png|center|750px|Response values for the location and dispersion models in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Once the response values for all the treatments are known, the analysis to fit the location model can be carried out by treating the experiment as a single replicate of the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. The results obtained from DOE++ are shown in the figure below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_8.png|center|650px|Results for the location model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this model shows that only the main effect of factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is significant for the location model (see the figure below). &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_9.png|center|650px|Normal probability plot of effects for the location model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the corresponding coefficient from the figure below, the location model can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\bar{y}=6.1781-0.7344{{x}_{1}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; is the variable representing factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Dispersion Model&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
For the dispersion model, the applicable signal to noise ratio is given by the equation for the nominal-the-best ratio:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{Ti}}=-10{{\log }_{10}}(\frac{\bar{y}_{i}^{2}}{s_{i}^{2}})\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The response values for the dispersion model can now be calculated. As an example, the response value for the third treatment is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T3}}= &amp;amp; -10{{\log }_{10}}(\frac{\bar{y}_{3}^{2}}{s_{1}^{2}}) \\ &lt;br /&gt;
= &amp;amp; -10{{\log }_{10}}(\frac{\bar{y}_{3}^{2}}{\tfrac{1}{(4-1)}\mathop{}_{j=1}^{4}{{({{y}_{3j}}-{{{\bar{y}}}_{3}})}^{2}}}) \\ &lt;br /&gt;
= &amp;amp; -10{{\log }_{10}}(\frac{{{7.1}^{2}}}{{{0.8963}^{2}}}) \\ &lt;br /&gt;
= &amp;amp; 17.9762  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Other &amp;lt;math&amp;gt;S{{N}_{Ti}}\,\!&amp;lt;/math&amp;gt; values can be obtained in a similar manner. The values are under the column Signal Noise Ratio in the data sheet shown above. As in the case of the location model, the analysis to fit the dispersion model can be carried out by treating the experiment as a single replicate of the &amp;lt;math&amp;gt;2^{3}\,\!&amp;lt;/math&amp;gt; design. The results obtained from DOE++ are shown in the figure below. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_10.png|center|650px|Results for the dispersion model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The normal probability plot of effects for this model (displayed next) shows that the interaction &amp;lt;math&amp;gt;AC\,\!&amp;lt;/math&amp;gt; is the only significant effect for this model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:doe13_11.png|center|650px|Normal probability plot of effects for the dispersion model in the example.|link=]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Using the corresponding coefficient from the figure below, the dispersion model can be written as:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;S{{N}_{T}}=19.963-3.2869{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt; is the variable representing factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Robust Parameter Design&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Following the analysis strategy mentioned in [[Robust_Parameter_Design#Analysis_Strategy| Analysis Strategy]], for the nominal-the-best case, the dispersion model should be considered first. The equation for the model shows that to maximize &amp;lt;math&amp;gt;S{{N}_{T}}\,\!&amp;lt;/math&amp;gt;, either one of the following options can be used:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}=-1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}=+1\,\!&amp;lt;/math&amp;gt; or&lt;br /&gt;
*&amp;lt;math&amp;gt;{{x}_{1}}=+1\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}}=-1\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then, considering the location model of this example, to achieve a target response value as close to 7 as possible, the only significant effect for this model, &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, should be set at the level of &amp;lt;math&amp;gt;-1\,\!&amp;lt;/math&amp;gt;. Therefore, the first should be used for the dispersion model&#039;s settings. The final settings for the three factors, as a result of the robust parameter design, are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;A\,\!&amp;lt;/math&amp;gt; is set at the low level&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;C\,\!&amp;lt;/math&amp;gt; is set at the high level and&lt;br /&gt;
*Factor &amp;lt;math&amp;gt;B\,\!&amp;lt;/math&amp;gt;, which is not significant in any of the two models, can be set at the level that is most economical.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
With these settings the predicted pH value for the product is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\bar{y}= &amp;amp; 6.1781-0.7344{{x}_{1}} \\ &lt;br /&gt;
= &amp;amp; 6.1781-0.7344(-1) \\ &lt;br /&gt;
= &amp;amp; 6.9125  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The predicted signal to noise ratio is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T}}= &amp;amp; 19.963-3.2869{{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 19.963-3.2869(-1)(1) \\ &lt;br /&gt;
= &amp;amp; 23.2499  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To make the signal to noise ratio model hierarchical, &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{x}_{3}},\,\!&amp;lt;/math&amp;gt; have to be included in the model.  Then, the predicted &amp;lt;math&amp;gt;SN\,\!&amp;lt;/math&amp;gt; ratio is:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
S{{N}_{T}}= &amp;amp; 19.963-0.6292{{x}_{1}}+0.0515{{x}_{3}}-3.2869{{x}_{1}}{{x}_{3}} \\ &lt;br /&gt;
= &amp;amp; 19.963-0.6292(-1)+0.0515(1)-3.2869(-1)(1) \\ &lt;br /&gt;
= &amp;amp; 23.9306  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Limitations of Taguchi&#039;s Approach==&lt;br /&gt;
Although Taguchi&#039;s approach towards robust parameter design introduced innovative techniques to improve quality, a few concerns regarding his philosophy have been raised. Some of these concerns relate to the signal to noise ratios defined to reduce variations in the response, and some others are related to the absence of the means to test for higher order control factor interactions when his orthogonal arrays are used as inner arrays for the design. For these reasons, other approaches to carry out robust parameter design have been suggested including response modeling and the use of &amp;lt;math&amp;gt;\ln s_{i}^{2}\,\!&amp;lt;/math&amp;gt; in the place of the signal to noise ratios in the dispersion model. In response modeling, the noise factors are included in the model as additional factors, along with the other control factors. Details of these methods can be found in [[DOE_References|[Wu, 2000]]] and other theory books published on the subject.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65205</id>
		<title>Mixture Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65205"/>
		<updated>2017-08-10T17:00:35Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|14}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
When a product is formed by mixing together two or more ingredients, the product is called a mixture, and the ingredients are called mixture components. In a general mixture problem, the measured response is assumed to depend only on the proportions of the ingredients in the mixture, not the amount of the mixture. For example, the taste of a fruit punch recipe (i.e., the response) might depend on the proportions of watermelon, pineapple and orange juice in the mixture. The taste of a small cup of fruit punch will obviously be the same as a big cup.&lt;br /&gt;
&lt;br /&gt;
Sometimes the responses of a mixture experiment depend not only on the proportions of ingredients, but also on the settings of variables in the process of making the mixture. For example, the tensile strength of stainless steel is not only affected by the proportions of iron, copper, nickel and chromium in the alloy; it is also affected by process variables such as temperature, pressure and curing time used in the experiment. &lt;br /&gt;
&lt;br /&gt;
One of the purposes of conducting a mixture experiment is to find the best proportion of each component and the best value of each process variable, in order to optimize a single response or multiple responses simultaneously. In this chapter, we will discuss how to design effective mixture designs and how to analyze data from mixture experiments with and without process variables. &lt;br /&gt;
&lt;br /&gt;
==Mixture Design Types==&lt;br /&gt;
&lt;br /&gt;
There are several different types of mixture designs. The most common ones are simplex lattice, simplex centroid, simplex axial and extreme vertex designs, each of which is used for a different purpose. &lt;br /&gt;
&lt;br /&gt;
*If there are many components in a mixture, the first choice is to screen out the most important ones. Simplex axial and Simplex centroid designs are used for this purpose. &lt;br /&gt;
*If the number of components is not large, but a high order polynomial equation is needed in order to accurately describe the response surface, then a simplex lattice design can be used.&lt;br /&gt;
*Extreme vertex designs are used for the cases when there are constraints on one or more components (e.g., if the proportion of watermelon juice in a fruit punch recipe is required to be less than 30%, and the combined proportion of watermelon and orange juice should always be between 40% and 70%).  &lt;br /&gt;
&lt;br /&gt;
===Simplex Plot===&lt;br /&gt;
&lt;br /&gt;
Since the sum of all the mixture components is always 100%, the experiment space usually is given by a plot. The experiment space for the fruit punch experiment is given in the following triangle or simplex plot. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.1.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
The triangle area in the above plot is defined by the fact that the sum of the three ingredients is 1 (100%). For the points that are on the vertices, the punch only has one ingredient. For instance, point 1 only has watermelon. The line opposite of point 1 represents a mixture with no watermelon . &lt;br /&gt;
&lt;br /&gt;
The coordinate system used for the value of each ingredient &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;i=1,2,...,q\,\!&amp;lt;/math&amp;gt; is called a simplex coordinate system. q is the number of ingredients. The simplex plot can only visually display three ingredients. If there are more than three ingredients, the values for other ingredients must be provided. For the fruit punch example, the coordinate for point 1 is (1, 0, 0). The interior points of the triangle represent mixtures in which none of the three components is absent. It means all &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;i=1,2,3\,\!&amp;lt;/math&amp;gt;. Point 0 in the middle of the triangle is called the center point. In this case, it is the centroid of a face/plane. The coordinate for point 0 is (1/3, 1/3, 1/3). Points 2, 4 and 6 are each called a centroid of edge. Their coordinates are (0.5, 0.5, 0), (0, 0.5, 0.5), and (0.5, 0, 0.5).&lt;br /&gt;
&lt;br /&gt;
===Simplex Lattice Design===&lt;br /&gt;
&lt;br /&gt;
The response in a mixture experiment usually is described by a polynomial function. This function represents how the components affect the response. To better study the shape of the response surface, the natural choice for a design would be the one whose points are spread evenly over the whole simplex. An ordered arrangement consisting of a uniformly spaced distribution of points on a simplex is known as a lattice. &lt;br /&gt;
&lt;br /&gt;
A {q, m} simplex lattice design for q components consists of points defined by the following coordinate settings: the proportions assumed by each component take the m+1 equally spaced values from 0 to 1, &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{m},\frac{2}{m},....,1\text{      }i=1,2,....,q\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the design space consists of all the reasonable combinations of all the values for each factor. m is usually called the degree of the lattice. For example, for a {3, 2} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{2},1\,\!&amp;lt;/math&amp;gt; and its design space has 6 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.2.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
For a {3, 3} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{3},\frac{2}{3},1\,\!&amp;lt;/math&amp;gt;, and its design space has 10 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.3.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
For a simplex design with degree of m, each component has m + 1 different values, therefore, the experiment results can be used to fit a polynomial equation up to an order of m. A {3, 3} simplex lattice design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the full cubic model. Note that the intercept term is not included in the model due to the correlation between all the components (their sum is 100%). &lt;br /&gt;
&lt;br /&gt;
Simplex lattice design includes all the component combinations. For a {q, m} design, the total number of runs is &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q+m-1 \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;. Therefore to reduce the number of runs and still be able to fit a high order polynomial model, sometimes we can use simplex centroid design which is explained next.&lt;br /&gt;
&lt;br /&gt;
===Simplex Centroid Design===&lt;br /&gt;
&lt;br /&gt;
A simplex centroid design only includes the centroid points. For the components that appear in a run in a simplex centroid design, they have the same values. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.4.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
In the above simplex plot, points 2, 4 and 6 are 2nd degree centroids. Each of them has two non-zero components with equal values. Point 0 is a 3rd degree centroid and all three components have the same value. For a design with q components, the highest degree of centroid is q. It is called the overall centroid, or the center point of the design. &lt;br /&gt;
&lt;br /&gt;
For a q component simplex centroid design with a degree of centroid of q, the total number of runs is &lt;br /&gt;
&amp;lt;math&amp;gt;{{2}^{q}}-1\,\!&amp;lt;/math&amp;gt;. The runs correspond to the q permutations of (1, 0, 0,…, 0), &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/2, 1/2, 0, 0, 0, 0, …,0), the &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 3 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/3, 1/3, 1/3, 0, 0, 0, 0,…, 0)…., and the overall centroid (1/q, 1/q, …, 1/q).  If the degree of centroid is defined as &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; (m &amp;lt; q), then the total number of runs will be &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 1 \\ &lt;br /&gt;
\end{align} \right)+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)+...+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since a simplex centroid design usually has fewer runs than a simplex lattice design with the same degree, a polynomial model with fewer terms should be used. A {3, 3} simplex centroid design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the special cubic model. Note that the intercept term is not included due to the correlation between all the components (their sum is 100%).&lt;br /&gt;
&lt;br /&gt;
===Simplex Axial Design===&lt;br /&gt;
&lt;br /&gt;
The simplex lattice and simplex centroid designs are boundary designs since the points of these designs are positioned on boundaries (vertices, edges, faces, etc.) of the simplex factor space, with the exception of the overall centroid. Axial designs, on the other hand, are designs consisting mainly of the points positioned inside the simplex. Axial designs have been recommended for use when component effects are to be measured in a screening experiment, particularly when first degree models are to be fitted. &lt;br /&gt;
&lt;br /&gt;
Definition of Axial: The axial of a component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; is defined as the imaginary line extending from the base point &amp;lt;math&amp;gt;{{x}_{i}}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{x}_{j}}=1/\left( q-1 \right)\,\!&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;, to the vertex where &amp;lt;math&amp;gt;{{x}_{i}}=1,{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;. [John Cornell]    &lt;br /&gt;
&lt;br /&gt;
In a simplex axial design, all the points are on the axial. The simplest form of axial design is one whose points are positioned equidistant from the overall centroid &amp;lt;math&amp;gt;\left( {1}/{q,{1}/{q,}\;{1}/{q,}\;...}\; \right)\,\!&amp;lt;/math&amp;gt;. Traditionally, points located at the half distance from the overall centroid to the vertex are called axial points/blends. This is illustrated in the following plot.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.5.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 4, 5 and 6 are the axial blends. &lt;br /&gt;
&lt;br /&gt;
By default, a simple axial design in a DOE folio only has vertices, axial blends, centroid of the constraint planes and the overall centroid. For a design with q components, constraint plane centroids are the center points of dimension of q-1 space. One component is 0, and the remaining components have the same values for the center points of constraint planes. The number of the constraint plane centroids is the number of components q. The total number of runs in a simple axial design will be 3q+1. They are q vertex runs, q centroids of constraint planes, q axial blends and 1 overall centroid. &lt;br /&gt;
&lt;br /&gt;
A simplex axial design for 3 components has 10 points as given below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.6.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 1, 2 and 3 are the three vertices; points 4, 5, 6 are the axial blends; points 7, 8 and 9 are the centroids of constraint planes, and point 0 is the overall center point.&lt;br /&gt;
&lt;br /&gt;
===Extreme Vertex Design===&lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs are used when both lower and upper bound constraints on the components are presented, or when linear constraints are added to several components. For example, if a mixture design with 3 components has the following constraints:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;{{x}_{2}}\le 0.7\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;-2{{x}_{1}}+2{{x}_{2}}+3{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;48{{x}_{1}}+13{{x}_{2}}-{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the feasible region is defined by the six points in the following simplex plot. To meet the above constraints, all the runs conducted in the experiment should be in the feasible region or on its boundary. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.7.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The CONSIM method described in [Snee 1979] is used in a Weibull++ DOE folio to check the consistency of all the constraints and to get the vertices defined by them. &lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs by default use the vertices at the boundary. Additional points such as the centroid of spaces of different dimensions, axial points and the overall center point can be added. In extreme vertex designs, axial points are between the overall center point and the vertices.  For the above example, if the axial points and the overall center point are added, then all the runs in the experiment will be:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.8.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Point 0 in the center of the feasible region is the overall centroid. The other red points are the axial points. They are at the middle of the lines connecting the center point with the vertices.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design Data Analysis==&lt;br /&gt;
&lt;br /&gt;
In the following section, we will discuss the most popular regression models in mixture design data analysis. Due to the correlation between all the components in mixture designs, the intercept term usually is not included in the regression model. &lt;br /&gt;
&lt;br /&gt;
===Models Used in Mixture Design===&lt;br /&gt;
&lt;br /&gt;
For a design with three components, the following models are commonly used.&lt;br /&gt;
&lt;br /&gt;
*Linear model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the intercept were included in the model, then the linear model would be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=\beta _{0}^{&#039;}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, since &amp;lt;math&amp;gt;{{x}_{1}}+{{x}_{2}}+{{x}_{3}}=1\,\!&amp;lt;/math&amp;gt; (can be other constants as well), the above equation can be written as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\beta _{0}^{&#039;}\left( {{x}_{1}}+{{x}_{2}}+{{x}_{3}} \right)+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; =\left( \beta _{0}^{&#039;}+\beta _{1}^{&#039;} \right){{x}_{1}}+\left( \beta _{0}^{&#039;}+\beta _{2}^{&#039;} \right){{x}_{2}}+\left( \beta _{0}^{&#039;}+\beta _{3}^{&#039;} \right){{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equation has thus been reformatted to omit the intercept. &lt;br /&gt;
&lt;br /&gt;
*Quadratic model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are no classic quadratic terms such as &amp;lt;math&amp;gt;x_{1}^{2}\,\!&amp;lt;/math&amp;gt;. This is because &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x_{1}^{2}={{x}_{1}}\left( 1-{{x}_{2}}-{{x}_{3}} \right)={{x}_{1}}-{{x}_{1}}{{x}_{2}}-{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Full cubic model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Special cubic model: &amp;lt;math&amp;gt;{{\delta }_{ij}}{{x}_{i}}{{x}_{j}}\left( {{x}_{i}}-{{x}_{j}} \right)\,\!&amp;lt;/math&amp;gt; are removed from the full cubic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above types of models are called Scheffe type models. They can be extended to designs with more than three components. &lt;br /&gt;
&lt;br /&gt;
In regular regression analysis, the effect of an exploratory variable or factor is represented by the value of the coefficient. The ratio of the estimated coefficient and its standard error is used for the t-test. The t-test can tell us if a coefficient is 0 or not. If a coefficient is statistically 0, then the corresponding factor has no significant effect on the response. However, for Scheffe type models, since the intercept term is not included in the model, we cannot use the regular t-test to test each individual main effect. In other words, we cannot test if the coefficient for each component is 0 or not. &lt;br /&gt;
&lt;br /&gt;
Similarly, in the ANOVA analysis, the linear effects of all the components are tested together as a single group. The main effect test for each individual component is not conducted.  To perform ANOVA analysis, the Scheffe type model needs to be reformatted to include the hidden intercept. For example, the linear model&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
can be rewritten as&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}\left( 1-{{x}_{1}}-{{x}_{2}} \right) \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{3}}+\left( {{\beta }_{1}}-{{\beta }_{3}} \right){{x}_{1}}+\left( {{\beta }_{2}}-{{\beta }_{3}} \right){{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{0}}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\beta }_{0}}={{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{1}^{&#039;}={{\beta }_{1}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{2}^{&#039;}={{\beta }_{2}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;. All other models such as the quadratic, cubic and special cubic model can be reformatted using the same procedure. By including the intercept in the model, the correct sum of squares can be calculated in the ANOVA table. If ANOVA analysis is conducted directly using the Scheffe type models, the result will be incorrect.&lt;br /&gt;
&lt;br /&gt;
===L-Pseudocomponent, Proportion, and Actual Values===&lt;br /&gt;
&lt;br /&gt;
In mixture designs, the total amount of the mixture is usually given. For example, we can make either a one-pound or a two-pound cake. Regardless of whether the cake is one or two pounds, the proportion of each ingredient is the same. When the total amount is given, the upper and lower limits for each ingredient are usually given in amounts, which is easier for the experimenter to understand. Of course, if the limits or other constraints are given in terms of proportions, these proportions need be converted to the real amount values when conducting the experiment. To keep everything consistent, all the constraints in a DOE folio are treated as amounts.&lt;br /&gt;
&lt;br /&gt;
In regular factorial design and response surface methods, the regression model is calculated using coded values. Coded values scale all the factors to the same magnitude, which makes the analysis much easier and reduces convergence error. Similarly, the analysis in mixture design is conducted using the so-called L-pseudocomponent value. L-pseudocomponent values scale all the components&#039; values within 0 and 1. In a DOE folio all the designs and calculations for mixture factors are based on L-pseudocomponent values. The relationship between L-pseudocomponent values, proportions and actual amounts are explained next. &lt;br /&gt;
&lt;br /&gt;
====Example for L-Pseudocomponent Value====&lt;br /&gt;
&lt;br /&gt;
We are going to make one gallon (about 3.8 liters) of fruit punch. Three ingredients will be in the punch with the following constraints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_{i}^{A}\,\!&amp;lt;/math&amp;gt; (i = 1, 2, 3) be the actual amount value, &amp;lt;math&amp;gt;x_{i}^{{}}\,\!&amp;lt;/math&amp;gt; be the L-pseudocomponent value and &amp;lt;math&amp;gt;x_{i}^{R}\,\!&amp;lt;/math&amp;gt; be the proportion value. Then the equations for the conversion between them are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=\frac{x_{i}^{A}-{{l}_{i}}}{\left( T-\sum\limits_{j=1}^{p}{{{l}_{j}}} \right)}\,\!&amp;lt;/math&amp;gt;,	  &amp;lt;math&amp;gt;x_{i}^{A}={{l}_{i}}+\left( T-\sum\limits_{j=1}^{p}{{{l}_{i}}} \right){{x}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{i}^{R}=\frac{x_{i}^{A}}{T}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{1}^{A}\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;x_{1}^{R}\,\!&amp;lt;/math&amp;gt; are for component A, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}^{R}\,\!&amp;lt;/math&amp;gt; are for component B, and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{3}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{3}^{R}\,\!&amp;lt;/math&amp;gt; are for component C. &lt;br /&gt;
&lt;br /&gt;
Since components in this example have both lower and upper limit constraints, an extreme vertex design is used. The design settings are given below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.9.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The created design in terms of L-pseudocomponent values is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.10.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in amount values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.11.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in proportion values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.12.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
====Check Constraint Consistency====&lt;br /&gt;
&lt;br /&gt;
In the above example, all the constraints are consistent. However, if we set the constraints to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then they are not consistent. This is because the total is only 3.8, but the sum of all the lower limits is 4.7. Therefore, not all the lower limits can be satisfied at the same time. If only lower limits and upper limits are presented for all the components, then we can adjust the lower bounds to make the constraints consistent. The method given by [Pieple 1983] is used and summarized below.&lt;br /&gt;
&lt;br /&gt;
Defined the range of a component to be &amp;lt;math&amp;gt;{{R}_{i}}={{U}_{i}}-{{L}_{i}}\,\!&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;{{U}_{i}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{i}}\,\!&amp;lt;/math&amp;gt; are the upper and lower limit for component i. The implied range of component i is  &lt;br /&gt;
&amp;lt;math&amp;gt;R_{i}^{*}=U_{i}^{*}-L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;L_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{U}_{i}}}\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;U_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{L}_{i}}}\,\!&amp;lt;/math&amp;gt;. T is the total amount. The steps for checking and adjusting bounds are given below. &lt;br /&gt;
&lt;br /&gt;
Step 1:  Check if &amp;lt;math&amp;gt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt; are greater than 0, if they are, then these constraints meet the basic requirement to be consistent. We can move forward to step 2. If not, these constraints cannot be adjusted to be consistent. We should stop. &lt;br /&gt;
&lt;br /&gt;
Step 2: For each component, check if &amp;lt;math&amp;gt;{{L}_{i}}\ge L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{U}_{i}}\le U_{i}^{*}\,\!&amp;lt;/math&amp;gt;. If they are, then this component’s constraints are consistent. Otherwise, if &amp;lt;math&amp;gt;{{L}_{i}}&amp;lt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{L}_{i}}=L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;{{U}_{i}}&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{U}_{i}}=U_{i}^{*}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Step 3: Whenever a bound is changed, restart from Step 1 to use the new bound to check if all the constraints are consistent. Repeat this until all the limits are consistent. &lt;br /&gt;
 &lt;br /&gt;
For extreme vertex design where linear constraints are allowed, the DOE folio will give a warning and stop creating the design if inconsistent linear combination constraints are found. No adjustment will be conducted for linear constraints.&lt;br /&gt;
&lt;br /&gt;
===Response Trace Plot===&lt;br /&gt;
&lt;br /&gt;
Due to the correlation between all the components, the regular t-test is not used to test the significance of each component. A special plot called the Response Trace Plot can be used to see how the response changes when each component changes from its reference point [John Cornell]. &lt;br /&gt;
&lt;br /&gt;
A reference point can be any point inside the experiment space. An imaginary line can be drawn from this reference point to each vertex &amp;lt;math&amp;gt;{{x}_{i}}=1\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;i\ne j\,\!&amp;lt;/math&amp;gt;). This line is the direction for component i to change. Component i can either increase or decrease its value along this line, while the ratio of other components &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j,k\ne i\,\!&amp;lt;/math&amp;gt;) will keep constant. If the simplex plot is defined in terms of proportion, then the direction is called Cox’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; is the ratio of proportion. If the simplex plot is defined in terms of pseduocomponent value, then the direction is called Pieple’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; will be the ratio of pseduocomponent values. &lt;br /&gt;
&lt;br /&gt;
Assume the reference point in terms of proportion is &amp;lt;math&amp;gt;s=\left( {{s}_{1}},{{s}_{2}},...,{{s}_{q}} \right)\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{s}_{1}}+{{s}_{2}}+...+{{s}_{q}}=1\,\!&amp;lt;/math&amp;gt;. Suppose the proportion of component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; is now changed by &amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; could be greater than or less than 0) in Cox’s direction, so that the new proportion becomes &amp;lt;math&amp;gt;{{x}_{i}}={{s}_{i}}+{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the proportions of the remaining &amp;lt;math&amp;gt;q-1\,\!&amp;lt;/math&amp;gt; components resulting from the change from &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; will be&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{j}}={{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the change, the ratio of component j and k is unchanged. This is because&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{{{x}_{j}}}{{{x}_{k}}}=\frac{{{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}}{{{s}_{k}}-\frac{{{\Delta }_{i}}{{s}_{k}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\frac{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
While &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; is changed along Cox’s direction, we can use a fitted regression model to get the response value y.  A response trace plot for a mixture design with three components will look like &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.13.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The x-axis is the deviation amount from the reference point, and the y-value is the fitted response. Each component has one curve. Since the red curve for component A changes significantly, this means it has a significant effect along its axial. The blue curve for component C is almost flat; this means when C changes along Cox’s direction and other components keep the same ratio, the response Y does not change very much. The effect of component B is between component A and C.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Watermelon (A), pineapple (B) and orange juice (C) are used for making 3.8 liters of fruit punch. At least 30% of the fruit punch must be watermelon. Therefore the constraints are&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.14\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le B\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Different blends of the three-juice recipe were evaluated by a panel. A value from 1 (extremely poor) to 9 (very good) is used for the response [John Cornell, page 74]. A {3, 2} simplex lattice design is used with one center point and three axial points. Three replicates were conducted for each ingredient combination. The settings for creating this design in a DOE folio is &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe_14.14.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The generated design in L-pseudocomponent values and the response values from the experiment are&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.15.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The simplex design point plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.16.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Main effect and 2-way interactions are included in the regression model. The result for the regression model in terms of L-pseudocomponents is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=4.81{{x}_{1}}+6.03{{x}_{2}}+6.16{{x}_{3}}+1.13{{x}_{1}}{{x}_{2}}+2.45{{x}_{1}}{{x}_{3}}+1.69{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression information table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;8&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Regression Information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Term&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Coefficient&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard Error&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Low Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | High Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | T Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A: Watermelon&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8093&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.2845&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.3340&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B: Pineapple&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0274&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.5027&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5522&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | C: Orange&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.1577&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.6330&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.6825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1253&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -1.2934&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.5439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.7960&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.4525&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.0339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8712&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.7348&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.6889&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -0.7298&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.1075&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1947&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows that the taste of the fruit punch is significantly affected by the interaction between watermelon and orange. &lt;br /&gt;
&lt;br /&gt;
The ANOVA table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Anova Table&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Source of Variation&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Degrees of Freedom&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard ErrorSum of Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Mean Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | F Ratio&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Model &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5517&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.3103&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.3181&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0061 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Linear &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.6513&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.8256&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0162&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0076 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.6336&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.0097&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4272&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
|-&lt;br /&gt;
| Residual&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.2829&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3035&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Lack of Fit &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.4563&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1141&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.8825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0006 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | Pure Error&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.8267&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1413&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13.8347&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|} 	 &lt;br /&gt;
&lt;br /&gt;
The simplex contour plot in L-pseudocomponent values is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.17.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
From this plot we can see that as the amount of watermelon is reduced, the taste of the fruit punch becomes better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to find the best proportion of each ingredient, the optimization tool in the Weibull++ DOE folio can be utilized. Set the settings as&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.18.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The resulting optimal plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.19.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
This plot shows that when the amounts for watermelon, pineapple and orange juice are 1.141, 1.299 and 1.359, respectively, the rated taste of the fruit punch is highest.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design with Process Variables==&lt;br /&gt;
&lt;br /&gt;
Process variables often play very important roles in mixture experiments. A simple example is baking a cake. Even with the same ingredients, different baking temperatures and baking times can produce completely different results. In order to study the effect of process variables and find their best settings, we need to consider them when conducting a mixture experiment. &lt;br /&gt;
&lt;br /&gt;
An easy way to do this is to make mixtures with the same ingredients in different combinations of process variables. If all the process variables are independent, then we can plan a regular factorial design for these process variables. By combining these designs with a separated mixture design, the effect of mixture components and effect of process variables can be studied. &lt;br /&gt;
&lt;br /&gt;
For example, a {3, 2} simplex lattice design is used for a mixture with 3 components. Together with the center point, it has total of 7 runs or 7 different ingredient combinations. Assume 2 process variables are potentially important and a two level factorial design is used for them. It has a total of 4 combinations for these 2 process variables. If the 7 different mixtures are made under each of the 4 process variable combinations, then the experiment has a total of 28 runs. This is illustrated in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.20.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Of course, if it is possible, all the 28 experiments should be conducted in a random order. &lt;br /&gt;
&lt;br /&gt;
===Model with Process Variables===&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, regression models including both mixture components and process variables are available. For mixture components, we use L-pseudocomponent values, and for process variables coded values are used. &lt;br /&gt;
&lt;br /&gt;
Assume a design has 3 mixture components and 2 process variables, as illustrated in the above figure. We can use the following models for them. &lt;br /&gt;
&lt;br /&gt;
*For the 3 mixture components, the following special cubic model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For the 2 process variables the following model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\alpha }_{0}}+{{\alpha }_{1}}{{z}_{1}}+{{\alpha }_{2}}{{z}_{2}}+{{\alpha }_{12}}{{z}_{1}}{{z}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The combined model with both mixture components and process variables is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\sum\limits_{i=1}^{3}{\gamma _{i}^{0}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{0}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{1}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{1}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{2}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{2}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{12}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{12}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above combined model has total of 7x4=28 terms. By expanding it, we get the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\gamma _{1}^{0}{{x}_{1}}+\gamma _{2}^{0}{{x}_{2}}+\gamma _{3}^{0}{{x}_{3}}+\gamma _{12}^{0}{{x}_{1}}{{x}_{2}}+\gamma _{13}^{0}{{x}_{1}}{{x}_{3}}+\gamma _{23}^{0}{{x}_{2}}{{x}_{3}}+\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{1}{{x}_{1}}{{z}_{1}}+\gamma _{2}^{1}{{x}_{2}}{{z}_{1}}+\gamma _{3}^{1}{{x}_{3}}{{z}_{1}}+\gamma _{12}^{1}{{x}_{1}}{{x}_{2}}{{z}_{1}}+\gamma _{13}^{1}{{x}_{1}}{{x}_{3}}{{z}_{1}}+\gamma _{23}^{1}{{x}_{2}}{{x}_{3}}{{z}_{1}}+\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{2}{{x}_{1}}{{z}_{2}}+\gamma _{2}^{2}{{x}_{2}}{{z}_{2}}+\gamma _{3}^{2}{{x}_{3}}{{z}_{2}}+\gamma _{12}^{2}{{x}_{1}}{{x}_{2}}{{z}_{2}}+\gamma _{13}^{2}{{x}_{1}}{{x}_{3}}{{z}_{2}}+\gamma _{23}^{2}{{x}_{2}}{{x}_{3}}{{z}_{2}}+\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{12}{{x}_{1}}{{z}_{1}}{{z}_{2}}+\gamma _{2}^{12}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{3}^{12}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{12}^{12}{{x}_{1}}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{13}^{12}{{x}_{1}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{23}^{12}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The combined model basically crosses every term in the mixture components model with every term in the process variables model. From a mathematical point of view, this model is just a regular regression model. Therefore, the traditional regression analysis method can still be used for obtaining the model coefficients and calculating the ANOVA table.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Three kinds of meats (beef, pork and lamb) are mixed together to form burger patties. The meat comprises 90% of the total mixture, with the remaining 10% reserved for flavoring ingredients. A {3, 2} simplex design with the center point is used for the experiment. The design has 7 meat combinations, which are given below using L-pseudocomponent values. &lt;br /&gt;
	&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	1&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two process variables on making the patties are also studied: cooking temperature and cooking time. The low and high temperature values are 375°F and 425°F, and the low and high time values are 25 and 40 minutes. A two level full factorial design is used and displayed below with coded values. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Temperature&lt;br /&gt;
!Time&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
One of the properties of the burger patties is texture. The texture is measured by a compression test that measures the grams of force required to puncture the surface of the patty. &lt;br /&gt;
&lt;br /&gt;
Combining the simplex design and the factorial design together, we get the following 28 runs. The corresponding texture reading for each blend is also provided. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Standard Order&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
!Z1: Temperature&lt;br /&gt;
!Z2: Time&lt;br /&gt;
!Texture (&amp;lt;math&amp;gt;10^3\,\!&amp;lt;/math&amp;gt; gram)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	0||	0||	-1||	-1||	1.84&lt;br /&gt;
|-&lt;br /&gt;
|2||	0.5||	0.5||	0||	-1||	-1||	0.67&lt;br /&gt;
|-&lt;br /&gt;
|3||	0.5||	0||	0.5||	-1||	-1||	1.51&lt;br /&gt;
|-&lt;br /&gt;
|4||	0||	1||	0||	-1||	-1||	1.29&lt;br /&gt;
|-&lt;br /&gt;
|5||	0||	0.5||	0.5||	-1||	-1||	1.42&lt;br /&gt;
|-&lt;br /&gt;
|6||	0||	0||	1||	-1||	-1||	1.16&lt;br /&gt;
|-&lt;br /&gt;
|7||	0.333||	0.333||	0.333||	-1||	-1||	1.59&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	0||	0||	1||	-1||	2.86&lt;br /&gt;
|-&lt;br /&gt;
|9||	0.5||	0.5||	0||	1||	-1||	1.1&lt;br /&gt;
|-&lt;br /&gt;
|10||	0.5||	0||	0.5||	1||	-1||	1.6&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	1||	0||	1||	-1||	1.53&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0.5||	0.5||	1||	-1||	1.81&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	1||	1||	-1||	1.5&lt;br /&gt;
|-&lt;br /&gt;
|14||	0.333||	0.333||	0.333||	1||	-1||	1.68&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	0||	0||	-1||	1||	3.01&lt;br /&gt;
|-&lt;br /&gt;
|16||	0.5||	0.5||	0||	-1||	1||	1.21&lt;br /&gt;
|-&lt;br /&gt;
|17||	0.5||	0||	0.5||	-1||	1||	2.32&lt;br /&gt;
|-&lt;br /&gt;
|18||	0||	1||	0||	-1||	1||	1.93&lt;br /&gt;
|-&lt;br /&gt;
|19||	0||	0.5||	0.5||	-1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|20||	0||	0||	1||	-1||	1||	1.83&lt;br /&gt;
|-&lt;br /&gt;
|21||	0.333||	0.3333||	0.333||	-1||	1||	1.94&lt;br /&gt;
|-&lt;br /&gt;
|22||	1||	0||	0||	1||	1||	4.13&lt;br /&gt;
|-&lt;br /&gt;
|23||	0.5||	0.5||	0||	1||	1||	1.67&lt;br /&gt;
|-&lt;br /&gt;
|24||	0.5||	0||	0.5||	1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|25||	0||	1||	0||	1||	1||	2.26&lt;br /&gt;
|-&lt;br /&gt;
|26||	0||	0.5||	0.5||	1||	1||	3.15&lt;br /&gt;
|-&lt;br /&gt;
|27||	0||	0||	1||	1||	1||	2.22&lt;br /&gt;
|-&lt;br /&gt;
|28||	0.333||	0.333||	0.333||	1||	1||	2.6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a quadratic model for the mixture component and a 2-way interaction model for the process variables, we get the following results. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot;  &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;|| 2.9421|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;|| 	1.7346|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;|| 	1.6596|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;|| 	-4.4170|| 	0.5680|| 	-7.7766|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0015 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|A • C|| 	-0.9170|| 	0.5680|| 	-1.6146|| 	0.1817|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;|| 	2.4480|| 	0.5680|| 	4.3099|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0125 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;|| 	0.5324|| 	0.1236|| 	4.3084|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0126 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B|| 	0.1399|| 	0.1236|| 	1.1319|| 	0.3209|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • C|| 	0.1799|| 	0.1236|| 	1.4557|| 	0.2192|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • B|| 	-0.4123|| 	0.5680|| 	-0.7260|| 	0.5081|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • C|| 	-1.0423|| 	0.5680|| 	-1.8352|| 	0.1404|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B • C|| 	0.3727|| 	0.5680|| 	0.6561|| 	0.5476|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;|| 	0.6193|| 	0.1236|| 	5.0117|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0074 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;|| 	0.3518|| 	0.1236|| 	2.8468|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0465 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;|| 	0.3568|| 	0.1236|| 	2.8873|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0447 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • B|| 	-0.9802|| 	0.5680|| 	-1.7258|| 	0.1595|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • C|| 	-0.3202|| 	0.5680|| 	-0.5638|| 	0.6030|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • B • C|| 	0.9248|| 	0.5680|| 	1.6282|| 	0.1788|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A|| 	0.0177|| 	0.1236|| 	0.1433|| 	0.8930|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B|| 	0.0152|| 	0.1236|| 	0.1231|| 	0.9080|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • C|| 	0.0052|| 	0.1236|| 	0.0422|| 	0.9684|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • B|| 	0.0808|| 	0.5680|| 	0.1423|| 	0.8937|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • C|| 	0.2308|| 	0.5680|| 	0.4064|| 	0.7052|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B • C|| 	0.2658|| 	0.5680|| 	0.4680|| 	0.6641|| 	1.5695&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows that all the terms with &amp;lt;math&amp;gt;{{z}_{1}}\times {{z}_{2}}\,\!&amp;lt;/math&amp;gt; have very large P values, therefore, we can remove these terms from the model. We can also remove other terms with P values larger than 0.5. After recalculating with the desired terms, the final results are&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;||	2.9421||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;||	1.7346||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;||	1.6596||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||	-4.4170||	0.4023||	-10.9782|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 6.0305E-08 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;||	-0.9170||	0.4023||	-2.2792|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0402 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||	2.4480||	0.4023||	6.0842|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.8782E-05 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||	0.4916||	0.0799||	6.1531|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.4705E-05 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt;||	0.1365||	0.0725||	1.8830|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0823 &amp;lt;/span&amp;gt;||	1.0971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||	0.2176||	0.0799||	2.7235|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0174 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||	-1.0406||	0.4015||	-2.5916|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0224 &amp;lt;/span&amp;gt;||	1.5631&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||	0.5910||	0.0800||	7.3859|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 5.3010E-06 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||	0.3541||	0.0875||	4.0475|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0014 &amp;lt;/span&amp;gt;||	1.5971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||	0.3285||	0.0800||	4.1056|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0012 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||	-0.9654||	0.4019||	-2.4020|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0320 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||	0.9396||	0.4019||	2.3378|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0360 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The regression model is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=2.9421{{x}_{1}}+1.7346{{x}_{2}}+1.6596{{x}_{3}}-4.4170{{x}_{1}}{{x}_{2}}-0.9170{{x}_{1}}{{x}_{3}}+2.4480{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +0.4916{{x}_{1}}{{z}_{1}}+0.1365{{x}_{2}}{{z}_{1}}+0.2176{{x}_{3}}{{z}_{1}}-1.0406{{x}_{1}}{{x}_{3}}{{z}_{1}}+0.5910{{x}_{1}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.3541{{x}_{2}}{{z}_{2}}+0.3285{{x}_{3}}{{z}_{2}}-0.9654{{x}_{1}}{{x}_{2}}{{z}_{2}}+0.9396{{x}_{2}}{{x}_{3}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ANOVA table for this model is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;  &lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background: #CCCCCC;&amp;quot;|ANOVA Table&lt;br /&gt;
|-&lt;br /&gt;
!Source of Variation||Degrees of Freedom||Sum of Squares [Partial]||	Mean Squares [Partial]||	F Ratio||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Model&amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	14||style=&amp;quot;text-align: center&amp;quot;|	14.5066||style=&amp;quot;text-align: center&amp;quot;|	1.0362||	style=&amp;quot;text-align: center&amp;quot;|33.5558||style=&amp;quot;text-align: center&amp;quot;|	6.8938E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component Only	 || || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Linear &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	2||style=&amp;quot;text-align: center&amp;quot;|	4.1446||style=&amp;quot;text-align: center&amp;quot;|	2.0723||style=&amp;quot;text-align: center&amp;quot;|	67.1102||style=&amp;quot;text-align: center&amp;quot;|	1.4088E-07&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	120.5208||style=&amp;quot;text-align: center&amp;quot;|	6.0305E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	5.1949||style=&amp;quot;text-align: center&amp;quot;|	0.0402&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	37.0173	||style=&amp;quot;text-align: center&amp;quot;|3.8782E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z1||	 || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	37.8604||style=&amp;quot;text-align: center&amp;quot;|	3.4705E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	3.5456||style=&amp;quot;text-align: center&amp;quot;|	0.0823&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	7.4172||style=&amp;quot;text-align: center&amp;quot;|	0.0174&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	6.7165||style=&amp;quot;text-align: center&amp;quot;|	0.0224&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z2|| || || || ||	 	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.6845||style=&amp;quot;text-align: center&amp;quot;|	1.6845||	style=&amp;quot;text-align: center&amp;quot;|54.5517||style=&amp;quot;text-align: center&amp;quot;|	5.3010E-06&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	16.3819||style=&amp;quot;text-align: center&amp;quot;|	0.0014&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	16.8556||style=&amp;quot;text-align: center&amp;quot;|	0.0012&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	5.7698||style=&amp;quot;text-align: center&amp;quot;|	0.0320&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	5.4651||style=&amp;quot;text-align: center&amp;quot;|	0.0360&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Residual ||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309|| ||	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Lack of Fit||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309	 ||	|| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Total||style=&amp;quot;text-align: center&amp;quot;|	27||style=&amp;quot;text-align: center&amp;quot;|	14.9080|| || || 	 	 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows both process factors have significant effects on the texture of the patties. Since the model is pretty complicate, the best settings for the process variables and for components cannot be easily identified. &lt;br /&gt;
&lt;br /&gt;
The optimization tool in the DOE folio is used for the above model. The target texture value is &amp;lt;math&amp;gt;3\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams with an acceptable range of &amp;lt;math&amp;gt;2.5-3.5\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.21.png|600 px|center]]&lt;br /&gt;
&lt;br /&gt;
The optimal solution is Beef = 98.5%, Pork = 0.7%, Lamb = 0.7%, Temperature = 375.7, and Time = 40.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1.	Cornell, John (2002), Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data, John Wiley &amp;amp; Sons, Inc. New York.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
2.	Piepel, G. F. (1983), “Defining consistent constraint regions in mixture experiments,” Technometrics, Vol. 25, pp. 97-101. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
3.	Snee, R. D. (1979), “Experimental designs for mixture systems with multiple component constraints,” Communications in Statistics, Theory and Methods, Bol. A8, pp. 303-326.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65204</id>
		<title>Mixture Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65204"/>
		<updated>2017-08-10T17:00:03Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Model with Process Variables */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|14}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
When a product is formed by mixing together two or more ingredients, the product is called a mixture, and the ingredients are called mixture components. In a general mixture problem, the measured response is assumed to depend only on the proportions of the ingredients in the mixture, not the amount of the mixture. For example, the taste of a fruit punch recipe (i.e., the response) might depend on the proportions of watermelon, pineapple and orange juice in the mixture. The taste of a small cup of fruit punch will obviously be the same as a big cup.&lt;br /&gt;
&lt;br /&gt;
Sometimes the responses of a mixture experiment depend not only on the proportions of ingredients, but also on the settings of variables in the process of making the mixture. For example, the tensile strength of stainless steel is not only affected by the proportions of iron, copper, nickel and chromium in the alloy; it is also affected by process variables such as temperature, pressure and curing time used in the experiment. &lt;br /&gt;
&lt;br /&gt;
One of the purposes of conducting a mixture experiment is to find the best proportion of each component and the best value of each process variable, in order to optimize a single response or multiple responses simultaneously. In this chapter, we will discuss how to design effective mixture designs and how to analyze data from mixture experiments with and without process variables. &lt;br /&gt;
&lt;br /&gt;
==Mixture Design Types==&lt;br /&gt;
&lt;br /&gt;
There are several different types of mixture designs. The most common ones are simplex lattice, simplex centroid, simplex axial and extreme vertex designs, each of which is used for a different purpose. &lt;br /&gt;
&lt;br /&gt;
*If there are many components in a mixture, the first choice is to screen out the most important ones. Simplex axial and Simplex centroid designs are used for this purpose. &lt;br /&gt;
*If the number of components is not large, but a high order polynomial equation is needed in order to accurately describe the response surface, then a simplex lattice design can be used.&lt;br /&gt;
*Extreme vertex designs are used for the cases when there are constraints on one or more components (e.g., if the proportion of watermelon juice in a fruit punch recipe is required to be less than 30%, and the combined proportion of watermelon and orange juice should always be between 40% and 70%).  &lt;br /&gt;
&lt;br /&gt;
===Simplex Plot===&lt;br /&gt;
&lt;br /&gt;
Since the sum of all the mixture components is always 100%, the experiment space usually is given by a plot. The experiment space for the fruit punch experiment is given in the following triangle or simplex plot. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.1.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
The triangle area in the above plot is defined by the fact that the sum of the three ingredients is 1 (100%). For the points that are on the vertices, the punch only has one ingredient. For instance, point 1 only has watermelon. The line opposite of point 1 represents a mixture with no watermelon . &lt;br /&gt;
&lt;br /&gt;
The coordinate system used for the value of each ingredient &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;i=1,2,...,q\,\!&amp;lt;/math&amp;gt; is called a simplex coordinate system. q is the number of ingredients. The simplex plot can only visually display three ingredients. If there are more than three ingredients, the values for other ingredients must be provided. For the fruit punch example, the coordinate for point 1 is (1, 0, 0). The interior points of the triangle represent mixtures in which none of the three components is absent. It means all &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;i=1,2,3\,\!&amp;lt;/math&amp;gt;. Point 0 in the middle of the triangle is called the center point. In this case, it is the centroid of a face/plane. The coordinate for point 0 is (1/3, 1/3, 1/3). Points 2, 4 and 6 are each called a centroid of edge. Their coordinates are (0.5, 0.5, 0), (0, 0.5, 0.5), and (0.5, 0, 0.5).&lt;br /&gt;
&lt;br /&gt;
===Simplex Lattice Design===&lt;br /&gt;
&lt;br /&gt;
The response in a mixture experiment usually is described by a polynomial function. This function represents how the components affect the response. To better study the shape of the response surface, the natural choice for a design would be the one whose points are spread evenly over the whole simplex. An ordered arrangement consisting of a uniformly spaced distribution of points on a simplex is known as a lattice. &lt;br /&gt;
&lt;br /&gt;
A {q, m} simplex lattice design for q components consists of points defined by the following coordinate settings: the proportions assumed by each component take the m+1 equally spaced values from 0 to 1, &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{m},\frac{2}{m},....,1\text{      }i=1,2,....,q\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the design space consists of all the reasonable combinations of all the values for each factor. m is usually called the degree of the lattice. For example, for a {3, 2} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{2},1\,\!&amp;lt;/math&amp;gt; and its design space has 6 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.2.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
For a {3, 3} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{3},\frac{2}{3},1\,\!&amp;lt;/math&amp;gt;, and its design space has 10 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.3.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
For a simplex design with degree of m, each component has m + 1 different values, therefore, the experiment results can be used to fit a polynomial equation up to an order of m. A {3, 3} simplex lattice design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the full cubic model. Note that the intercept term is not included in the model due to the correlation between all the components (their sum is 100%). &lt;br /&gt;
&lt;br /&gt;
Simplex lattice design includes all the component combinations. For a {q, m} design, the total number of runs is &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q+m-1 \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;. Therefore to reduce the number of runs and still be able to fit a high order polynomial model, sometimes we can use simplex centroid design which is explained next.&lt;br /&gt;
&lt;br /&gt;
===Simplex Centroid Design===&lt;br /&gt;
&lt;br /&gt;
A simplex centroid design only includes the centroid points. For the components that appear in a run in a simplex centroid design, they have the same values. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.4.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
In the above simplex plot, points 2, 4 and 6 are 2nd degree centroids. Each of them has two non-zero components with equal values. Point 0 is a 3rd degree centroid and all three components have the same value. For a design with q components, the highest degree of centroid is q. It is called the overall centroid, or the center point of the design. &lt;br /&gt;
&lt;br /&gt;
For a q component simplex centroid design with a degree of centroid of q, the total number of runs is &lt;br /&gt;
&amp;lt;math&amp;gt;{{2}^{q}}-1\,\!&amp;lt;/math&amp;gt;. The runs correspond to the q permutations of (1, 0, 0,…, 0), &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/2, 1/2, 0, 0, 0, 0, …,0), the &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 3 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/3, 1/3, 1/3, 0, 0, 0, 0,…, 0)…., and the overall centroid (1/q, 1/q, …, 1/q).  If the degree of centroid is defined as &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; (m &amp;lt; q), then the total number of runs will be &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 1 \\ &lt;br /&gt;
\end{align} \right)+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)+...+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since a simplex centroid design usually has fewer runs than a simplex lattice design with the same degree, a polynomial model with fewer terms should be used. A {3, 3} simplex centroid design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the special cubic model. Note that the intercept term is not included due to the correlation between all the components (their sum is 100%).&lt;br /&gt;
&lt;br /&gt;
===Simplex Axial Design===&lt;br /&gt;
&lt;br /&gt;
The simplex lattice and simplex centroid designs are boundary designs since the points of these designs are positioned on boundaries (vertices, edges, faces, etc.) of the simplex factor space, with the exception of the overall centroid. Axial designs, on the other hand, are designs consisting mainly of the points positioned inside the simplex. Axial designs have been recommended for use when component effects are to be measured in a screening experiment, particularly when first degree models are to be fitted. &lt;br /&gt;
&lt;br /&gt;
Definition of Axial: The axial of a component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; is defined as the imaginary line extending from the base point &amp;lt;math&amp;gt;{{x}_{i}}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{x}_{j}}=1/\left( q-1 \right)\,\!&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;, to the vertex where &amp;lt;math&amp;gt;{{x}_{i}}=1,{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;. [John Cornell]    &lt;br /&gt;
&lt;br /&gt;
In a simplex axial design, all the points are on the axial. The simplest form of axial design is one whose points are positioned equidistant from the overall centroid &amp;lt;math&amp;gt;\left( {1}/{q,{1}/{q,}\;{1}/{q,}\;...}\; \right)\,\!&amp;lt;/math&amp;gt;. Traditionally, points located at the half distance from the overall centroid to the vertex are called axial points/blends. This is illustrated in the following plot.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.5.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 4, 5 and 6 are the axial blends. &lt;br /&gt;
&lt;br /&gt;
By default, a simple axial design in a DOE folio only has vertices, axial blends, centroid of the constraint planes and the overall centroid. For a design with q components, constraint plane centroids are the center points of dimension of q-1 space. One component is 0, and the remaining components have the same values for the center points of constraint planes. The number of the constraint plane centroids is the number of components q. The total number of runs in a simple axial design will be 3q+1. They are q vertex runs, q centroids of constraint planes, q axial blends and 1 overall centroid. &lt;br /&gt;
&lt;br /&gt;
A simplex axial design for 3 components has 10 points as given below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.6.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 1, 2 and 3 are the three vertices; points 4, 5, 6 are the axial blends; points 7, 8 and 9 are the centroids of constraint planes, and point 0 is the overall center point.&lt;br /&gt;
&lt;br /&gt;
===Extreme Vertex Design===&lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs are used when both lower and upper bound constraints on the components are presented, or when linear constraints are added to several components. For example, if a mixture design with 3 components has the following constraints:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;{{x}_{2}}\le 0.7\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;-2{{x}_{1}}+2{{x}_{2}}+3{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;48{{x}_{1}}+13{{x}_{2}}-{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the feasible region is defined by the six points in the following simplex plot. To meet the above constraints, all the runs conducted in the experiment should be in the feasible region or on its boundary. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.7.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The CONSIM method described in [Snee 1979] is used in a Weibull++ DOE folio to check the consistency of all the constraints and to get the vertices defined by them. &lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs by default use the vertices at the boundary. Additional points such as the centroid of spaces of different dimensions, axial points and the overall center point can be added. In extreme vertex designs, axial points are between the overall center point and the vertices.  For the above example, if the axial points and the overall center point are added, then all the runs in the experiment will be:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.8.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Point 0 in the center of the feasible region is the overall centroid. The other red points are the axial points. They are at the middle of the lines connecting the center point with the vertices.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design Data Analysis==&lt;br /&gt;
&lt;br /&gt;
In the following section, we will discuss the most popular regression models in mixture design data analysis. Due to the correlation between all the components in mixture designs, the intercept term usually is not included in the regression model. &lt;br /&gt;
&lt;br /&gt;
===Models Used in Mixture Design===&lt;br /&gt;
&lt;br /&gt;
For a design with three components, the following models are commonly used.&lt;br /&gt;
&lt;br /&gt;
*Linear model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the intercept were included in the model, then the linear model would be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=\beta _{0}^{&#039;}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, since &amp;lt;math&amp;gt;{{x}_{1}}+{{x}_{2}}+{{x}_{3}}=1\,\!&amp;lt;/math&amp;gt; (can be other constants as well), the above equation can be written as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\beta _{0}^{&#039;}\left( {{x}_{1}}+{{x}_{2}}+{{x}_{3}} \right)+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; =\left( \beta _{0}^{&#039;}+\beta _{1}^{&#039;} \right){{x}_{1}}+\left( \beta _{0}^{&#039;}+\beta _{2}^{&#039;} \right){{x}_{2}}+\left( \beta _{0}^{&#039;}+\beta _{3}^{&#039;} \right){{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equation has thus been reformatted to omit the intercept. &lt;br /&gt;
&lt;br /&gt;
*Quadratic model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are no classic quadratic terms such as &amp;lt;math&amp;gt;x_{1}^{2}\,\!&amp;lt;/math&amp;gt;. This is because &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x_{1}^{2}={{x}_{1}}\left( 1-{{x}_{2}}-{{x}_{3}} \right)={{x}_{1}}-{{x}_{1}}{{x}_{2}}-{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Full cubic model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Special cubic model: &amp;lt;math&amp;gt;{{\delta }_{ij}}{{x}_{i}}{{x}_{j}}\left( {{x}_{i}}-{{x}_{j}} \right)\,\!&amp;lt;/math&amp;gt; are removed from the full cubic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above types of models are called Scheffe type models. They can be extended to designs with more than three components. &lt;br /&gt;
&lt;br /&gt;
In regular regression analysis, the effect of an exploratory variable or factor is represented by the value of the coefficient. The ratio of the estimated coefficient and its standard error is used for the t-test. The t-test can tell us if a coefficient is 0 or not. If a coefficient is statistically 0, then the corresponding factor has no significant effect on the response. However, for Scheffe type models, since the intercept term is not included in the model, we cannot use the regular t-test to test each individual main effect. In other words, we cannot test if the coefficient for each component is 0 or not. &lt;br /&gt;
&lt;br /&gt;
Similarly, in the ANOVA analysis, the linear effects of all the components are tested together as a single group. The main effect test for each individual component is not conducted.  To perform ANOVA analysis, the Scheffe type model needs to be reformatted to include the hidden intercept. For example, the linear model&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
can be rewritten as&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}\left( 1-{{x}_{1}}-{{x}_{2}} \right) \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{3}}+\left( {{\beta }_{1}}-{{\beta }_{3}} \right){{x}_{1}}+\left( {{\beta }_{2}}-{{\beta }_{3}} \right){{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{0}}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\beta }_{0}}={{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{1}^{&#039;}={{\beta }_{1}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{2}^{&#039;}={{\beta }_{2}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;. All other models such as the quadratic, cubic and special cubic model can be reformatted using the same procedure. By including the intercept in the model, the correct sum of squares can be calculated in the ANOVA table. If ANOVA analysis is conducted directly using the Scheffe type models, the result will be incorrect.&lt;br /&gt;
&lt;br /&gt;
===L-Pseudocomponent, Proportion, and Actual Values===&lt;br /&gt;
&lt;br /&gt;
In mixture designs, the total amount of the mixture is usually given. For example, we can make either a one-pound or a two-pound cake. Regardless of whether the cake is one or two pounds, the proportion of each ingredient is the same. When the total amount is given, the upper and lower limits for each ingredient are usually given in amounts, which is easier for the experimenter to understand. Of course, if the limits or other constraints are given in terms of proportions, these proportions need be converted to the real amount values when conducting the experiment. To keep everything consistent, all the constraints in a DOE folio are treated as amounts.&lt;br /&gt;
&lt;br /&gt;
In regular factorial design and response surface methods, the regression model is calculated using coded values. Coded values scale all the factors to the same magnitude, which makes the analysis much easier and reduces convergence error. Similarly, the analysis in mixture design is conducted using the so-called L-pseudocomponent value. L-pseudocomponent values scale all the components&#039; values within 0 and 1. In a DOE folio all the designs and calculations for mixture factors are based on L-pseudocomponent values. The relationship between L-pseudocomponent values, proportions and actual amounts are explained next. &lt;br /&gt;
&lt;br /&gt;
====Example for L-Pseudocomponent Value====&lt;br /&gt;
&lt;br /&gt;
We are going to make one gallon (about 3.8 liters) of fruit punch. Three ingredients will be in the punch with the following constraints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_{i}^{A}\,\!&amp;lt;/math&amp;gt; (i = 1, 2, 3) be the actual amount value, &amp;lt;math&amp;gt;x_{i}^{{}}\,\!&amp;lt;/math&amp;gt; be the L-pseudocomponent value and &amp;lt;math&amp;gt;x_{i}^{R}\,\!&amp;lt;/math&amp;gt; be the proportion value. Then the equations for the conversion between them are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=\frac{x_{i}^{A}-{{l}_{i}}}{\left( T-\sum\limits_{j=1}^{p}{{{l}_{j}}} \right)}\,\!&amp;lt;/math&amp;gt;,	  &amp;lt;math&amp;gt;x_{i}^{A}={{l}_{i}}+\left( T-\sum\limits_{j=1}^{p}{{{l}_{i}}} \right){{x}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{i}^{R}=\frac{x_{i}^{A}}{T}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{1}^{A}\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;x_{1}^{R}\,\!&amp;lt;/math&amp;gt; are for component A, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}^{R}\,\!&amp;lt;/math&amp;gt; are for component B, and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{3}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{3}^{R}\,\!&amp;lt;/math&amp;gt; are for component C. &lt;br /&gt;
&lt;br /&gt;
Since components in this example have both lower and upper limit constraints, an extreme vertex design is used. The design settings are given below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.9.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The created design in terms of L-pseudocomponent values is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.10.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in amount values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.11.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in proportion values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.12.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
====Check Constraint Consistency====&lt;br /&gt;
&lt;br /&gt;
In the above example, all the constraints are consistent. However, if we set the constraints to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then they are not consistent. This is because the total is only 3.8, but the sum of all the lower limits is 4.7. Therefore, not all the lower limits can be satisfied at the same time. If only lower limits and upper limits are presented for all the components, then we can adjust the lower bounds to make the constraints consistent. The method given by [Pieple 1983] is used and summarized below.&lt;br /&gt;
&lt;br /&gt;
Defined the range of a component to be &amp;lt;math&amp;gt;{{R}_{i}}={{U}_{i}}-{{L}_{i}}\,\!&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;{{U}_{i}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{i}}\,\!&amp;lt;/math&amp;gt; are the upper and lower limit for component i. The implied range of component i is  &lt;br /&gt;
&amp;lt;math&amp;gt;R_{i}^{*}=U_{i}^{*}-L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;L_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{U}_{i}}}\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;U_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{L}_{i}}}\,\!&amp;lt;/math&amp;gt;. T is the total amount. The steps for checking and adjusting bounds are given below. &lt;br /&gt;
&lt;br /&gt;
Step 1:  Check if &amp;lt;math&amp;gt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt; are greater than 0, if they are, then these constraints meet the basic requirement to be consistent. We can move forward to step 2. If not, these constraints cannot be adjusted to be consistent. We should stop. &lt;br /&gt;
&lt;br /&gt;
Step 2: For each component, check if &amp;lt;math&amp;gt;{{L}_{i}}\ge L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{U}_{i}}\le U_{i}^{*}\,\!&amp;lt;/math&amp;gt;. If they are, then this component’s constraints are consistent. Otherwise, if &amp;lt;math&amp;gt;{{L}_{i}}&amp;lt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{L}_{i}}=L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;{{U}_{i}}&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{U}_{i}}=U_{i}^{*}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Step 3: Whenever a bound is changed, restart from Step 1 to use the new bound to check if all the constraints are consistent. Repeat this until all the limits are consistent. &lt;br /&gt;
 &lt;br /&gt;
For extreme vertex design where linear constraints are allowed, the DOE folio will give a warning and stop creating the design if inconsistent linear combination constraints are found. No adjustment will be conducted for linear constraints.&lt;br /&gt;
&lt;br /&gt;
===Response Trace Plot===&lt;br /&gt;
&lt;br /&gt;
Due to the correlation between all the components, the regular t-test is not used to test the significance of each component. A special plot called the Response Trace Plot can be used to see how the response changes when each component changes from its reference point [John Cornell]. &lt;br /&gt;
&lt;br /&gt;
A reference point can be any point inside the experiment space. An imaginary line can be drawn from this reference point to each vertex &amp;lt;math&amp;gt;{{x}_{i}}=1\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;i\ne j\,\!&amp;lt;/math&amp;gt;). This line is the direction for component i to change. Component i can either increase or decrease its value along this line, while the ratio of other components &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j,k\ne i\,\!&amp;lt;/math&amp;gt;) will keep constant. If the simplex plot is defined in terms of proportion, then the direction is called Cox’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; is the ratio of proportion. If the simplex plot is defined in terms of pseduocomponent value, then the direction is called Pieple’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; will be the ratio of pseduocomponent values. &lt;br /&gt;
&lt;br /&gt;
Assume the reference point in terms of proportion is &amp;lt;math&amp;gt;s=\left( {{s}_{1}},{{s}_{2}},...,{{s}_{q}} \right)\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{s}_{1}}+{{s}_{2}}+...+{{s}_{q}}=1\,\!&amp;lt;/math&amp;gt;. Suppose the proportion of component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; is now changed by &amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; could be greater than or less than 0) in Cox’s direction, so that the new proportion becomes &amp;lt;math&amp;gt;{{x}_{i}}={{s}_{i}}+{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the proportions of the remaining &amp;lt;math&amp;gt;q-1\,\!&amp;lt;/math&amp;gt; components resulting from the change from &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; will be&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{j}}={{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the change, the ratio of component j and k is unchanged. This is because&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{{{x}_{j}}}{{{x}_{k}}}=\frac{{{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}}{{{s}_{k}}-\frac{{{\Delta }_{i}}{{s}_{k}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\frac{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
While &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; is changed along Cox’s direction, we can use a fitted regression model to get the response value y.  A response trace plot for a mixture design with three components will look like &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.13.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The x-axis is the deviation amount from the reference point, and the y-value is the fitted response. Each component has one curve. Since the red curve for component A changes significantly, this means it has a significant effect along its axial. The blue curve for component C is almost flat; this means when C changes along Cox’s direction and other components keep the same ratio, the response Y does not change very much. The effect of component B is between component A and C.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Watermelon (A), pineapple (B) and orange juice (C) are used for making 3.8 liters of fruit punch. At least 30% of the fruit punch must be watermelon. Therefore the constraints are&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.14\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le B\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Different blends of the three-juice recipe were evaluated by a panel. A value from 1 (extremely poor) to 9 (very good) is used for the response [John Cornell, page 74]. A {3, 2} simplex lattice design is used with one center point and three axial points. Three replicates were conducted for each ingredient combination. The settings for creating this design in a DOE folio is &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe_14.14.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The generated design in L-pseudocomponent values and the response values from the experiment are&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.15.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The simplex design point plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.16.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Main effect and 2-way interactions are included in the regression model. The result for the regression model in terms of L-pseudocomponents is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=4.81{{x}_{1}}+6.03{{x}_{2}}+6.16{{x}_{3}}+1.13{{x}_{1}}{{x}_{2}}+2.45{{x}_{1}}{{x}_{3}}+1.69{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression information table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;8&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Regression Information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Term&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Coefficient&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard Error&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Low Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | High Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | T Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A: Watermelon&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8093&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.2845&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.3340&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B: Pineapple&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0274&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.5027&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5522&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | C: Orange&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.1577&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.6330&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.6825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1253&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -1.2934&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.5439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.7960&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.4525&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.0339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8712&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.7348&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.6889&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -0.7298&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.1075&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1947&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows that the taste of the fruit punch is significantly affected by the interaction between watermelon and orange. &lt;br /&gt;
&lt;br /&gt;
The ANOVA table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Anova Table&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Source of Variation&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Degrees of Freedom&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard ErrorSum of Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Mean Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | F Ratio&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Model &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5517&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.3103&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.3181&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0061 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Linear &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.6513&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.8256&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0162&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0076 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.6336&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.0097&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4272&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
|-&lt;br /&gt;
| Residual&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.2829&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3035&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Lack of Fit &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.4563&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1141&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.8825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0006 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | Pure Error&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.8267&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1413&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13.8347&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|} 	 &lt;br /&gt;
&lt;br /&gt;
The simplex contour plot in L-pseudocomponent values is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.17.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
From this plot we can see that as the amount of watermelon is reduced, the taste of the fruit punch becomes better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to find the best proportion of each ingredient, the optimization tool in the Weibull++ DOE folio can be utilized. Set the settings as&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.18.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The resulting optimal plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.19.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
This plot shows that when the amounts for watermelon, pineapple and orange juice are 1.141, 1.299 and 1.359, respectively, the rated taste of the fruit punch is highest.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design with Process Variables==&lt;br /&gt;
&lt;br /&gt;
Process variables often play very important roles in mixture experiments. A simple example is baking a cake. Even with the same ingredients, different baking temperatures and baking times can produce completely different results. In order to study the effect of process variables and find their best settings, we need to consider them when conducting a mixture experiment. &lt;br /&gt;
&lt;br /&gt;
An easy way to do this is to make mixtures with the same ingredients in different combinations of process variables. If all the process variables are independent, then we can plan a regular factorial design for these process variables. By combining these designs with a separated mixture design, the effect of mixture components and effect of process variables can be studied. &lt;br /&gt;
&lt;br /&gt;
For example, a {3, 2} simplex lattice design is used for a mixture with 3 components. Together with the center point, it has total of 7 runs or 7 different ingredient combinations. Assume 2 process variables are potentially important and a two level factorial design is used for them. It has a total of 4 combinations for these 2 process variables. If the 7 different mixtures are made under each of the 4 process variable combinations, then the experiment has a total of 28 runs. This is illustrated in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.20.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Of course, if it is possible, all the 28 experiments should be conducted in a random order. &lt;br /&gt;
&lt;br /&gt;
===Model with Process Variables===&lt;br /&gt;
&lt;br /&gt;
In a DOE folio, regression models including both mixture components and process variables are available. For mixture components, we use L-pseudocomponent values, and for process variables coded values are used. &lt;br /&gt;
&lt;br /&gt;
Assume a design has 3 mixture components and 2 process variables, as illustrated in the above figure. We can use the following models for them. &lt;br /&gt;
&lt;br /&gt;
*For the 3 mixture components, the following special cubic model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For the 2 process variables the following model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\alpha }_{0}}+{{\alpha }_{1}}{{z}_{1}}+{{\alpha }_{2}}{{z}_{2}}+{{\alpha }_{12}}{{z}_{1}}{{z}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The combined model with both mixture components and process variables is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\sum\limits_{i=1}^{3}{\gamma _{i}^{0}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{0}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{1}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{1}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{2}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{2}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{12}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{12}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above combined model has total of 7x4=28 terms. By expanding it, we get the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\gamma _{1}^{0}{{x}_{1}}+\gamma _{2}^{0}{{x}_{2}}+\gamma _{3}^{0}{{x}_{3}}+\gamma _{12}^{0}{{x}_{1}}{{x}_{2}}+\gamma _{13}^{0}{{x}_{1}}{{x}_{3}}+\gamma _{23}^{0}{{x}_{2}}{{x}_{3}}+\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{1}{{x}_{1}}{{z}_{1}}+\gamma _{2}^{1}{{x}_{2}}{{z}_{1}}+\gamma _{3}^{1}{{x}_{3}}{{z}_{1}}+\gamma _{12}^{1}{{x}_{1}}{{x}_{2}}{{z}_{1}}+\gamma _{13}^{1}{{x}_{1}}{{x}_{3}}{{z}_{1}}+\gamma _{23}^{1}{{x}_{2}}{{x}_{3}}{{z}_{1}}+\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{2}{{x}_{1}}{{z}_{2}}+\gamma _{2}^{2}{{x}_{2}}{{z}_{2}}+\gamma _{3}^{2}{{x}_{3}}{{z}_{2}}+\gamma _{12}^{2}{{x}_{1}}{{x}_{2}}{{z}_{2}}+\gamma _{13}^{2}{{x}_{1}}{{x}_{3}}{{z}_{2}}+\gamma _{23}^{2}{{x}_{2}}{{x}_{3}}{{z}_{2}}+\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{12}{{x}_{1}}{{z}_{1}}{{z}_{2}}+\gamma _{2}^{12}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{3}^{12}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{12}^{12}{{x}_{1}}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{13}^{12}{{x}_{1}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{23}^{12}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The combined model basically crosses every term in the mixture components model with every term in the process variables model. From a mathematical point of view, this model is just a regular regression model. Therefore, the traditional regression analysis method can still be used for obtaining the model coefficients and calculating the ANOVA table.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Three kinds of meats (beef, pork and lamb) are mixed together to form burger patties. The meat comprises 90% of the total mixture, with the remaining 10% reserved for flavoring ingredients. A {3, 2} simplex design with the center point is used for the experiment. The design has 7 meat combinations, which are given below using L-pseudocomponent values. &lt;br /&gt;
	&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	1&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two process variables on making the patties are also studied: cooking temperature and cooking time. The low and high temperature values are 375°F and 425°F, and the low and high time values are 25 and 40 minutes. A two level full factorial design is used and displayed below with coded values. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Temperature&lt;br /&gt;
!Time&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
One of the properties of the burger patties is texture. The texture is measured by a compression test that measures the grams of force required to puncture the surface of the patty. &lt;br /&gt;
&lt;br /&gt;
Combining the simplex design and the factorial design together, we get the following 28 runs. The corresponding texture reading for each blend is also provided. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Standard Order&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
!Z1: Temperature&lt;br /&gt;
!Z2: Time&lt;br /&gt;
!Texture (&amp;lt;math&amp;gt;10^3\,\!&amp;lt;/math&amp;gt; gram)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	0||	0||	-1||	-1||	1.84&lt;br /&gt;
|-&lt;br /&gt;
|2||	0.5||	0.5||	0||	-1||	-1||	0.67&lt;br /&gt;
|-&lt;br /&gt;
|3||	0.5||	0||	0.5||	-1||	-1||	1.51&lt;br /&gt;
|-&lt;br /&gt;
|4||	0||	1||	0||	-1||	-1||	1.29&lt;br /&gt;
|-&lt;br /&gt;
|5||	0||	0.5||	0.5||	-1||	-1||	1.42&lt;br /&gt;
|-&lt;br /&gt;
|6||	0||	0||	1||	-1||	-1||	1.16&lt;br /&gt;
|-&lt;br /&gt;
|7||	0.333||	0.333||	0.333||	-1||	-1||	1.59&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	0||	0||	1||	-1||	2.86&lt;br /&gt;
|-&lt;br /&gt;
|9||	0.5||	0.5||	0||	1||	-1||	1.1&lt;br /&gt;
|-&lt;br /&gt;
|10||	0.5||	0||	0.5||	1||	-1||	1.6&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	1||	0||	1||	-1||	1.53&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0.5||	0.5||	1||	-1||	1.81&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	1||	1||	-1||	1.5&lt;br /&gt;
|-&lt;br /&gt;
|14||	0.333||	0.333||	0.333||	1||	-1||	1.68&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	0||	0||	-1||	1||	3.01&lt;br /&gt;
|-&lt;br /&gt;
|16||	0.5||	0.5||	0||	-1||	1||	1.21&lt;br /&gt;
|-&lt;br /&gt;
|17||	0.5||	0||	0.5||	-1||	1||	2.32&lt;br /&gt;
|-&lt;br /&gt;
|18||	0||	1||	0||	-1||	1||	1.93&lt;br /&gt;
|-&lt;br /&gt;
|19||	0||	0.5||	0.5||	-1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|20||	0||	0||	1||	-1||	1||	1.83&lt;br /&gt;
|-&lt;br /&gt;
|21||	0.333||	0.3333||	0.333||	-1||	1||	1.94&lt;br /&gt;
|-&lt;br /&gt;
|22||	1||	0||	0||	1||	1||	4.13&lt;br /&gt;
|-&lt;br /&gt;
|23||	0.5||	0.5||	0||	1||	1||	1.67&lt;br /&gt;
|-&lt;br /&gt;
|24||	0.5||	0||	0.5||	1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|25||	0||	1||	0||	1||	1||	2.26&lt;br /&gt;
|-&lt;br /&gt;
|26||	0||	0.5||	0.5||	1||	1||	3.15&lt;br /&gt;
|-&lt;br /&gt;
|27||	0||	0||	1||	1||	1||	2.22&lt;br /&gt;
|-&lt;br /&gt;
|28||	0.333||	0.333||	0.333||	1||	1||	2.6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a quadratic model for the mixture component and a 2-way interaction model for the process variables, we get the following results. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot;  &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;|| 2.9421|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;|| 	1.7346|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;|| 	1.6596|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;|| 	-4.4170|| 	0.5680|| 	-7.7766|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0015 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|A • C|| 	-0.9170|| 	0.5680|| 	-1.6146|| 	0.1817|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;|| 	2.4480|| 	0.5680|| 	4.3099|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0125 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;|| 	0.5324|| 	0.1236|| 	4.3084|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0126 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B|| 	0.1399|| 	0.1236|| 	1.1319|| 	0.3209|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • C|| 	0.1799|| 	0.1236|| 	1.4557|| 	0.2192|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • B|| 	-0.4123|| 	0.5680|| 	-0.7260|| 	0.5081|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • C|| 	-1.0423|| 	0.5680|| 	-1.8352|| 	0.1404|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B • C|| 	0.3727|| 	0.5680|| 	0.6561|| 	0.5476|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;|| 	0.6193|| 	0.1236|| 	5.0117|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0074 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;|| 	0.3518|| 	0.1236|| 	2.8468|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0465 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;|| 	0.3568|| 	0.1236|| 	2.8873|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0447 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • B|| 	-0.9802|| 	0.5680|| 	-1.7258|| 	0.1595|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • C|| 	-0.3202|| 	0.5680|| 	-0.5638|| 	0.6030|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • B • C|| 	0.9248|| 	0.5680|| 	1.6282|| 	0.1788|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A|| 	0.0177|| 	0.1236|| 	0.1433|| 	0.8930|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B|| 	0.0152|| 	0.1236|| 	0.1231|| 	0.9080|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • C|| 	0.0052|| 	0.1236|| 	0.0422|| 	0.9684|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • B|| 	0.0808|| 	0.5680|| 	0.1423|| 	0.8937|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • C|| 	0.2308|| 	0.5680|| 	0.4064|| 	0.7052|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B • C|| 	0.2658|| 	0.5680|| 	0.4680|| 	0.6641|| 	1.5695&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows that all the terms with &amp;lt;math&amp;gt;{{z}_{1}}\times {{z}_{2}}\,\!&amp;lt;/math&amp;gt; have very large P values, therefore, we can remove these terms from the model. We can also remove other terms with P values larger than 0.5. After recalculating with the desired terms, the final results are&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;||	2.9421||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;||	1.7346||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;||	1.6596||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||	-4.4170||	0.4023||	-10.9782|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 6.0305E-08 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;||	-0.9170||	0.4023||	-2.2792|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0402 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||	2.4480||	0.4023||	6.0842|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.8782E-05 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||	0.4916||	0.0799||	6.1531|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.4705E-05 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt;||	0.1365||	0.0725||	1.8830|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0823 &amp;lt;/span&amp;gt;||	1.0971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||	0.2176||	0.0799||	2.7235|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0174 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||	-1.0406||	0.4015||	-2.5916|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0224 &amp;lt;/span&amp;gt;||	1.5631&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||	0.5910||	0.0800||	7.3859|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 5.3010E-06 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||	0.3541||	0.0875||	4.0475|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0014 &amp;lt;/span&amp;gt;||	1.5971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||	0.3285||	0.0800||	4.1056|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0012 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||	-0.9654||	0.4019||	-2.4020|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0320 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||	0.9396||	0.4019||	2.3378|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0360 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The regression model is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=2.9421{{x}_{1}}+1.7346{{x}_{2}}+1.6596{{x}_{3}}-4.4170{{x}_{1}}{{x}_{2}}-0.9170{{x}_{1}}{{x}_{3}}+2.4480{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +0.4916{{x}_{1}}{{z}_{1}}+0.1365{{x}_{2}}{{z}_{1}}+0.2176{{x}_{3}}{{z}_{1}}-1.0406{{x}_{1}}{{x}_{3}}{{z}_{1}}+0.5910{{x}_{1}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.3541{{x}_{2}}{{z}_{2}}+0.3285{{x}_{3}}{{z}_{2}}-0.9654{{x}_{1}}{{x}_{2}}{{z}_{2}}+0.9396{{x}_{2}}{{x}_{3}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ANOVA table for this model is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;  &lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background: #CCCCCC;&amp;quot;|ANOVA Table&lt;br /&gt;
|-&lt;br /&gt;
!Source of Variation||Degrees of Freedom||Sum of Squares [Partial]||	Mean Squares [Partial]||	F Ratio||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Model&amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	14||style=&amp;quot;text-align: center&amp;quot;|	14.5066||style=&amp;quot;text-align: center&amp;quot;|	1.0362||	style=&amp;quot;text-align: center&amp;quot;|33.5558||style=&amp;quot;text-align: center&amp;quot;|	6.8938E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component Only	 || || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Linear &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	2||style=&amp;quot;text-align: center&amp;quot;|	4.1446||style=&amp;quot;text-align: center&amp;quot;|	2.0723||style=&amp;quot;text-align: center&amp;quot;|	67.1102||style=&amp;quot;text-align: center&amp;quot;|	1.4088E-07&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	120.5208||style=&amp;quot;text-align: center&amp;quot;|	6.0305E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	5.1949||style=&amp;quot;text-align: center&amp;quot;|	0.0402&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	37.0173	||style=&amp;quot;text-align: center&amp;quot;|3.8782E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z1||	 || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	37.8604||style=&amp;quot;text-align: center&amp;quot;|	3.4705E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	3.5456||style=&amp;quot;text-align: center&amp;quot;|	0.0823&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	7.4172||style=&amp;quot;text-align: center&amp;quot;|	0.0174&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	6.7165||style=&amp;quot;text-align: center&amp;quot;|	0.0224&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z2|| || || || ||	 	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.6845||style=&amp;quot;text-align: center&amp;quot;|	1.6845||	style=&amp;quot;text-align: center&amp;quot;|54.5517||style=&amp;quot;text-align: center&amp;quot;|	5.3010E-06&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	16.3819||style=&amp;quot;text-align: center&amp;quot;|	0.0014&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	16.8556||style=&amp;quot;text-align: center&amp;quot;|	0.0012&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	5.7698||style=&amp;quot;text-align: center&amp;quot;|	0.0320&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	5.4651||style=&amp;quot;text-align: center&amp;quot;|	0.0360&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Residual ||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309|| ||	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Lack of Fit||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309	 ||	|| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Total||style=&amp;quot;text-align: center&amp;quot;|	27||style=&amp;quot;text-align: center&amp;quot;|	14.9080|| || || 	 	 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows both process factors have significant effects on the texture of the patties. Since the model is pretty complicate, the best settings for the process variables and for components cannot be easily identified. &lt;br /&gt;
&lt;br /&gt;
The optimization tool in DOE++ is used for the above model. The target texture value is &amp;lt;math&amp;gt;3\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams with an acceptable range of &amp;lt;math&amp;gt;2.5-3.5\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.21.png|600 px|center]]&lt;br /&gt;
&lt;br /&gt;
The optimal solution is Beef = 98.5%, Pork = 0.7%, Lamb = 0.7%, Temperature = 375.7, and Time = 40.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1.	Cornell, John (2002), Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data, John Wiley &amp;amp; Sons, Inc. New York.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
2.	Piepel, G. F. (1983), “Defining consistent constraint regions in mixture experiments,” Technometrics, Vol. 25, pp. 97-101. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
3.	Snee, R. D. (1979), “Experimental designs for mixture systems with multiple component constraints,” Communications in Statistics, Theory and Methods, Bol. A8, pp. 303-326.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65203</id>
		<title>Mixture Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65203"/>
		<updated>2017-08-10T16:59:45Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|14}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
When a product is formed by mixing together two or more ingredients, the product is called a mixture, and the ingredients are called mixture components. In a general mixture problem, the measured response is assumed to depend only on the proportions of the ingredients in the mixture, not the amount of the mixture. For example, the taste of a fruit punch recipe (i.e., the response) might depend on the proportions of watermelon, pineapple and orange juice in the mixture. The taste of a small cup of fruit punch will obviously be the same as a big cup.&lt;br /&gt;
&lt;br /&gt;
Sometimes the responses of a mixture experiment depend not only on the proportions of ingredients, but also on the settings of variables in the process of making the mixture. For example, the tensile strength of stainless steel is not only affected by the proportions of iron, copper, nickel and chromium in the alloy; it is also affected by process variables such as temperature, pressure and curing time used in the experiment. &lt;br /&gt;
&lt;br /&gt;
One of the purposes of conducting a mixture experiment is to find the best proportion of each component and the best value of each process variable, in order to optimize a single response or multiple responses simultaneously. In this chapter, we will discuss how to design effective mixture designs and how to analyze data from mixture experiments with and without process variables. &lt;br /&gt;
&lt;br /&gt;
==Mixture Design Types==&lt;br /&gt;
&lt;br /&gt;
There are several different types of mixture designs. The most common ones are simplex lattice, simplex centroid, simplex axial and extreme vertex designs, each of which is used for a different purpose. &lt;br /&gt;
&lt;br /&gt;
*If there are many components in a mixture, the first choice is to screen out the most important ones. Simplex axial and Simplex centroid designs are used for this purpose. &lt;br /&gt;
*If the number of components is not large, but a high order polynomial equation is needed in order to accurately describe the response surface, then a simplex lattice design can be used.&lt;br /&gt;
*Extreme vertex designs are used for the cases when there are constraints on one or more components (e.g., if the proportion of watermelon juice in a fruit punch recipe is required to be less than 30%, and the combined proportion of watermelon and orange juice should always be between 40% and 70%).  &lt;br /&gt;
&lt;br /&gt;
===Simplex Plot===&lt;br /&gt;
&lt;br /&gt;
Since the sum of all the mixture components is always 100%, the experiment space usually is given by a plot. The experiment space for the fruit punch experiment is given in the following triangle or simplex plot. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.1.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
The triangle area in the above plot is defined by the fact that the sum of the three ingredients is 1 (100%). For the points that are on the vertices, the punch only has one ingredient. For instance, point 1 only has watermelon. The line opposite of point 1 represents a mixture with no watermelon . &lt;br /&gt;
&lt;br /&gt;
The coordinate system used for the value of each ingredient &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;i=1,2,...,q\,\!&amp;lt;/math&amp;gt; is called a simplex coordinate system. q is the number of ingredients. The simplex plot can only visually display three ingredients. If there are more than three ingredients, the values for other ingredients must be provided. For the fruit punch example, the coordinate for point 1 is (1, 0, 0). The interior points of the triangle represent mixtures in which none of the three components is absent. It means all &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;i=1,2,3\,\!&amp;lt;/math&amp;gt;. Point 0 in the middle of the triangle is called the center point. In this case, it is the centroid of a face/plane. The coordinate for point 0 is (1/3, 1/3, 1/3). Points 2, 4 and 6 are each called a centroid of edge. Their coordinates are (0.5, 0.5, 0), (0, 0.5, 0.5), and (0.5, 0, 0.5).&lt;br /&gt;
&lt;br /&gt;
===Simplex Lattice Design===&lt;br /&gt;
&lt;br /&gt;
The response in a mixture experiment usually is described by a polynomial function. This function represents how the components affect the response. To better study the shape of the response surface, the natural choice for a design would be the one whose points are spread evenly over the whole simplex. An ordered arrangement consisting of a uniformly spaced distribution of points on a simplex is known as a lattice. &lt;br /&gt;
&lt;br /&gt;
A {q, m} simplex lattice design for q components consists of points defined by the following coordinate settings: the proportions assumed by each component take the m+1 equally spaced values from 0 to 1, &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{m},\frac{2}{m},....,1\text{      }i=1,2,....,q\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the design space consists of all the reasonable combinations of all the values for each factor. m is usually called the degree of the lattice. For example, for a {3, 2} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{2},1\,\!&amp;lt;/math&amp;gt; and its design space has 6 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.2.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
For a {3, 3} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{3},\frac{2}{3},1\,\!&amp;lt;/math&amp;gt;, and its design space has 10 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.3.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
For a simplex design with degree of m, each component has m + 1 different values, therefore, the experiment results can be used to fit a polynomial equation up to an order of m. A {3, 3} simplex lattice design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the full cubic model. Note that the intercept term is not included in the model due to the correlation between all the components (their sum is 100%). &lt;br /&gt;
&lt;br /&gt;
Simplex lattice design includes all the component combinations. For a {q, m} design, the total number of runs is &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q+m-1 \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;. Therefore to reduce the number of runs and still be able to fit a high order polynomial model, sometimes we can use simplex centroid design which is explained next.&lt;br /&gt;
&lt;br /&gt;
===Simplex Centroid Design===&lt;br /&gt;
&lt;br /&gt;
A simplex centroid design only includes the centroid points. For the components that appear in a run in a simplex centroid design, they have the same values. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.4.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
In the above simplex plot, points 2, 4 and 6 are 2nd degree centroids. Each of them has two non-zero components with equal values. Point 0 is a 3rd degree centroid and all three components have the same value. For a design with q components, the highest degree of centroid is q. It is called the overall centroid, or the center point of the design. &lt;br /&gt;
&lt;br /&gt;
For a q component simplex centroid design with a degree of centroid of q, the total number of runs is &lt;br /&gt;
&amp;lt;math&amp;gt;{{2}^{q}}-1\,\!&amp;lt;/math&amp;gt;. The runs correspond to the q permutations of (1, 0, 0,…, 0), &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/2, 1/2, 0, 0, 0, 0, …,0), the &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 3 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/3, 1/3, 1/3, 0, 0, 0, 0,…, 0)…., and the overall centroid (1/q, 1/q, …, 1/q).  If the degree of centroid is defined as &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; (m &amp;lt; q), then the total number of runs will be &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 1 \\ &lt;br /&gt;
\end{align} \right)+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)+...+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since a simplex centroid design usually has fewer runs than a simplex lattice design with the same degree, a polynomial model with fewer terms should be used. A {3, 3} simplex centroid design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the special cubic model. Note that the intercept term is not included due to the correlation between all the components (their sum is 100%).&lt;br /&gt;
&lt;br /&gt;
===Simplex Axial Design===&lt;br /&gt;
&lt;br /&gt;
The simplex lattice and simplex centroid designs are boundary designs since the points of these designs are positioned on boundaries (vertices, edges, faces, etc.) of the simplex factor space, with the exception of the overall centroid. Axial designs, on the other hand, are designs consisting mainly of the points positioned inside the simplex. Axial designs have been recommended for use when component effects are to be measured in a screening experiment, particularly when first degree models are to be fitted. &lt;br /&gt;
&lt;br /&gt;
Definition of Axial: The axial of a component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; is defined as the imaginary line extending from the base point &amp;lt;math&amp;gt;{{x}_{i}}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{x}_{j}}=1/\left( q-1 \right)\,\!&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;, to the vertex where &amp;lt;math&amp;gt;{{x}_{i}}=1,{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;. [John Cornell]    &lt;br /&gt;
&lt;br /&gt;
In a simplex axial design, all the points are on the axial. The simplest form of axial design is one whose points are positioned equidistant from the overall centroid &amp;lt;math&amp;gt;\left( {1}/{q,{1}/{q,}\;{1}/{q,}\;...}\; \right)\,\!&amp;lt;/math&amp;gt;. Traditionally, points located at the half distance from the overall centroid to the vertex are called axial points/blends. This is illustrated in the following plot.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.5.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 4, 5 and 6 are the axial blends. &lt;br /&gt;
&lt;br /&gt;
By default, a simple axial design in a DOE folio only has vertices, axial blends, centroid of the constraint planes and the overall centroid. For a design with q components, constraint plane centroids are the center points of dimension of q-1 space. One component is 0, and the remaining components have the same values for the center points of constraint planes. The number of the constraint plane centroids is the number of components q. The total number of runs in a simple axial design will be 3q+1. They are q vertex runs, q centroids of constraint planes, q axial blends and 1 overall centroid. &lt;br /&gt;
&lt;br /&gt;
A simplex axial design for 3 components has 10 points as given below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.6.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 1, 2 and 3 are the three vertices; points 4, 5, 6 are the axial blends; points 7, 8 and 9 are the centroids of constraint planes, and point 0 is the overall center point.&lt;br /&gt;
&lt;br /&gt;
===Extreme Vertex Design===&lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs are used when both lower and upper bound constraints on the components are presented, or when linear constraints are added to several components. For example, if a mixture design with 3 components has the following constraints:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;{{x}_{2}}\le 0.7\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;-2{{x}_{1}}+2{{x}_{2}}+3{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;48{{x}_{1}}+13{{x}_{2}}-{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the feasible region is defined by the six points in the following simplex plot. To meet the above constraints, all the runs conducted in the experiment should be in the feasible region or on its boundary. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.7.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The CONSIM method described in [Snee 1979] is used in a Weibull++ DOE folio to check the consistency of all the constraints and to get the vertices defined by them. &lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs by default use the vertices at the boundary. Additional points such as the centroid of spaces of different dimensions, axial points and the overall center point can be added. In extreme vertex designs, axial points are between the overall center point and the vertices.  For the above example, if the axial points and the overall center point are added, then all the runs in the experiment will be:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.8.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Point 0 in the center of the feasible region is the overall centroid. The other red points are the axial points. They are at the middle of the lines connecting the center point with the vertices.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design Data Analysis==&lt;br /&gt;
&lt;br /&gt;
In the following section, we will discuss the most popular regression models in mixture design data analysis. Due to the correlation between all the components in mixture designs, the intercept term usually is not included in the regression model. &lt;br /&gt;
&lt;br /&gt;
===Models Used in Mixture Design===&lt;br /&gt;
&lt;br /&gt;
For a design with three components, the following models are commonly used.&lt;br /&gt;
&lt;br /&gt;
*Linear model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the intercept were included in the model, then the linear model would be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=\beta _{0}^{&#039;}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, since &amp;lt;math&amp;gt;{{x}_{1}}+{{x}_{2}}+{{x}_{3}}=1\,\!&amp;lt;/math&amp;gt; (can be other constants as well), the above equation can be written as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\beta _{0}^{&#039;}\left( {{x}_{1}}+{{x}_{2}}+{{x}_{3}} \right)+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; =\left( \beta _{0}^{&#039;}+\beta _{1}^{&#039;} \right){{x}_{1}}+\left( \beta _{0}^{&#039;}+\beta _{2}^{&#039;} \right){{x}_{2}}+\left( \beta _{0}^{&#039;}+\beta _{3}^{&#039;} \right){{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equation has thus been reformatted to omit the intercept. &lt;br /&gt;
&lt;br /&gt;
*Quadratic model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are no classic quadratic terms such as &amp;lt;math&amp;gt;x_{1}^{2}\,\!&amp;lt;/math&amp;gt;. This is because &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x_{1}^{2}={{x}_{1}}\left( 1-{{x}_{2}}-{{x}_{3}} \right)={{x}_{1}}-{{x}_{1}}{{x}_{2}}-{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Full cubic model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Special cubic model: &amp;lt;math&amp;gt;{{\delta }_{ij}}{{x}_{i}}{{x}_{j}}\left( {{x}_{i}}-{{x}_{j}} \right)\,\!&amp;lt;/math&amp;gt; are removed from the full cubic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above types of models are called Scheffe type models. They can be extended to designs with more than three components. &lt;br /&gt;
&lt;br /&gt;
In regular regression analysis, the effect of an exploratory variable or factor is represented by the value of the coefficient. The ratio of the estimated coefficient and its standard error is used for the t-test. The t-test can tell us if a coefficient is 0 or not. If a coefficient is statistically 0, then the corresponding factor has no significant effect on the response. However, for Scheffe type models, since the intercept term is not included in the model, we cannot use the regular t-test to test each individual main effect. In other words, we cannot test if the coefficient for each component is 0 or not. &lt;br /&gt;
&lt;br /&gt;
Similarly, in the ANOVA analysis, the linear effects of all the components are tested together as a single group. The main effect test for each individual component is not conducted.  To perform ANOVA analysis, the Scheffe type model needs to be reformatted to include the hidden intercept. For example, the linear model&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
can be rewritten as&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}\left( 1-{{x}_{1}}-{{x}_{2}} \right) \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{3}}+\left( {{\beta }_{1}}-{{\beta }_{3}} \right){{x}_{1}}+\left( {{\beta }_{2}}-{{\beta }_{3}} \right){{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{0}}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\beta }_{0}}={{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{1}^{&#039;}={{\beta }_{1}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{2}^{&#039;}={{\beta }_{2}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;. All other models such as the quadratic, cubic and special cubic model can be reformatted using the same procedure. By including the intercept in the model, the correct sum of squares can be calculated in the ANOVA table. If ANOVA analysis is conducted directly using the Scheffe type models, the result will be incorrect.&lt;br /&gt;
&lt;br /&gt;
===L-Pseudocomponent, Proportion, and Actual Values===&lt;br /&gt;
&lt;br /&gt;
In mixture designs, the total amount of the mixture is usually given. For example, we can make either a one-pound or a two-pound cake. Regardless of whether the cake is one or two pounds, the proportion of each ingredient is the same. When the total amount is given, the upper and lower limits for each ingredient are usually given in amounts, which is easier for the experimenter to understand. Of course, if the limits or other constraints are given in terms of proportions, these proportions need be converted to the real amount values when conducting the experiment. To keep everything consistent, all the constraints in a DOE folio are treated as amounts.&lt;br /&gt;
&lt;br /&gt;
In regular factorial design and response surface methods, the regression model is calculated using coded values. Coded values scale all the factors to the same magnitude, which makes the analysis much easier and reduces convergence error. Similarly, the analysis in mixture design is conducted using the so-called L-pseudocomponent value. L-pseudocomponent values scale all the components&#039; values within 0 and 1. In a DOE folio all the designs and calculations for mixture factors are based on L-pseudocomponent values. The relationship between L-pseudocomponent values, proportions and actual amounts are explained next. &lt;br /&gt;
&lt;br /&gt;
====Example for L-Pseudocomponent Value====&lt;br /&gt;
&lt;br /&gt;
We are going to make one gallon (about 3.8 liters) of fruit punch. Three ingredients will be in the punch with the following constraints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_{i}^{A}\,\!&amp;lt;/math&amp;gt; (i = 1, 2, 3) be the actual amount value, &amp;lt;math&amp;gt;x_{i}^{{}}\,\!&amp;lt;/math&amp;gt; be the L-pseudocomponent value and &amp;lt;math&amp;gt;x_{i}^{R}\,\!&amp;lt;/math&amp;gt; be the proportion value. Then the equations for the conversion between them are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=\frac{x_{i}^{A}-{{l}_{i}}}{\left( T-\sum\limits_{j=1}^{p}{{{l}_{j}}} \right)}\,\!&amp;lt;/math&amp;gt;,	  &amp;lt;math&amp;gt;x_{i}^{A}={{l}_{i}}+\left( T-\sum\limits_{j=1}^{p}{{{l}_{i}}} \right){{x}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{i}^{R}=\frac{x_{i}^{A}}{T}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{1}^{A}\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;x_{1}^{R}\,\!&amp;lt;/math&amp;gt; are for component A, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}^{R}\,\!&amp;lt;/math&amp;gt; are for component B, and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{3}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{3}^{R}\,\!&amp;lt;/math&amp;gt; are for component C. &lt;br /&gt;
&lt;br /&gt;
Since components in this example have both lower and upper limit constraints, an extreme vertex design is used. The design settings are given below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.9.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The created design in terms of L-pseudocomponent values is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.10.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in amount values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.11.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in proportion values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.12.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
====Check Constraint Consistency====&lt;br /&gt;
&lt;br /&gt;
In the above example, all the constraints are consistent. However, if we set the constraints to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then they are not consistent. This is because the total is only 3.8, but the sum of all the lower limits is 4.7. Therefore, not all the lower limits can be satisfied at the same time. If only lower limits and upper limits are presented for all the components, then we can adjust the lower bounds to make the constraints consistent. The method given by [Pieple 1983] is used and summarized below.&lt;br /&gt;
&lt;br /&gt;
Defined the range of a component to be &amp;lt;math&amp;gt;{{R}_{i}}={{U}_{i}}-{{L}_{i}}\,\!&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;{{U}_{i}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{i}}\,\!&amp;lt;/math&amp;gt; are the upper and lower limit for component i. The implied range of component i is  &lt;br /&gt;
&amp;lt;math&amp;gt;R_{i}^{*}=U_{i}^{*}-L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;L_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{U}_{i}}}\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;U_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{L}_{i}}}\,\!&amp;lt;/math&amp;gt;. T is the total amount. The steps for checking and adjusting bounds are given below. &lt;br /&gt;
&lt;br /&gt;
Step 1:  Check if &amp;lt;math&amp;gt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt; are greater than 0, if they are, then these constraints meet the basic requirement to be consistent. We can move forward to step 2. If not, these constraints cannot be adjusted to be consistent. We should stop. &lt;br /&gt;
&lt;br /&gt;
Step 2: For each component, check if &amp;lt;math&amp;gt;{{L}_{i}}\ge L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{U}_{i}}\le U_{i}^{*}\,\!&amp;lt;/math&amp;gt;. If they are, then this component’s constraints are consistent. Otherwise, if &amp;lt;math&amp;gt;{{L}_{i}}&amp;lt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{L}_{i}}=L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;{{U}_{i}}&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{U}_{i}}=U_{i}^{*}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Step 3: Whenever a bound is changed, restart from Step 1 to use the new bound to check if all the constraints are consistent. Repeat this until all the limits are consistent. &lt;br /&gt;
 &lt;br /&gt;
For extreme vertex design where linear constraints are allowed, the DOE folio will give a warning and stop creating the design if inconsistent linear combination constraints are found. No adjustment will be conducted for linear constraints.&lt;br /&gt;
&lt;br /&gt;
===Response Trace Plot===&lt;br /&gt;
&lt;br /&gt;
Due to the correlation between all the components, the regular t-test is not used to test the significance of each component. A special plot called the Response Trace Plot can be used to see how the response changes when each component changes from its reference point [John Cornell]. &lt;br /&gt;
&lt;br /&gt;
A reference point can be any point inside the experiment space. An imaginary line can be drawn from this reference point to each vertex &amp;lt;math&amp;gt;{{x}_{i}}=1\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;i\ne j\,\!&amp;lt;/math&amp;gt;). This line is the direction for component i to change. Component i can either increase or decrease its value along this line, while the ratio of other components &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j,k\ne i\,\!&amp;lt;/math&amp;gt;) will keep constant. If the simplex plot is defined in terms of proportion, then the direction is called Cox’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; is the ratio of proportion. If the simplex plot is defined in terms of pseduocomponent value, then the direction is called Pieple’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; will be the ratio of pseduocomponent values. &lt;br /&gt;
&lt;br /&gt;
Assume the reference point in terms of proportion is &amp;lt;math&amp;gt;s=\left( {{s}_{1}},{{s}_{2}},...,{{s}_{q}} \right)\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{s}_{1}}+{{s}_{2}}+...+{{s}_{q}}=1\,\!&amp;lt;/math&amp;gt;. Suppose the proportion of component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; is now changed by &amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; could be greater than or less than 0) in Cox’s direction, so that the new proportion becomes &amp;lt;math&amp;gt;{{x}_{i}}={{s}_{i}}+{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the proportions of the remaining &amp;lt;math&amp;gt;q-1\,\!&amp;lt;/math&amp;gt; components resulting from the change from &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; will be&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{j}}={{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the change, the ratio of component j and k is unchanged. This is because&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{{{x}_{j}}}{{{x}_{k}}}=\frac{{{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}}{{{s}_{k}}-\frac{{{\Delta }_{i}}{{s}_{k}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\frac{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
While &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; is changed along Cox’s direction, we can use a fitted regression model to get the response value y.  A response trace plot for a mixture design with three components will look like &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.13.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The x-axis is the deviation amount from the reference point, and the y-value is the fitted response. Each component has one curve. Since the red curve for component A changes significantly, this means it has a significant effect along its axial. The blue curve for component C is almost flat; this means when C changes along Cox’s direction and other components keep the same ratio, the response Y does not change very much. The effect of component B is between component A and C.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Watermelon (A), pineapple (B) and orange juice (C) are used for making 3.8 liters of fruit punch. At least 30% of the fruit punch must be watermelon. Therefore the constraints are&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.14\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le B\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Different blends of the three-juice recipe were evaluated by a panel. A value from 1 (extremely poor) to 9 (very good) is used for the response [John Cornell, page 74]. A {3, 2} simplex lattice design is used with one center point and three axial points. Three replicates were conducted for each ingredient combination. The settings for creating this design in a DOE folio is &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe_14.14.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The generated design in L-pseudocomponent values and the response values from the experiment are&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.15.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The simplex design point plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.16.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Main effect and 2-way interactions are included in the regression model. The result for the regression model in terms of L-pseudocomponents is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=4.81{{x}_{1}}+6.03{{x}_{2}}+6.16{{x}_{3}}+1.13{{x}_{1}}{{x}_{2}}+2.45{{x}_{1}}{{x}_{3}}+1.69{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression information table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;8&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Regression Information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Term&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Coefficient&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard Error&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Low Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | High Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | T Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A: Watermelon&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8093&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.2845&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.3340&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B: Pineapple&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0274&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.5027&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5522&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | C: Orange&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.1577&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.6330&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.6825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1253&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -1.2934&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.5439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.7960&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.4525&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.0339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8712&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.7348&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.6889&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -0.7298&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.1075&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1947&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows that the taste of the fruit punch is significantly affected by the interaction between watermelon and orange. &lt;br /&gt;
&lt;br /&gt;
The ANOVA table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Anova Table&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Source of Variation&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Degrees of Freedom&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard ErrorSum of Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Mean Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | F Ratio&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Model &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5517&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.3103&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.3181&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0061 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Linear &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.6513&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.8256&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0162&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0076 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.6336&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.0097&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4272&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
|-&lt;br /&gt;
| Residual&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.2829&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3035&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Lack of Fit &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.4563&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1141&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.8825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0006 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | Pure Error&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.8267&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1413&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13.8347&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|} 	 &lt;br /&gt;
&lt;br /&gt;
The simplex contour plot in L-pseudocomponent values is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.17.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
From this plot we can see that as the amount of watermelon is reduced, the taste of the fruit punch becomes better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to find the best proportion of each ingredient, the optimization tool in the Weibull++ DOE folio can be utilized. Set the settings as&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.18.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The resulting optimal plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.19.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
This plot shows that when the amounts for watermelon, pineapple and orange juice are 1.141, 1.299 and 1.359, respectively, the rated taste of the fruit punch is highest.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design with Process Variables==&lt;br /&gt;
&lt;br /&gt;
Process variables often play very important roles in mixture experiments. A simple example is baking a cake. Even with the same ingredients, different baking temperatures and baking times can produce completely different results. In order to study the effect of process variables and find their best settings, we need to consider them when conducting a mixture experiment. &lt;br /&gt;
&lt;br /&gt;
An easy way to do this is to make mixtures with the same ingredients in different combinations of process variables. If all the process variables are independent, then we can plan a regular factorial design for these process variables. By combining these designs with a separated mixture design, the effect of mixture components and effect of process variables can be studied. &lt;br /&gt;
&lt;br /&gt;
For example, a {3, 2} simplex lattice design is used for a mixture with 3 components. Together with the center point, it has total of 7 runs or 7 different ingredient combinations. Assume 2 process variables are potentially important and a two level factorial design is used for them. It has a total of 4 combinations for these 2 process variables. If the 7 different mixtures are made under each of the 4 process variable combinations, then the experiment has a total of 28 runs. This is illustrated in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.20.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Of course, if it is possible, all the 28 experiments should be conducted in a random order. &lt;br /&gt;
&lt;br /&gt;
===Model with Process Variables===&lt;br /&gt;
&lt;br /&gt;
In DOE++, regression models including both mixture components and process variables are available. For mixture components, we use L-pseudocomponent values, and for process variables coded values are used. &lt;br /&gt;
&lt;br /&gt;
Assume a design has 3 mixture components and 2 process variables, as illustrated in the above figure. We can use the following models for them. &lt;br /&gt;
&lt;br /&gt;
*For the 3 mixture components, the following special cubic model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For the 2 process variables the following model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\alpha }_{0}}+{{\alpha }_{1}}{{z}_{1}}+{{\alpha }_{2}}{{z}_{2}}+{{\alpha }_{12}}{{z}_{1}}{{z}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The combined model with both mixture components and process variables is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\sum\limits_{i=1}^{3}{\gamma _{i}^{0}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{0}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{1}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{1}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{2}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{2}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{12}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{12}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above combined model has total of 7x4=28 terms. By expanding it, we get the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\gamma _{1}^{0}{{x}_{1}}+\gamma _{2}^{0}{{x}_{2}}+\gamma _{3}^{0}{{x}_{3}}+\gamma _{12}^{0}{{x}_{1}}{{x}_{2}}+\gamma _{13}^{0}{{x}_{1}}{{x}_{3}}+\gamma _{23}^{0}{{x}_{2}}{{x}_{3}}+\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{1}{{x}_{1}}{{z}_{1}}+\gamma _{2}^{1}{{x}_{2}}{{z}_{1}}+\gamma _{3}^{1}{{x}_{3}}{{z}_{1}}+\gamma _{12}^{1}{{x}_{1}}{{x}_{2}}{{z}_{1}}+\gamma _{13}^{1}{{x}_{1}}{{x}_{3}}{{z}_{1}}+\gamma _{23}^{1}{{x}_{2}}{{x}_{3}}{{z}_{1}}+\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{2}{{x}_{1}}{{z}_{2}}+\gamma _{2}^{2}{{x}_{2}}{{z}_{2}}+\gamma _{3}^{2}{{x}_{3}}{{z}_{2}}+\gamma _{12}^{2}{{x}_{1}}{{x}_{2}}{{z}_{2}}+\gamma _{13}^{2}{{x}_{1}}{{x}_{3}}{{z}_{2}}+\gamma _{23}^{2}{{x}_{2}}{{x}_{3}}{{z}_{2}}+\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{12}{{x}_{1}}{{z}_{1}}{{z}_{2}}+\gamma _{2}^{12}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{3}^{12}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{12}^{12}{{x}_{1}}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{13}^{12}{{x}_{1}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{23}^{12}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The combined model basically crosses every term in the mixture components model with every term in the process variables model. From a mathematical point of view, this model is just a regular regression model. Therefore, the traditional regression analysis method can still be used for obtaining the model coefficients and calculating the ANOVA table.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Three kinds of meats (beef, pork and lamb) are mixed together to form burger patties. The meat comprises 90% of the total mixture, with the remaining 10% reserved for flavoring ingredients. A {3, 2} simplex design with the center point is used for the experiment. The design has 7 meat combinations, which are given below using L-pseudocomponent values. &lt;br /&gt;
	&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	1&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two process variables on making the patties are also studied: cooking temperature and cooking time. The low and high temperature values are 375°F and 425°F, and the low and high time values are 25 and 40 minutes. A two level full factorial design is used and displayed below with coded values. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Temperature&lt;br /&gt;
!Time&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
One of the properties of the burger patties is texture. The texture is measured by a compression test that measures the grams of force required to puncture the surface of the patty. &lt;br /&gt;
&lt;br /&gt;
Combining the simplex design and the factorial design together, we get the following 28 runs. The corresponding texture reading for each blend is also provided. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Standard Order&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
!Z1: Temperature&lt;br /&gt;
!Z2: Time&lt;br /&gt;
!Texture (&amp;lt;math&amp;gt;10^3\,\!&amp;lt;/math&amp;gt; gram)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	0||	0||	-1||	-1||	1.84&lt;br /&gt;
|-&lt;br /&gt;
|2||	0.5||	0.5||	0||	-1||	-1||	0.67&lt;br /&gt;
|-&lt;br /&gt;
|3||	0.5||	0||	0.5||	-1||	-1||	1.51&lt;br /&gt;
|-&lt;br /&gt;
|4||	0||	1||	0||	-1||	-1||	1.29&lt;br /&gt;
|-&lt;br /&gt;
|5||	0||	0.5||	0.5||	-1||	-1||	1.42&lt;br /&gt;
|-&lt;br /&gt;
|6||	0||	0||	1||	-1||	-1||	1.16&lt;br /&gt;
|-&lt;br /&gt;
|7||	0.333||	0.333||	0.333||	-1||	-1||	1.59&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	0||	0||	1||	-1||	2.86&lt;br /&gt;
|-&lt;br /&gt;
|9||	0.5||	0.5||	0||	1||	-1||	1.1&lt;br /&gt;
|-&lt;br /&gt;
|10||	0.5||	0||	0.5||	1||	-1||	1.6&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	1||	0||	1||	-1||	1.53&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0.5||	0.5||	1||	-1||	1.81&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	1||	1||	-1||	1.5&lt;br /&gt;
|-&lt;br /&gt;
|14||	0.333||	0.333||	0.333||	1||	-1||	1.68&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	0||	0||	-1||	1||	3.01&lt;br /&gt;
|-&lt;br /&gt;
|16||	0.5||	0.5||	0||	-1||	1||	1.21&lt;br /&gt;
|-&lt;br /&gt;
|17||	0.5||	0||	0.5||	-1||	1||	2.32&lt;br /&gt;
|-&lt;br /&gt;
|18||	0||	1||	0||	-1||	1||	1.93&lt;br /&gt;
|-&lt;br /&gt;
|19||	0||	0.5||	0.5||	-1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|20||	0||	0||	1||	-1||	1||	1.83&lt;br /&gt;
|-&lt;br /&gt;
|21||	0.333||	0.3333||	0.333||	-1||	1||	1.94&lt;br /&gt;
|-&lt;br /&gt;
|22||	1||	0||	0||	1||	1||	4.13&lt;br /&gt;
|-&lt;br /&gt;
|23||	0.5||	0.5||	0||	1||	1||	1.67&lt;br /&gt;
|-&lt;br /&gt;
|24||	0.5||	0||	0.5||	1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|25||	0||	1||	0||	1||	1||	2.26&lt;br /&gt;
|-&lt;br /&gt;
|26||	0||	0.5||	0.5||	1||	1||	3.15&lt;br /&gt;
|-&lt;br /&gt;
|27||	0||	0||	1||	1||	1||	2.22&lt;br /&gt;
|-&lt;br /&gt;
|28||	0.333||	0.333||	0.333||	1||	1||	2.6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a quadratic model for the mixture component and a 2-way interaction model for the process variables, we get the following results. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot;  &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;|| 2.9421|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;|| 	1.7346|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;|| 	1.6596|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;|| 	-4.4170|| 	0.5680|| 	-7.7766|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0015 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|A • C|| 	-0.9170|| 	0.5680|| 	-1.6146|| 	0.1817|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;|| 	2.4480|| 	0.5680|| 	4.3099|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0125 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;|| 	0.5324|| 	0.1236|| 	4.3084|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0126 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B|| 	0.1399|| 	0.1236|| 	1.1319|| 	0.3209|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • C|| 	0.1799|| 	0.1236|| 	1.4557|| 	0.2192|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • B|| 	-0.4123|| 	0.5680|| 	-0.7260|| 	0.5081|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • C|| 	-1.0423|| 	0.5680|| 	-1.8352|| 	0.1404|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B • C|| 	0.3727|| 	0.5680|| 	0.6561|| 	0.5476|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;|| 	0.6193|| 	0.1236|| 	5.0117|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0074 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;|| 	0.3518|| 	0.1236|| 	2.8468|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0465 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;|| 	0.3568|| 	0.1236|| 	2.8873|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0447 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • B|| 	-0.9802|| 	0.5680|| 	-1.7258|| 	0.1595|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • C|| 	-0.3202|| 	0.5680|| 	-0.5638|| 	0.6030|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • B • C|| 	0.9248|| 	0.5680|| 	1.6282|| 	0.1788|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A|| 	0.0177|| 	0.1236|| 	0.1433|| 	0.8930|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B|| 	0.0152|| 	0.1236|| 	0.1231|| 	0.9080|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • C|| 	0.0052|| 	0.1236|| 	0.0422|| 	0.9684|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • B|| 	0.0808|| 	0.5680|| 	0.1423|| 	0.8937|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • C|| 	0.2308|| 	0.5680|| 	0.4064|| 	0.7052|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B • C|| 	0.2658|| 	0.5680|| 	0.4680|| 	0.6641|| 	1.5695&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows that all the terms with &amp;lt;math&amp;gt;{{z}_{1}}\times {{z}_{2}}\,\!&amp;lt;/math&amp;gt; have very large P values, therefore, we can remove these terms from the model. We can also remove other terms with P values larger than 0.5. After recalculating with the desired terms, the final results are&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;||	2.9421||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;||	1.7346||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;||	1.6596||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||	-4.4170||	0.4023||	-10.9782|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 6.0305E-08 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;||	-0.9170||	0.4023||	-2.2792|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0402 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||	2.4480||	0.4023||	6.0842|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.8782E-05 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||	0.4916||	0.0799||	6.1531|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.4705E-05 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt;||	0.1365||	0.0725||	1.8830|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0823 &amp;lt;/span&amp;gt;||	1.0971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||	0.2176||	0.0799||	2.7235|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0174 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||	-1.0406||	0.4015||	-2.5916|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0224 &amp;lt;/span&amp;gt;||	1.5631&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||	0.5910||	0.0800||	7.3859|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 5.3010E-06 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||	0.3541||	0.0875||	4.0475|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0014 &amp;lt;/span&amp;gt;||	1.5971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||	0.3285||	0.0800||	4.1056|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0012 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||	-0.9654||	0.4019||	-2.4020|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0320 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||	0.9396||	0.4019||	2.3378|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0360 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The regression model is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=2.9421{{x}_{1}}+1.7346{{x}_{2}}+1.6596{{x}_{3}}-4.4170{{x}_{1}}{{x}_{2}}-0.9170{{x}_{1}}{{x}_{3}}+2.4480{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +0.4916{{x}_{1}}{{z}_{1}}+0.1365{{x}_{2}}{{z}_{1}}+0.2176{{x}_{3}}{{z}_{1}}-1.0406{{x}_{1}}{{x}_{3}}{{z}_{1}}+0.5910{{x}_{1}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.3541{{x}_{2}}{{z}_{2}}+0.3285{{x}_{3}}{{z}_{2}}-0.9654{{x}_{1}}{{x}_{2}}{{z}_{2}}+0.9396{{x}_{2}}{{x}_{3}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ANOVA table for this model is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;  &lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background: #CCCCCC;&amp;quot;|ANOVA Table&lt;br /&gt;
|-&lt;br /&gt;
!Source of Variation||Degrees of Freedom||Sum of Squares [Partial]||	Mean Squares [Partial]||	F Ratio||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Model&amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	14||style=&amp;quot;text-align: center&amp;quot;|	14.5066||style=&amp;quot;text-align: center&amp;quot;|	1.0362||	style=&amp;quot;text-align: center&amp;quot;|33.5558||style=&amp;quot;text-align: center&amp;quot;|	6.8938E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component Only	 || || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Linear &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	2||style=&amp;quot;text-align: center&amp;quot;|	4.1446||style=&amp;quot;text-align: center&amp;quot;|	2.0723||style=&amp;quot;text-align: center&amp;quot;|	67.1102||style=&amp;quot;text-align: center&amp;quot;|	1.4088E-07&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	120.5208||style=&amp;quot;text-align: center&amp;quot;|	6.0305E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	5.1949||style=&amp;quot;text-align: center&amp;quot;|	0.0402&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	37.0173	||style=&amp;quot;text-align: center&amp;quot;|3.8782E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z1||	 || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	37.8604||style=&amp;quot;text-align: center&amp;quot;|	3.4705E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	3.5456||style=&amp;quot;text-align: center&amp;quot;|	0.0823&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	7.4172||style=&amp;quot;text-align: center&amp;quot;|	0.0174&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	6.7165||style=&amp;quot;text-align: center&amp;quot;|	0.0224&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z2|| || || || ||	 	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.6845||style=&amp;quot;text-align: center&amp;quot;|	1.6845||	style=&amp;quot;text-align: center&amp;quot;|54.5517||style=&amp;quot;text-align: center&amp;quot;|	5.3010E-06&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	16.3819||style=&amp;quot;text-align: center&amp;quot;|	0.0014&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	16.8556||style=&amp;quot;text-align: center&amp;quot;|	0.0012&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	5.7698||style=&amp;quot;text-align: center&amp;quot;|	0.0320&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	5.4651||style=&amp;quot;text-align: center&amp;quot;|	0.0360&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Residual ||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309|| ||	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Lack of Fit||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309	 ||	|| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Total||style=&amp;quot;text-align: center&amp;quot;|	27||style=&amp;quot;text-align: center&amp;quot;|	14.9080|| || || 	 	 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows both process factors have significant effects on the texture of the patties. Since the model is pretty complicate, the best settings for the process variables and for components cannot be easily identified. &lt;br /&gt;
&lt;br /&gt;
The optimization tool in DOE++ is used for the above model. The target texture value is &amp;lt;math&amp;gt;3\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams with an acceptable range of &amp;lt;math&amp;gt;2.5-3.5\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.21.png|600 px|center]]&lt;br /&gt;
&lt;br /&gt;
The optimal solution is Beef = 98.5%, Pork = 0.7%, Lamb = 0.7%, Temperature = 375.7, and Time = 40.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1.	Cornell, John (2002), Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data, John Wiley &amp;amp; Sons, Inc. New York.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
2.	Piepel, G. F. (1983), “Defining consistent constraint regions in mixture experiments,” Technometrics, Vol. 25, pp. 97-101. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
3.	Snee, R. D. (1979), “Experimental designs for mixture systems with multiple component constraints,” Communications in Statistics, Theory and Methods, Bol. A8, pp. 303-326.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65202</id>
		<title>Mixture Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65202"/>
		<updated>2017-08-10T16:58:58Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Example */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|14}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
When a product is formed by mixing together two or more ingredients, the product is called a mixture, and the ingredients are called mixture components. In a general mixture problem, the measured response is assumed to depend only on the proportions of the ingredients in the mixture, not the amount of the mixture. For example, the taste of a fruit punch recipe (i.e., the response) might depend on the proportions of watermelon, pineapple and orange juice in the mixture. The taste of a small cup of fruit punch will obviously be the same as a big cup.&lt;br /&gt;
&lt;br /&gt;
Sometimes the responses of a mixture experiment depend not only on the proportions of ingredients, but also on the settings of variables in the process of making the mixture. For example, the tensile strength of stainless steel is not only affected by the proportions of iron, copper, nickel and chromium in the alloy; it is also affected by process variables such as temperature, pressure and curing time used in the experiment. &lt;br /&gt;
&lt;br /&gt;
One of the purposes of conducting a mixture experiment is to find the best proportion of each component and the best value of each process variable, in order to optimize a single response or multiple responses simultaneously. In this chapter, we will discuss how to design effective mixture designs and how to analyze data from mixture experiments with and without process variables. &lt;br /&gt;
&lt;br /&gt;
==Mixture Design Types==&lt;br /&gt;
&lt;br /&gt;
There are several different types of mixture designs. The most common ones are simplex lattice, simplex centroid, simplex axial and extreme vertex designs, each of which is used for a different purpose. &lt;br /&gt;
&lt;br /&gt;
*If there are many components in a mixture, the first choice is to screen out the most important ones. Simplex axial and Simplex centroid designs are used for this purpose. &lt;br /&gt;
*If the number of components is not large, but a high order polynomial equation is needed in order to accurately describe the response surface, then a simplex lattice design can be used.&lt;br /&gt;
*Extreme vertex designs are used for the cases when there are constraints on one or more components (e.g., if the proportion of watermelon juice in a fruit punch recipe is required to be less than 30%, and the combined proportion of watermelon and orange juice should always be between 40% and 70%).  &lt;br /&gt;
&lt;br /&gt;
===Simplex Plot===&lt;br /&gt;
&lt;br /&gt;
Since the sum of all the mixture components is always 100%, the experiment space usually is given by a plot. The experiment space for the fruit punch experiment is given in the following triangle or simplex plot. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.1.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
The triangle area in the above plot is defined by the fact that the sum of the three ingredients is 1 (100%). For the points that are on the vertices, the punch only has one ingredient. For instance, point 1 only has watermelon. The line opposite of point 1 represents a mixture with no watermelon . &lt;br /&gt;
&lt;br /&gt;
The coordinate system used for the value of each ingredient &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;i=1,2,...,q\,\!&amp;lt;/math&amp;gt; is called a simplex coordinate system. q is the number of ingredients. The simplex plot can only visually display three ingredients. If there are more than three ingredients, the values for other ingredients must be provided. For the fruit punch example, the coordinate for point 1 is (1, 0, 0). The interior points of the triangle represent mixtures in which none of the three components is absent. It means all &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;i=1,2,3\,\!&amp;lt;/math&amp;gt;. Point 0 in the middle of the triangle is called the center point. In this case, it is the centroid of a face/plane. The coordinate for point 0 is (1/3, 1/3, 1/3). Points 2, 4 and 6 are each called a centroid of edge. Their coordinates are (0.5, 0.5, 0), (0, 0.5, 0.5), and (0.5, 0, 0.5).&lt;br /&gt;
&lt;br /&gt;
===Simplex Lattice Design===&lt;br /&gt;
&lt;br /&gt;
The response in a mixture experiment usually is described by a polynomial function. This function represents how the components affect the response. To better study the shape of the response surface, the natural choice for a design would be the one whose points are spread evenly over the whole simplex. An ordered arrangement consisting of a uniformly spaced distribution of points on a simplex is known as a lattice. &lt;br /&gt;
&lt;br /&gt;
A {q, m} simplex lattice design for q components consists of points defined by the following coordinate settings: the proportions assumed by each component take the m+1 equally spaced values from 0 to 1, &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{m},\frac{2}{m},....,1\text{      }i=1,2,....,q\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the design space consists of all the reasonable combinations of all the values for each factor. m is usually called the degree of the lattice. For example, for a {3, 2} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{2},1\,\!&amp;lt;/math&amp;gt; and its design space has 6 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.2.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
For a {3, 3} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{3},\frac{2}{3},1\,\!&amp;lt;/math&amp;gt;, and its design space has 10 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.3.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
For a simplex design with degree of m, each component has m + 1 different values, therefore, the experiment results can be used to fit a polynomial equation up to an order of m. A {3, 3} simplex lattice design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the full cubic model. Note that the intercept term is not included in the model due to the correlation between all the components (their sum is 100%). &lt;br /&gt;
&lt;br /&gt;
Simplex lattice design includes all the component combinations. For a {q, m} design, the total number of runs is &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q+m-1 \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;. Therefore to reduce the number of runs and still be able to fit a high order polynomial model, sometimes we can use simplex centroid design which is explained next.&lt;br /&gt;
&lt;br /&gt;
===Simplex Centroid Design===&lt;br /&gt;
&lt;br /&gt;
A simplex centroid design only includes the centroid points. For the components that appear in a run in a simplex centroid design, they have the same values. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.4.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
In the above simplex plot, points 2, 4 and 6 are 2nd degree centroids. Each of them has two non-zero components with equal values. Point 0 is a 3rd degree centroid and all three components have the same value. For a design with q components, the highest degree of centroid is q. It is called the overall centroid, or the center point of the design. &lt;br /&gt;
&lt;br /&gt;
For a q component simplex centroid design with a degree of centroid of q, the total number of runs is &lt;br /&gt;
&amp;lt;math&amp;gt;{{2}^{q}}-1\,\!&amp;lt;/math&amp;gt;. The runs correspond to the q permutations of (1, 0, 0,…, 0), &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/2, 1/2, 0, 0, 0, 0, …,0), the &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 3 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/3, 1/3, 1/3, 0, 0, 0, 0,…, 0)…., and the overall centroid (1/q, 1/q, …, 1/q).  If the degree of centroid is defined as &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; (m &amp;lt; q), then the total number of runs will be &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 1 \\ &lt;br /&gt;
\end{align} \right)+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)+...+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since a simplex centroid design usually has fewer runs than a simplex lattice design with the same degree, a polynomial model with fewer terms should be used. A {3, 3} simplex centroid design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the special cubic model. Note that the intercept term is not included due to the correlation between all the components (their sum is 100%).&lt;br /&gt;
&lt;br /&gt;
===Simplex Axial Design===&lt;br /&gt;
&lt;br /&gt;
The simplex lattice and simplex centroid designs are boundary designs since the points of these designs are positioned on boundaries (vertices, edges, faces, etc.) of the simplex factor space, with the exception of the overall centroid. Axial designs, on the other hand, are designs consisting mainly of the points positioned inside the simplex. Axial designs have been recommended for use when component effects are to be measured in a screening experiment, particularly when first degree models are to be fitted. &lt;br /&gt;
&lt;br /&gt;
Definition of Axial: The axial of a component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; is defined as the imaginary line extending from the base point &amp;lt;math&amp;gt;{{x}_{i}}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{x}_{j}}=1/\left( q-1 \right)\,\!&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;, to the vertex where &amp;lt;math&amp;gt;{{x}_{i}}=1,{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;. [John Cornell]    &lt;br /&gt;
&lt;br /&gt;
In a simplex axial design, all the points are on the axial. The simplest form of axial design is one whose points are positioned equidistant from the overall centroid &amp;lt;math&amp;gt;\left( {1}/{q,{1}/{q,}\;{1}/{q,}\;...}\; \right)\,\!&amp;lt;/math&amp;gt;. Traditionally, points located at the half distance from the overall centroid to the vertex are called axial points/blends. This is illustrated in the following plot.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.5.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 4, 5 and 6 are the axial blends. &lt;br /&gt;
&lt;br /&gt;
By default, a simple axial design in a DOE folio only has vertices, axial blends, centroid of the constraint planes and the overall centroid. For a design with q components, constraint plane centroids are the center points of dimension of q-1 space. One component is 0, and the remaining components have the same values for the center points of constraint planes. The number of the constraint plane centroids is the number of components q. The total number of runs in a simple axial design will be 3q+1. They are q vertex runs, q centroids of constraint planes, q axial blends and 1 overall centroid. &lt;br /&gt;
&lt;br /&gt;
A simplex axial design for 3 components has 10 points as given below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.6.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 1, 2 and 3 are the three vertices; points 4, 5, 6 are the axial blends; points 7, 8 and 9 are the centroids of constraint planes, and point 0 is the overall center point.&lt;br /&gt;
&lt;br /&gt;
===Extreme Vertex Design===&lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs are used when both lower and upper bound constraints on the components are presented, or when linear constraints are added to several components. For example, if a mixture design with 3 components has the following constraints:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;{{x}_{2}}\le 0.7\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;-2{{x}_{1}}+2{{x}_{2}}+3{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;48{{x}_{1}}+13{{x}_{2}}-{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the feasible region is defined by the six points in the following simplex plot. To meet the above constraints, all the runs conducted in the experiment should be in the feasible region or on its boundary. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.7.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The CONSIM method described in [Snee 1979] is used in a Weibull++ DOE folio to check the consistency of all the constraints and to get the vertices defined by them. &lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs by default use the vertices at the boundary. Additional points such as the centroid of spaces of different dimensions, axial points and the overall center point can be added. In extreme vertex designs, axial points are between the overall center point and the vertices.  For the above example, if the axial points and the overall center point are added, then all the runs in the experiment will be:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.8.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Point 0 in the center of the feasible region is the overall centroid. The other red points are the axial points. They are at the middle of the lines connecting the center point with the vertices.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design Data Analysis==&lt;br /&gt;
&lt;br /&gt;
In the following section, we will discuss the most popular regression models in mixture design data analysis. Due to the correlation between all the components in mixture designs, the intercept term usually is not included in the regression model. &lt;br /&gt;
&lt;br /&gt;
===Models Used in Mixture Design===&lt;br /&gt;
&lt;br /&gt;
For a design with three components, the following models are commonly used.&lt;br /&gt;
&lt;br /&gt;
*Linear model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the intercept were included in the model, then the linear model would be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=\beta _{0}^{&#039;}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, since &amp;lt;math&amp;gt;{{x}_{1}}+{{x}_{2}}+{{x}_{3}}=1\,\!&amp;lt;/math&amp;gt; (can be other constants as well), the above equation can be written as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\beta _{0}^{&#039;}\left( {{x}_{1}}+{{x}_{2}}+{{x}_{3}} \right)+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; =\left( \beta _{0}^{&#039;}+\beta _{1}^{&#039;} \right){{x}_{1}}+\left( \beta _{0}^{&#039;}+\beta _{2}^{&#039;} \right){{x}_{2}}+\left( \beta _{0}^{&#039;}+\beta _{3}^{&#039;} \right){{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equation has thus been reformatted to omit the intercept. &lt;br /&gt;
&lt;br /&gt;
*Quadratic model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are no classic quadratic terms such as &amp;lt;math&amp;gt;x_{1}^{2}\,\!&amp;lt;/math&amp;gt;. This is because &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x_{1}^{2}={{x}_{1}}\left( 1-{{x}_{2}}-{{x}_{3}} \right)={{x}_{1}}-{{x}_{1}}{{x}_{2}}-{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Full cubic model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Special cubic model: &amp;lt;math&amp;gt;{{\delta }_{ij}}{{x}_{i}}{{x}_{j}}\left( {{x}_{i}}-{{x}_{j}} \right)\,\!&amp;lt;/math&amp;gt; are removed from the full cubic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above types of models are called Scheffe type models. They can be extended to designs with more than three components. &lt;br /&gt;
&lt;br /&gt;
In regular regression analysis, the effect of an exploratory variable or factor is represented by the value of the coefficient. The ratio of the estimated coefficient and its standard error is used for the t-test. The t-test can tell us if a coefficient is 0 or not. If a coefficient is statistically 0, then the corresponding factor has no significant effect on the response. However, for Scheffe type models, since the intercept term is not included in the model, we cannot use the regular t-test to test each individual main effect. In other words, we cannot test if the coefficient for each component is 0 or not. &lt;br /&gt;
&lt;br /&gt;
Similarly, in the ANOVA analysis, the linear effects of all the components are tested together as a single group. The main effect test for each individual component is not conducted.  To perform ANOVA analysis, the Scheffe type model needs to be reformatted to include the hidden intercept. For example, the linear model&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
can be rewritten as&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}\left( 1-{{x}_{1}}-{{x}_{2}} \right) \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{3}}+\left( {{\beta }_{1}}-{{\beta }_{3}} \right){{x}_{1}}+\left( {{\beta }_{2}}-{{\beta }_{3}} \right){{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{0}}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\beta }_{0}}={{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{1}^{&#039;}={{\beta }_{1}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{2}^{&#039;}={{\beta }_{2}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;. All other models such as the quadratic, cubic and special cubic model can be reformatted using the same procedure. By including the intercept in the model, the correct sum of squares can be calculated in the ANOVA table. If ANOVA analysis is conducted directly using the Scheffe type models, the result will be incorrect.&lt;br /&gt;
&lt;br /&gt;
===L-Pseudocomponent, Proportion, and Actual Values===&lt;br /&gt;
&lt;br /&gt;
In mixture designs, the total amount of the mixture is usually given. For example, we can make either a one-pound or a two-pound cake. Regardless of whether the cake is one or two pounds, the proportion of each ingredient is the same. When the total amount is given, the upper and lower limits for each ingredient are usually given in amounts, which is easier for the experimenter to understand. Of course, if the limits or other constraints are given in terms of proportions, these proportions need be converted to the real amount values when conducting the experiment. To keep everything consistent, all the constraints in a DOE folio are treated as amounts.&lt;br /&gt;
&lt;br /&gt;
In regular factorial design and response surface methods, the regression model is calculated using coded values. Coded values scale all the factors to the same magnitude, which makes the analysis much easier and reduces convergence error. Similarly, the analysis in mixture design is conducted using the so-called L-pseudocomponent value. L-pseudocomponent values scale all the components&#039; values within 0 and 1. In a DOE folio all the designs and calculations for mixture factors are based on L-pseudocomponent values. The relationship between L-pseudocomponent values, proportions and actual amounts are explained next. &lt;br /&gt;
&lt;br /&gt;
====Example for L-Pseudocomponent Value====&lt;br /&gt;
&lt;br /&gt;
We are going to make one gallon (about 3.8 liters) of fruit punch. Three ingredients will be in the punch with the following constraints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_{i}^{A}\,\!&amp;lt;/math&amp;gt; (i = 1, 2, 3) be the actual amount value, &amp;lt;math&amp;gt;x_{i}^{{}}\,\!&amp;lt;/math&amp;gt; be the L-pseudocomponent value and &amp;lt;math&amp;gt;x_{i}^{R}\,\!&amp;lt;/math&amp;gt; be the proportion value. Then the equations for the conversion between them are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=\frac{x_{i}^{A}-{{l}_{i}}}{\left( T-\sum\limits_{j=1}^{p}{{{l}_{j}}} \right)}\,\!&amp;lt;/math&amp;gt;,	  &amp;lt;math&amp;gt;x_{i}^{A}={{l}_{i}}+\left( T-\sum\limits_{j=1}^{p}{{{l}_{i}}} \right){{x}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{i}^{R}=\frac{x_{i}^{A}}{T}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{1}^{A}\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;x_{1}^{R}\,\!&amp;lt;/math&amp;gt; are for component A, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}^{R}\,\!&amp;lt;/math&amp;gt; are for component B, and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{3}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{3}^{R}\,\!&amp;lt;/math&amp;gt; are for component C. &lt;br /&gt;
&lt;br /&gt;
Since components in this example have both lower and upper limit constraints, an extreme vertex design is used. The design settings are given below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.9.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The created design in terms of L-pseudocomponent values is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.10.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in amount values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.11.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in proportion values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.12.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
====Check Constraint Consistency====&lt;br /&gt;
&lt;br /&gt;
In the above example, all the constraints are consistent. However, if we set the constraints to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then they are not consistent. This is because the total is only 3.8, but the sum of all the lower limits is 4.7. Therefore, not all the lower limits can be satisfied at the same time. If only lower limits and upper limits are presented for all the components, then we can adjust the lower bounds to make the constraints consistent. The method given by [Pieple 1983] is used and summarized below.&lt;br /&gt;
&lt;br /&gt;
Defined the range of a component to be &amp;lt;math&amp;gt;{{R}_{i}}={{U}_{i}}-{{L}_{i}}\,\!&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;{{U}_{i}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{i}}\,\!&amp;lt;/math&amp;gt; are the upper and lower limit for component i. The implied range of component i is  &lt;br /&gt;
&amp;lt;math&amp;gt;R_{i}^{*}=U_{i}^{*}-L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;L_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{U}_{i}}}\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;U_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{L}_{i}}}\,\!&amp;lt;/math&amp;gt;. T is the total amount. The steps for checking and adjusting bounds are given below. &lt;br /&gt;
&lt;br /&gt;
Step 1:  Check if &amp;lt;math&amp;gt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt; are greater than 0, if they are, then these constraints meet the basic requirement to be consistent. We can move forward to step 2. If not, these constraints cannot be adjusted to be consistent. We should stop. &lt;br /&gt;
&lt;br /&gt;
Step 2: For each component, check if &amp;lt;math&amp;gt;{{L}_{i}}\ge L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{U}_{i}}\le U_{i}^{*}\,\!&amp;lt;/math&amp;gt;. If they are, then this component’s constraints are consistent. Otherwise, if &amp;lt;math&amp;gt;{{L}_{i}}&amp;lt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{L}_{i}}=L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;{{U}_{i}}&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{U}_{i}}=U_{i}^{*}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Step 3: Whenever a bound is changed, restart from Step 1 to use the new bound to check if all the constraints are consistent. Repeat this until all the limits are consistent. &lt;br /&gt;
 &lt;br /&gt;
For extreme vertex design where linear constraints are allowed, the DOE folio will give a warning and stop creating the design if inconsistent linear combination constraints are found. No adjustment will be conducted for linear constraints.&lt;br /&gt;
&lt;br /&gt;
===Response Trace Plot===&lt;br /&gt;
&lt;br /&gt;
Due to the correlation between all the components, the regular t-test is not used to test the significance of each component. A special plot called the Response Trace Plot can be used to see how the response changes when each component changes from its reference point [John Cornell]. &lt;br /&gt;
&lt;br /&gt;
A reference point can be any point inside the experiment space. An imaginary line can be drawn from this reference point to each vertex &amp;lt;math&amp;gt;{{x}_{i}}=1\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;i\ne j\,\!&amp;lt;/math&amp;gt;). This line is the direction for component i to change. Component i can either increase or decrease its value along this line, while the ratio of other components &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j,k\ne i\,\!&amp;lt;/math&amp;gt;) will keep constant. If the simplex plot is defined in terms of proportion, then the direction is called Cox’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; is the ratio of proportion. If the simplex plot is defined in terms of pseduocomponent value, then the direction is called Pieple’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; will be the ratio of pseduocomponent values. &lt;br /&gt;
&lt;br /&gt;
Assume the reference point in terms of proportion is &amp;lt;math&amp;gt;s=\left( {{s}_{1}},{{s}_{2}},...,{{s}_{q}} \right)\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{s}_{1}}+{{s}_{2}}+...+{{s}_{q}}=1\,\!&amp;lt;/math&amp;gt;. Suppose the proportion of component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; is now changed by &amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; could be greater than or less than 0) in Cox’s direction, so that the new proportion becomes &amp;lt;math&amp;gt;{{x}_{i}}={{s}_{i}}+{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the proportions of the remaining &amp;lt;math&amp;gt;q-1\,\!&amp;lt;/math&amp;gt; components resulting from the change from &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; will be&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{j}}={{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the change, the ratio of component j and k is unchanged. This is because&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{{{x}_{j}}}{{{x}_{k}}}=\frac{{{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}}{{{s}_{k}}-\frac{{{\Delta }_{i}}{{s}_{k}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\frac{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
While &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; is changed along Cox’s direction, we can use a fitted regression model to get the response value y.  A response trace plot for a mixture design with three components will look like &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.13.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The x-axis is the deviation amount from the reference point, and the y-value is the fitted response. Each component has one curve. Since the red curve for component A changes significantly, this means it has a significant effect along its axial. The blue curve for component C is almost flat; this means when C changes along Cox’s direction and other components keep the same ratio, the response Y does not change very much. The effect of component B is between component A and C.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Watermelon (A), pineapple (B) and orange juice (C) are used for making 3.8 liters of fruit punch. At least 30% of the fruit punch must be watermelon. Therefore the constraints are&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.14\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le B\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Different blends of the three-juice recipe were evaluated by a panel. A value from 1 (extremely poor) to 9 (very good) is used for the response [John Cornell, page 74]. A {3, 2} simplex lattice design is used with one center point and three axial points. Three replicates were conducted for each ingredient combination. The settings for creating this design in a DOE folio is &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe_14.14.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The generated design in L-pseudocomponent values and the response values from the experiment are&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.15.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The simplex design point plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.16.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Main effect and 2-way interactions are included in the regression model. The result for the regression model in terms of L-pseudocomponents is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=4.81{{x}_{1}}+6.03{{x}_{2}}+6.16{{x}_{3}}+1.13{{x}_{1}}{{x}_{2}}+2.45{{x}_{1}}{{x}_{3}}+1.69{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression information table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;8&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Regression Information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Term&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Coefficient&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard Error&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Low Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | High Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | T Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A: Watermelon&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8093&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.2845&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.3340&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B: Pineapple&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0274&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.5027&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5522&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | C: Orange&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.1577&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.6330&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.6825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1253&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -1.2934&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.5439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.7960&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.4525&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.0339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8712&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.7348&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.6889&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -0.7298&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.1075&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1947&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows that the taste of the fruit punch is significantly affected by the interaction between watermelon and orange. &lt;br /&gt;
&lt;br /&gt;
The ANOVA table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Anova Table&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Source of Variation&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Degrees of Freedom&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard ErrorSum of Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Mean Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | F Ratio&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Model &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5517&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.3103&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.3181&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0061 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Linear &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.6513&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.8256&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0162&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0076 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.6336&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.0097&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4272&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
|-&lt;br /&gt;
| Residual&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.2829&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3035&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Lack of Fit &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.4563&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1141&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.8825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0006 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | Pure Error&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.8267&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1413&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13.8347&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|} 	 &lt;br /&gt;
&lt;br /&gt;
The simplex contour plot in L-pseudocomponent values is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.17.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
From this plot we can see that as the amount of watermelon is reduced, the taste of the fruit punch becomes better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to find the best proportion of each ingredient, the optimization tool in DOE++ can be utilized. Set the settings as&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.18.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The resulting optimal plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.19.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
This plot shows that when the amounts for watermelon, pineapple and orange juice are 1.141, 1.299 and 1.359, respectively, the rated taste of the fruit punch is highest.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design with Process Variables==&lt;br /&gt;
&lt;br /&gt;
Process variables often play very important roles in mixture experiments. A simple example is baking a cake. Even with the same ingredients, different baking temperatures and baking times can produce completely different results. In order to study the effect of process variables and find their best settings, we need to consider them when conducting a mixture experiment. &lt;br /&gt;
&lt;br /&gt;
An easy way to do this is to make mixtures with the same ingredients in different combinations of process variables. If all the process variables are independent, then we can plan a regular factorial design for these process variables. By combining these designs with a separated mixture design, the effect of mixture components and effect of process variables can be studied. &lt;br /&gt;
&lt;br /&gt;
For example, a {3, 2} simplex lattice design is used for a mixture with 3 components. Together with the center point, it has total of 7 runs or 7 different ingredient combinations. Assume 2 process variables are potentially important and a two level factorial design is used for them. It has a total of 4 combinations for these 2 process variables. If the 7 different mixtures are made under each of the 4 process variable combinations, then the experiment has a total of 28 runs. This is illustrated in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.20.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Of course, if it is possible, all the 28 experiments should be conducted in a random order. &lt;br /&gt;
&lt;br /&gt;
===Model with Process Variables===&lt;br /&gt;
&lt;br /&gt;
In DOE++, regression models including both mixture components and process variables are available. For mixture components, we use L-pseudocomponent values, and for process variables coded values are used. &lt;br /&gt;
&lt;br /&gt;
Assume a design has 3 mixture components and 2 process variables, as illustrated in the above figure. We can use the following models for them. &lt;br /&gt;
&lt;br /&gt;
*For the 3 mixture components, the following special cubic model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For the 2 process variables the following model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\alpha }_{0}}+{{\alpha }_{1}}{{z}_{1}}+{{\alpha }_{2}}{{z}_{2}}+{{\alpha }_{12}}{{z}_{1}}{{z}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The combined model with both mixture components and process variables is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\sum\limits_{i=1}^{3}{\gamma _{i}^{0}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{0}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{1}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{1}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{2}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{2}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{12}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{12}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above combined model has total of 7x4=28 terms. By expanding it, we get the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\gamma _{1}^{0}{{x}_{1}}+\gamma _{2}^{0}{{x}_{2}}+\gamma _{3}^{0}{{x}_{3}}+\gamma _{12}^{0}{{x}_{1}}{{x}_{2}}+\gamma _{13}^{0}{{x}_{1}}{{x}_{3}}+\gamma _{23}^{0}{{x}_{2}}{{x}_{3}}+\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{1}{{x}_{1}}{{z}_{1}}+\gamma _{2}^{1}{{x}_{2}}{{z}_{1}}+\gamma _{3}^{1}{{x}_{3}}{{z}_{1}}+\gamma _{12}^{1}{{x}_{1}}{{x}_{2}}{{z}_{1}}+\gamma _{13}^{1}{{x}_{1}}{{x}_{3}}{{z}_{1}}+\gamma _{23}^{1}{{x}_{2}}{{x}_{3}}{{z}_{1}}+\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{2}{{x}_{1}}{{z}_{2}}+\gamma _{2}^{2}{{x}_{2}}{{z}_{2}}+\gamma _{3}^{2}{{x}_{3}}{{z}_{2}}+\gamma _{12}^{2}{{x}_{1}}{{x}_{2}}{{z}_{2}}+\gamma _{13}^{2}{{x}_{1}}{{x}_{3}}{{z}_{2}}+\gamma _{23}^{2}{{x}_{2}}{{x}_{3}}{{z}_{2}}+\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{12}{{x}_{1}}{{z}_{1}}{{z}_{2}}+\gamma _{2}^{12}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{3}^{12}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{12}^{12}{{x}_{1}}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{13}^{12}{{x}_{1}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{23}^{12}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The combined model basically crosses every term in the mixture components model with every term in the process variables model. From a mathematical point of view, this model is just a regular regression model. Therefore, the traditional regression analysis method can still be used for obtaining the model coefficients and calculating the ANOVA table.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Three kinds of meats (beef, pork and lamb) are mixed together to form burger patties. The meat comprises 90% of the total mixture, with the remaining 10% reserved for flavoring ingredients. A {3, 2} simplex design with the center point is used for the experiment. The design has 7 meat combinations, which are given below using L-pseudocomponent values. &lt;br /&gt;
	&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	1&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two process variables on making the patties are also studied: cooking temperature and cooking time. The low and high temperature values are 375°F and 425°F, and the low and high time values are 25 and 40 minutes. A two level full factorial design is used and displayed below with coded values. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Temperature&lt;br /&gt;
!Time&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
One of the properties of the burger patties is texture. The texture is measured by a compression test that measures the grams of force required to puncture the surface of the patty. &lt;br /&gt;
&lt;br /&gt;
Combining the simplex design and the factorial design together, we get the following 28 runs. The corresponding texture reading for each blend is also provided. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Standard Order&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
!Z1: Temperature&lt;br /&gt;
!Z2: Time&lt;br /&gt;
!Texture (&amp;lt;math&amp;gt;10^3\,\!&amp;lt;/math&amp;gt; gram)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	0||	0||	-1||	-1||	1.84&lt;br /&gt;
|-&lt;br /&gt;
|2||	0.5||	0.5||	0||	-1||	-1||	0.67&lt;br /&gt;
|-&lt;br /&gt;
|3||	0.5||	0||	0.5||	-1||	-1||	1.51&lt;br /&gt;
|-&lt;br /&gt;
|4||	0||	1||	0||	-1||	-1||	1.29&lt;br /&gt;
|-&lt;br /&gt;
|5||	0||	0.5||	0.5||	-1||	-1||	1.42&lt;br /&gt;
|-&lt;br /&gt;
|6||	0||	0||	1||	-1||	-1||	1.16&lt;br /&gt;
|-&lt;br /&gt;
|7||	0.333||	0.333||	0.333||	-1||	-1||	1.59&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	0||	0||	1||	-1||	2.86&lt;br /&gt;
|-&lt;br /&gt;
|9||	0.5||	0.5||	0||	1||	-1||	1.1&lt;br /&gt;
|-&lt;br /&gt;
|10||	0.5||	0||	0.5||	1||	-1||	1.6&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	1||	0||	1||	-1||	1.53&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0.5||	0.5||	1||	-1||	1.81&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	1||	1||	-1||	1.5&lt;br /&gt;
|-&lt;br /&gt;
|14||	0.333||	0.333||	0.333||	1||	-1||	1.68&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	0||	0||	-1||	1||	3.01&lt;br /&gt;
|-&lt;br /&gt;
|16||	0.5||	0.5||	0||	-1||	1||	1.21&lt;br /&gt;
|-&lt;br /&gt;
|17||	0.5||	0||	0.5||	-1||	1||	2.32&lt;br /&gt;
|-&lt;br /&gt;
|18||	0||	1||	0||	-1||	1||	1.93&lt;br /&gt;
|-&lt;br /&gt;
|19||	0||	0.5||	0.5||	-1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|20||	0||	0||	1||	-1||	1||	1.83&lt;br /&gt;
|-&lt;br /&gt;
|21||	0.333||	0.3333||	0.333||	-1||	1||	1.94&lt;br /&gt;
|-&lt;br /&gt;
|22||	1||	0||	0||	1||	1||	4.13&lt;br /&gt;
|-&lt;br /&gt;
|23||	0.5||	0.5||	0||	1||	1||	1.67&lt;br /&gt;
|-&lt;br /&gt;
|24||	0.5||	0||	0.5||	1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|25||	0||	1||	0||	1||	1||	2.26&lt;br /&gt;
|-&lt;br /&gt;
|26||	0||	0.5||	0.5||	1||	1||	3.15&lt;br /&gt;
|-&lt;br /&gt;
|27||	0||	0||	1||	1||	1||	2.22&lt;br /&gt;
|-&lt;br /&gt;
|28||	0.333||	0.333||	0.333||	1||	1||	2.6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a quadratic model for the mixture component and a 2-way interaction model for the process variables, we get the following results. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot;  &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;|| 2.9421|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;|| 	1.7346|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;|| 	1.6596|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;|| 	-4.4170|| 	0.5680|| 	-7.7766|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0015 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|A • C|| 	-0.9170|| 	0.5680|| 	-1.6146|| 	0.1817|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;|| 	2.4480|| 	0.5680|| 	4.3099|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0125 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;|| 	0.5324|| 	0.1236|| 	4.3084|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0126 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B|| 	0.1399|| 	0.1236|| 	1.1319|| 	0.3209|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • C|| 	0.1799|| 	0.1236|| 	1.4557|| 	0.2192|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • B|| 	-0.4123|| 	0.5680|| 	-0.7260|| 	0.5081|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • C|| 	-1.0423|| 	0.5680|| 	-1.8352|| 	0.1404|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B • C|| 	0.3727|| 	0.5680|| 	0.6561|| 	0.5476|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;|| 	0.6193|| 	0.1236|| 	5.0117|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0074 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;|| 	0.3518|| 	0.1236|| 	2.8468|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0465 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;|| 	0.3568|| 	0.1236|| 	2.8873|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0447 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • B|| 	-0.9802|| 	0.5680|| 	-1.7258|| 	0.1595|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • C|| 	-0.3202|| 	0.5680|| 	-0.5638|| 	0.6030|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • B • C|| 	0.9248|| 	0.5680|| 	1.6282|| 	0.1788|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A|| 	0.0177|| 	0.1236|| 	0.1433|| 	0.8930|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B|| 	0.0152|| 	0.1236|| 	0.1231|| 	0.9080|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • C|| 	0.0052|| 	0.1236|| 	0.0422|| 	0.9684|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • B|| 	0.0808|| 	0.5680|| 	0.1423|| 	0.8937|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • C|| 	0.2308|| 	0.5680|| 	0.4064|| 	0.7052|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B • C|| 	0.2658|| 	0.5680|| 	0.4680|| 	0.6641|| 	1.5695&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows that all the terms with &amp;lt;math&amp;gt;{{z}_{1}}\times {{z}_{2}}\,\!&amp;lt;/math&amp;gt; have very large P values, therefore, we can remove these terms from the model. We can also remove other terms with P values larger than 0.5. After recalculating with the desired terms, the final results are&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;||	2.9421||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;||	1.7346||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;||	1.6596||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||	-4.4170||	0.4023||	-10.9782|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 6.0305E-08 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;||	-0.9170||	0.4023||	-2.2792|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0402 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||	2.4480||	0.4023||	6.0842|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.8782E-05 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||	0.4916||	0.0799||	6.1531|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.4705E-05 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt;||	0.1365||	0.0725||	1.8830|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0823 &amp;lt;/span&amp;gt;||	1.0971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||	0.2176||	0.0799||	2.7235|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0174 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||	-1.0406||	0.4015||	-2.5916|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0224 &amp;lt;/span&amp;gt;||	1.5631&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||	0.5910||	0.0800||	7.3859|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 5.3010E-06 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||	0.3541||	0.0875||	4.0475|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0014 &amp;lt;/span&amp;gt;||	1.5971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||	0.3285||	0.0800||	4.1056|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0012 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||	-0.9654||	0.4019||	-2.4020|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0320 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||	0.9396||	0.4019||	2.3378|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0360 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The regression model is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=2.9421{{x}_{1}}+1.7346{{x}_{2}}+1.6596{{x}_{3}}-4.4170{{x}_{1}}{{x}_{2}}-0.9170{{x}_{1}}{{x}_{3}}+2.4480{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +0.4916{{x}_{1}}{{z}_{1}}+0.1365{{x}_{2}}{{z}_{1}}+0.2176{{x}_{3}}{{z}_{1}}-1.0406{{x}_{1}}{{x}_{3}}{{z}_{1}}+0.5910{{x}_{1}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.3541{{x}_{2}}{{z}_{2}}+0.3285{{x}_{3}}{{z}_{2}}-0.9654{{x}_{1}}{{x}_{2}}{{z}_{2}}+0.9396{{x}_{2}}{{x}_{3}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ANOVA table for this model is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;  &lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background: #CCCCCC;&amp;quot;|ANOVA Table&lt;br /&gt;
|-&lt;br /&gt;
!Source of Variation||Degrees of Freedom||Sum of Squares [Partial]||	Mean Squares [Partial]||	F Ratio||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Model&amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	14||style=&amp;quot;text-align: center&amp;quot;|	14.5066||style=&amp;quot;text-align: center&amp;quot;|	1.0362||	style=&amp;quot;text-align: center&amp;quot;|33.5558||style=&amp;quot;text-align: center&amp;quot;|	6.8938E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component Only	 || || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Linear &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	2||style=&amp;quot;text-align: center&amp;quot;|	4.1446||style=&amp;quot;text-align: center&amp;quot;|	2.0723||style=&amp;quot;text-align: center&amp;quot;|	67.1102||style=&amp;quot;text-align: center&amp;quot;|	1.4088E-07&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	120.5208||style=&amp;quot;text-align: center&amp;quot;|	6.0305E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	5.1949||style=&amp;quot;text-align: center&amp;quot;|	0.0402&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	37.0173	||style=&amp;quot;text-align: center&amp;quot;|3.8782E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z1||	 || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	37.8604||style=&amp;quot;text-align: center&amp;quot;|	3.4705E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	3.5456||style=&amp;quot;text-align: center&amp;quot;|	0.0823&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	7.4172||style=&amp;quot;text-align: center&amp;quot;|	0.0174&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	6.7165||style=&amp;quot;text-align: center&amp;quot;|	0.0224&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z2|| || || || ||	 	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.6845||style=&amp;quot;text-align: center&amp;quot;|	1.6845||	style=&amp;quot;text-align: center&amp;quot;|54.5517||style=&amp;quot;text-align: center&amp;quot;|	5.3010E-06&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	16.3819||style=&amp;quot;text-align: center&amp;quot;|	0.0014&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	16.8556||style=&amp;quot;text-align: center&amp;quot;|	0.0012&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	5.7698||style=&amp;quot;text-align: center&amp;quot;|	0.0320&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	5.4651||style=&amp;quot;text-align: center&amp;quot;|	0.0360&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Residual ||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309|| ||	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Lack of Fit||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309	 ||	|| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Total||style=&amp;quot;text-align: center&amp;quot;|	27||style=&amp;quot;text-align: center&amp;quot;|	14.9080|| || || 	 	 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows both process factors have significant effects on the texture of the patties. Since the model is pretty complicate, the best settings for the process variables and for components cannot be easily identified. &lt;br /&gt;
&lt;br /&gt;
The optimization tool in DOE++ is used for the above model. The target texture value is &amp;lt;math&amp;gt;3\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams with an acceptable range of &amp;lt;math&amp;gt;2.5-3.5\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.21.png|600 px|center]]&lt;br /&gt;
&lt;br /&gt;
The optimal solution is Beef = 98.5%, Pork = 0.7%, Lamb = 0.7%, Temperature = 375.7, and Time = 40.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1.	Cornell, John (2002), Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data, John Wiley &amp;amp; Sons, Inc. New York.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
2.	Piepel, G. F. (1983), “Defining consistent constraint regions in mixture experiments,” Technometrics, Vol. 25, pp. 97-101. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
3.	Snee, R. D. (1979), “Experimental designs for mixture systems with multiple component constraints,” Communications in Statistics, Theory and Methods, Bol. A8, pp. 303-326.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65201</id>
		<title>Mixture Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65201"/>
		<updated>2017-08-10T16:58:18Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* Check Constraint Consistency */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|14}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
When a product is formed by mixing together two or more ingredients, the product is called a mixture, and the ingredients are called mixture components. In a general mixture problem, the measured response is assumed to depend only on the proportions of the ingredients in the mixture, not the amount of the mixture. For example, the taste of a fruit punch recipe (i.e., the response) might depend on the proportions of watermelon, pineapple and orange juice in the mixture. The taste of a small cup of fruit punch will obviously be the same as a big cup.&lt;br /&gt;
&lt;br /&gt;
Sometimes the responses of a mixture experiment depend not only on the proportions of ingredients, but also on the settings of variables in the process of making the mixture. For example, the tensile strength of stainless steel is not only affected by the proportions of iron, copper, nickel and chromium in the alloy; it is also affected by process variables such as temperature, pressure and curing time used in the experiment. &lt;br /&gt;
&lt;br /&gt;
One of the purposes of conducting a mixture experiment is to find the best proportion of each component and the best value of each process variable, in order to optimize a single response or multiple responses simultaneously. In this chapter, we will discuss how to design effective mixture designs and how to analyze data from mixture experiments with and without process variables. &lt;br /&gt;
&lt;br /&gt;
==Mixture Design Types==&lt;br /&gt;
&lt;br /&gt;
There are several different types of mixture designs. The most common ones are simplex lattice, simplex centroid, simplex axial and extreme vertex designs, each of which is used for a different purpose. &lt;br /&gt;
&lt;br /&gt;
*If there are many components in a mixture, the first choice is to screen out the most important ones. Simplex axial and Simplex centroid designs are used for this purpose. &lt;br /&gt;
*If the number of components is not large, but a high order polynomial equation is needed in order to accurately describe the response surface, then a simplex lattice design can be used.&lt;br /&gt;
*Extreme vertex designs are used for the cases when there are constraints on one or more components (e.g., if the proportion of watermelon juice in a fruit punch recipe is required to be less than 30%, and the combined proportion of watermelon and orange juice should always be between 40% and 70%).  &lt;br /&gt;
&lt;br /&gt;
===Simplex Plot===&lt;br /&gt;
&lt;br /&gt;
Since the sum of all the mixture components is always 100%, the experiment space usually is given by a plot. The experiment space for the fruit punch experiment is given in the following triangle or simplex plot. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.1.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
The triangle area in the above plot is defined by the fact that the sum of the three ingredients is 1 (100%). For the points that are on the vertices, the punch only has one ingredient. For instance, point 1 only has watermelon. The line opposite of point 1 represents a mixture with no watermelon . &lt;br /&gt;
&lt;br /&gt;
The coordinate system used for the value of each ingredient &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;i=1,2,...,q\,\!&amp;lt;/math&amp;gt; is called a simplex coordinate system. q is the number of ingredients. The simplex plot can only visually display three ingredients. If there are more than three ingredients, the values for other ingredients must be provided. For the fruit punch example, the coordinate for point 1 is (1, 0, 0). The interior points of the triangle represent mixtures in which none of the three components is absent. It means all &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;i=1,2,3\,\!&amp;lt;/math&amp;gt;. Point 0 in the middle of the triangle is called the center point. In this case, it is the centroid of a face/plane. The coordinate for point 0 is (1/3, 1/3, 1/3). Points 2, 4 and 6 are each called a centroid of edge. Their coordinates are (0.5, 0.5, 0), (0, 0.5, 0.5), and (0.5, 0, 0.5).&lt;br /&gt;
&lt;br /&gt;
===Simplex Lattice Design===&lt;br /&gt;
&lt;br /&gt;
The response in a mixture experiment usually is described by a polynomial function. This function represents how the components affect the response. To better study the shape of the response surface, the natural choice for a design would be the one whose points are spread evenly over the whole simplex. An ordered arrangement consisting of a uniformly spaced distribution of points on a simplex is known as a lattice. &lt;br /&gt;
&lt;br /&gt;
A {q, m} simplex lattice design for q components consists of points defined by the following coordinate settings: the proportions assumed by each component take the m+1 equally spaced values from 0 to 1, &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{m},\frac{2}{m},....,1\text{      }i=1,2,....,q\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the design space consists of all the reasonable combinations of all the values for each factor. m is usually called the degree of the lattice. For example, for a {3, 2} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{2},1\,\!&amp;lt;/math&amp;gt; and its design space has 6 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.2.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
For a {3, 3} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{3},\frac{2}{3},1\,\!&amp;lt;/math&amp;gt;, and its design space has 10 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.3.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
For a simplex design with degree of m, each component has m + 1 different values, therefore, the experiment results can be used to fit a polynomial equation up to an order of m. A {3, 3} simplex lattice design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the full cubic model. Note that the intercept term is not included in the model due to the correlation between all the components (their sum is 100%). &lt;br /&gt;
&lt;br /&gt;
Simplex lattice design includes all the component combinations. For a {q, m} design, the total number of runs is &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q+m-1 \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;. Therefore to reduce the number of runs and still be able to fit a high order polynomial model, sometimes we can use simplex centroid design which is explained next.&lt;br /&gt;
&lt;br /&gt;
===Simplex Centroid Design===&lt;br /&gt;
&lt;br /&gt;
A simplex centroid design only includes the centroid points. For the components that appear in a run in a simplex centroid design, they have the same values. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.4.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
In the above simplex plot, points 2, 4 and 6 are 2nd degree centroids. Each of them has two non-zero components with equal values. Point 0 is a 3rd degree centroid and all three components have the same value. For a design with q components, the highest degree of centroid is q. It is called the overall centroid, or the center point of the design. &lt;br /&gt;
&lt;br /&gt;
For a q component simplex centroid design with a degree of centroid of q, the total number of runs is &lt;br /&gt;
&amp;lt;math&amp;gt;{{2}^{q}}-1\,\!&amp;lt;/math&amp;gt;. The runs correspond to the q permutations of (1, 0, 0,…, 0), &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/2, 1/2, 0, 0, 0, 0, …,0), the &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 3 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/3, 1/3, 1/3, 0, 0, 0, 0,…, 0)…., and the overall centroid (1/q, 1/q, …, 1/q).  If the degree of centroid is defined as &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; (m &amp;lt; q), then the total number of runs will be &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 1 \\ &lt;br /&gt;
\end{align} \right)+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)+...+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since a simplex centroid design usually has fewer runs than a simplex lattice design with the same degree, a polynomial model with fewer terms should be used. A {3, 3} simplex centroid design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the special cubic model. Note that the intercept term is not included due to the correlation between all the components (their sum is 100%).&lt;br /&gt;
&lt;br /&gt;
===Simplex Axial Design===&lt;br /&gt;
&lt;br /&gt;
The simplex lattice and simplex centroid designs are boundary designs since the points of these designs are positioned on boundaries (vertices, edges, faces, etc.) of the simplex factor space, with the exception of the overall centroid. Axial designs, on the other hand, are designs consisting mainly of the points positioned inside the simplex. Axial designs have been recommended for use when component effects are to be measured in a screening experiment, particularly when first degree models are to be fitted. &lt;br /&gt;
&lt;br /&gt;
Definition of Axial: The axial of a component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; is defined as the imaginary line extending from the base point &amp;lt;math&amp;gt;{{x}_{i}}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{x}_{j}}=1/\left( q-1 \right)\,\!&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;, to the vertex where &amp;lt;math&amp;gt;{{x}_{i}}=1,{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;. [John Cornell]    &lt;br /&gt;
&lt;br /&gt;
In a simplex axial design, all the points are on the axial. The simplest form of axial design is one whose points are positioned equidistant from the overall centroid &amp;lt;math&amp;gt;\left( {1}/{q,{1}/{q,}\;{1}/{q,}\;...}\; \right)\,\!&amp;lt;/math&amp;gt;. Traditionally, points located at the half distance from the overall centroid to the vertex are called axial points/blends. This is illustrated in the following plot.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.5.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 4, 5 and 6 are the axial blends. &lt;br /&gt;
&lt;br /&gt;
By default, a simple axial design in a DOE folio only has vertices, axial blends, centroid of the constraint planes and the overall centroid. For a design with q components, constraint plane centroids are the center points of dimension of q-1 space. One component is 0, and the remaining components have the same values for the center points of constraint planes. The number of the constraint plane centroids is the number of components q. The total number of runs in a simple axial design will be 3q+1. They are q vertex runs, q centroids of constraint planes, q axial blends and 1 overall centroid. &lt;br /&gt;
&lt;br /&gt;
A simplex axial design for 3 components has 10 points as given below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.6.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 1, 2 and 3 are the three vertices; points 4, 5, 6 are the axial blends; points 7, 8 and 9 are the centroids of constraint planes, and point 0 is the overall center point.&lt;br /&gt;
&lt;br /&gt;
===Extreme Vertex Design===&lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs are used when both lower and upper bound constraints on the components are presented, or when linear constraints are added to several components. For example, if a mixture design with 3 components has the following constraints:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;{{x}_{2}}\le 0.7\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;-2{{x}_{1}}+2{{x}_{2}}+3{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;48{{x}_{1}}+13{{x}_{2}}-{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the feasible region is defined by the six points in the following simplex plot. To meet the above constraints, all the runs conducted in the experiment should be in the feasible region or on its boundary. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.7.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The CONSIM method described in [Snee 1979] is used in a Weibull++ DOE folio to check the consistency of all the constraints and to get the vertices defined by them. &lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs by default use the vertices at the boundary. Additional points such as the centroid of spaces of different dimensions, axial points and the overall center point can be added. In extreme vertex designs, axial points are between the overall center point and the vertices.  For the above example, if the axial points and the overall center point are added, then all the runs in the experiment will be:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.8.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Point 0 in the center of the feasible region is the overall centroid. The other red points are the axial points. They are at the middle of the lines connecting the center point with the vertices.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design Data Analysis==&lt;br /&gt;
&lt;br /&gt;
In the following section, we will discuss the most popular regression models in mixture design data analysis. Due to the correlation between all the components in mixture designs, the intercept term usually is not included in the regression model. &lt;br /&gt;
&lt;br /&gt;
===Models Used in Mixture Design===&lt;br /&gt;
&lt;br /&gt;
For a design with three components, the following models are commonly used.&lt;br /&gt;
&lt;br /&gt;
*Linear model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the intercept were included in the model, then the linear model would be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=\beta _{0}^{&#039;}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, since &amp;lt;math&amp;gt;{{x}_{1}}+{{x}_{2}}+{{x}_{3}}=1\,\!&amp;lt;/math&amp;gt; (can be other constants as well), the above equation can be written as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\beta _{0}^{&#039;}\left( {{x}_{1}}+{{x}_{2}}+{{x}_{3}} \right)+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; =\left( \beta _{0}^{&#039;}+\beta _{1}^{&#039;} \right){{x}_{1}}+\left( \beta _{0}^{&#039;}+\beta _{2}^{&#039;} \right){{x}_{2}}+\left( \beta _{0}^{&#039;}+\beta _{3}^{&#039;} \right){{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equation has thus been reformatted to omit the intercept. &lt;br /&gt;
&lt;br /&gt;
*Quadratic model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are no classic quadratic terms such as &amp;lt;math&amp;gt;x_{1}^{2}\,\!&amp;lt;/math&amp;gt;. This is because &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x_{1}^{2}={{x}_{1}}\left( 1-{{x}_{2}}-{{x}_{3}} \right)={{x}_{1}}-{{x}_{1}}{{x}_{2}}-{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Full cubic model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Special cubic model: &amp;lt;math&amp;gt;{{\delta }_{ij}}{{x}_{i}}{{x}_{j}}\left( {{x}_{i}}-{{x}_{j}} \right)\,\!&amp;lt;/math&amp;gt; are removed from the full cubic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above types of models are called Scheffe type models. They can be extended to designs with more than three components. &lt;br /&gt;
&lt;br /&gt;
In regular regression analysis, the effect of an exploratory variable or factor is represented by the value of the coefficient. The ratio of the estimated coefficient and its standard error is used for the t-test. The t-test can tell us if a coefficient is 0 or not. If a coefficient is statistically 0, then the corresponding factor has no significant effect on the response. However, for Scheffe type models, since the intercept term is not included in the model, we cannot use the regular t-test to test each individual main effect. In other words, we cannot test if the coefficient for each component is 0 or not. &lt;br /&gt;
&lt;br /&gt;
Similarly, in the ANOVA analysis, the linear effects of all the components are tested together as a single group. The main effect test for each individual component is not conducted.  To perform ANOVA analysis, the Scheffe type model needs to be reformatted to include the hidden intercept. For example, the linear model&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
can be rewritten as&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}\left( 1-{{x}_{1}}-{{x}_{2}} \right) \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{3}}+\left( {{\beta }_{1}}-{{\beta }_{3}} \right){{x}_{1}}+\left( {{\beta }_{2}}-{{\beta }_{3}} \right){{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{0}}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\beta }_{0}}={{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{1}^{&#039;}={{\beta }_{1}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{2}^{&#039;}={{\beta }_{2}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;. All other models such as the quadratic, cubic and special cubic model can be reformatted using the same procedure. By including the intercept in the model, the correct sum of squares can be calculated in the ANOVA table. If ANOVA analysis is conducted directly using the Scheffe type models, the result will be incorrect.&lt;br /&gt;
&lt;br /&gt;
===L-Pseudocomponent, Proportion, and Actual Values===&lt;br /&gt;
&lt;br /&gt;
In mixture designs, the total amount of the mixture is usually given. For example, we can make either a one-pound or a two-pound cake. Regardless of whether the cake is one or two pounds, the proportion of each ingredient is the same. When the total amount is given, the upper and lower limits for each ingredient are usually given in amounts, which is easier for the experimenter to understand. Of course, if the limits or other constraints are given in terms of proportions, these proportions need be converted to the real amount values when conducting the experiment. To keep everything consistent, all the constraints in a DOE folio are treated as amounts.&lt;br /&gt;
&lt;br /&gt;
In regular factorial design and response surface methods, the regression model is calculated using coded values. Coded values scale all the factors to the same magnitude, which makes the analysis much easier and reduces convergence error. Similarly, the analysis in mixture design is conducted using the so-called L-pseudocomponent value. L-pseudocomponent values scale all the components&#039; values within 0 and 1. In a DOE folio all the designs and calculations for mixture factors are based on L-pseudocomponent values. The relationship between L-pseudocomponent values, proportions and actual amounts are explained next. &lt;br /&gt;
&lt;br /&gt;
====Example for L-Pseudocomponent Value====&lt;br /&gt;
&lt;br /&gt;
We are going to make one gallon (about 3.8 liters) of fruit punch. Three ingredients will be in the punch with the following constraints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_{i}^{A}\,\!&amp;lt;/math&amp;gt; (i = 1, 2, 3) be the actual amount value, &amp;lt;math&amp;gt;x_{i}^{{}}\,\!&amp;lt;/math&amp;gt; be the L-pseudocomponent value and &amp;lt;math&amp;gt;x_{i}^{R}\,\!&amp;lt;/math&amp;gt; be the proportion value. Then the equations for the conversion between them are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=\frac{x_{i}^{A}-{{l}_{i}}}{\left( T-\sum\limits_{j=1}^{p}{{{l}_{j}}} \right)}\,\!&amp;lt;/math&amp;gt;,	  &amp;lt;math&amp;gt;x_{i}^{A}={{l}_{i}}+\left( T-\sum\limits_{j=1}^{p}{{{l}_{i}}} \right){{x}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{i}^{R}=\frac{x_{i}^{A}}{T}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{1}^{A}\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;x_{1}^{R}\,\!&amp;lt;/math&amp;gt; are for component A, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}^{R}\,\!&amp;lt;/math&amp;gt; are for component B, and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{3}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{3}^{R}\,\!&amp;lt;/math&amp;gt; are for component C. &lt;br /&gt;
&lt;br /&gt;
Since components in this example have both lower and upper limit constraints, an extreme vertex design is used. The design settings are given below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.9.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The created design in terms of L-pseudocomponent values is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.10.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in amount values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.11.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in proportion values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.12.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
====Check Constraint Consistency====&lt;br /&gt;
&lt;br /&gt;
In the above example, all the constraints are consistent. However, if we set the constraints to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then they are not consistent. This is because the total is only 3.8, but the sum of all the lower limits is 4.7. Therefore, not all the lower limits can be satisfied at the same time. If only lower limits and upper limits are presented for all the components, then we can adjust the lower bounds to make the constraints consistent. The method given by [Pieple 1983] is used and summarized below.&lt;br /&gt;
&lt;br /&gt;
Defined the range of a component to be &amp;lt;math&amp;gt;{{R}_{i}}={{U}_{i}}-{{L}_{i}}\,\!&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;{{U}_{i}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{i}}\,\!&amp;lt;/math&amp;gt; are the upper and lower limit for component i. The implied range of component i is  &lt;br /&gt;
&amp;lt;math&amp;gt;R_{i}^{*}=U_{i}^{*}-L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;L_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{U}_{i}}}\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;U_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{L}_{i}}}\,\!&amp;lt;/math&amp;gt;. T is the total amount. The steps for checking and adjusting bounds are given below. &lt;br /&gt;
&lt;br /&gt;
Step 1:  Check if &amp;lt;math&amp;gt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt; are greater than 0, if they are, then these constraints meet the basic requirement to be consistent. We can move forward to step 2. If not, these constraints cannot be adjusted to be consistent. We should stop. &lt;br /&gt;
&lt;br /&gt;
Step 2: For each component, check if &amp;lt;math&amp;gt;{{L}_{i}}\ge L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{U}_{i}}\le U_{i}^{*}\,\!&amp;lt;/math&amp;gt;. If they are, then this component’s constraints are consistent. Otherwise, if &amp;lt;math&amp;gt;{{L}_{i}}&amp;lt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{L}_{i}}=L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;{{U}_{i}}&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{U}_{i}}=U_{i}^{*}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Step 3: Whenever a bound is changed, restart from Step 1 to use the new bound to check if all the constraints are consistent. Repeat this until all the limits are consistent. &lt;br /&gt;
 &lt;br /&gt;
For extreme vertex design where linear constraints are allowed, the DOE folio will give a warning and stop creating the design if inconsistent linear combination constraints are found. No adjustment will be conducted for linear constraints.&lt;br /&gt;
&lt;br /&gt;
===Response Trace Plot===&lt;br /&gt;
&lt;br /&gt;
Due to the correlation between all the components, the regular t-test is not used to test the significance of each component. A special plot called the Response Trace Plot can be used to see how the response changes when each component changes from its reference point [John Cornell]. &lt;br /&gt;
&lt;br /&gt;
A reference point can be any point inside the experiment space. An imaginary line can be drawn from this reference point to each vertex &amp;lt;math&amp;gt;{{x}_{i}}=1\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;i\ne j\,\!&amp;lt;/math&amp;gt;). This line is the direction for component i to change. Component i can either increase or decrease its value along this line, while the ratio of other components &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j,k\ne i\,\!&amp;lt;/math&amp;gt;) will keep constant. If the simplex plot is defined in terms of proportion, then the direction is called Cox’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; is the ratio of proportion. If the simplex plot is defined in terms of pseduocomponent value, then the direction is called Pieple’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; will be the ratio of pseduocomponent values. &lt;br /&gt;
&lt;br /&gt;
Assume the reference point in terms of proportion is &amp;lt;math&amp;gt;s=\left( {{s}_{1}},{{s}_{2}},...,{{s}_{q}} \right)\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{s}_{1}}+{{s}_{2}}+...+{{s}_{q}}=1\,\!&amp;lt;/math&amp;gt;. Suppose the proportion of component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; is now changed by &amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; could be greater than or less than 0) in Cox’s direction, so that the new proportion becomes &amp;lt;math&amp;gt;{{x}_{i}}={{s}_{i}}+{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the proportions of the remaining &amp;lt;math&amp;gt;q-1\,\!&amp;lt;/math&amp;gt; components resulting from the change from &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; will be&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{j}}={{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the change, the ratio of component j and k is unchanged. This is because&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{{{x}_{j}}}{{{x}_{k}}}=\frac{{{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}}{{{s}_{k}}-\frac{{{\Delta }_{i}}{{s}_{k}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\frac{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
While &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; is changed along Cox’s direction, we can use a fitted regression model to get the response value y.  A response trace plot for a mixture design with three components will look like &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.13.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The x-axis is the deviation amount from the reference point, and the y-value is the fitted response. Each component has one curve. Since the red curve for component A changes significantly, this means it has a significant effect along its axial. The blue curve for component C is almost flat; this means when C changes along Cox’s direction and other components keep the same ratio, the response Y does not change very much. The effect of component B is between component A and C.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Watermelon (A), pineapple (B) and orange juice (C) are used for making 3.8 liters of fruit punch. At least 30% of the fruit punch must be watermelon. Therefore the constraints are&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.14\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le B\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Different blends of the three-juice recipe were evaluated by a panel. A value from 1 (extremely poor) to 9 (very good) is used for the response [John Cornell, page 74]. A {3, 2} simplex lattice design is used with one center point and three axial points. Three replicates were conducted for each ingredient combination. The settings for creating this design in DOE++ is &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe_14.14.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The generated design in L-pseudocomponent values and the response values from the experiment are&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.15.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The simplex design point plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.16.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Main effect and 2-way interactions are included in the regression model. The result for the regression model in terms of L-pseudocomponents is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=4.81{{x}_{1}}+6.03{{x}_{2}}+6.16{{x}_{3}}+1.13{{x}_{1}}{{x}_{2}}+2.45{{x}_{1}}{{x}_{3}}+1.69{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression information table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;8&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Regression Information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Term&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Coefficient&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard Error&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Low Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | High Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | T Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A: Watermelon&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8093&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.2845&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.3340&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B: Pineapple&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0274&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.5027&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5522&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | C: Orange&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.1577&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.6330&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.6825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1253&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -1.2934&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.5439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.7960&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.4525&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.0339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8712&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.7348&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.6889&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -0.7298&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.1075&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1947&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows that the taste of the fruit punch is significantly affected by the interaction between watermelon and orange. &lt;br /&gt;
&lt;br /&gt;
The ANOVA table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Anova Table&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Source of Variation&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Degrees of Freedom&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard ErrorSum of Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Mean Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | F Ratio&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Model &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5517&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.3103&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.3181&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0061 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Linear &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.6513&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.8256&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0162&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0076 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.6336&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.0097&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4272&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
|-&lt;br /&gt;
| Residual&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.2829&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3035&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Lack of Fit &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.4563&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1141&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.8825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0006 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | Pure Error&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.8267&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1413&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13.8347&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|} 	 &lt;br /&gt;
&lt;br /&gt;
The simplex contour plot in L-pseudocomponent values is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.17.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
From this plot we can see that as the amount of watermelon is reduced, the taste of the fruit punch becomes better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to find the best proportion of each ingredient, the optimization tool in DOE++ can be utilized. Set the settings as&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.18.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The resulting optimal plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.19.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
This plot shows that when the amounts for watermelon, pineapple and orange juice are 1.141, 1.299 and 1.359, respectively, the rated taste of the fruit punch is highest.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design with Process Variables==&lt;br /&gt;
&lt;br /&gt;
Process variables often play very important roles in mixture experiments. A simple example is baking a cake. Even with the same ingredients, different baking temperatures and baking times can produce completely different results. In order to study the effect of process variables and find their best settings, we need to consider them when conducting a mixture experiment. &lt;br /&gt;
&lt;br /&gt;
An easy way to do this is to make mixtures with the same ingredients in different combinations of process variables. If all the process variables are independent, then we can plan a regular factorial design for these process variables. By combining these designs with a separated mixture design, the effect of mixture components and effect of process variables can be studied. &lt;br /&gt;
&lt;br /&gt;
For example, a {3, 2} simplex lattice design is used for a mixture with 3 components. Together with the center point, it has total of 7 runs or 7 different ingredient combinations. Assume 2 process variables are potentially important and a two level factorial design is used for them. It has a total of 4 combinations for these 2 process variables. If the 7 different mixtures are made under each of the 4 process variable combinations, then the experiment has a total of 28 runs. This is illustrated in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.20.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Of course, if it is possible, all the 28 experiments should be conducted in a random order. &lt;br /&gt;
&lt;br /&gt;
===Model with Process Variables===&lt;br /&gt;
&lt;br /&gt;
In DOE++, regression models including both mixture components and process variables are available. For mixture components, we use L-pseudocomponent values, and for process variables coded values are used. &lt;br /&gt;
&lt;br /&gt;
Assume a design has 3 mixture components and 2 process variables, as illustrated in the above figure. We can use the following models for them. &lt;br /&gt;
&lt;br /&gt;
*For the 3 mixture components, the following special cubic model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For the 2 process variables the following model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\alpha }_{0}}+{{\alpha }_{1}}{{z}_{1}}+{{\alpha }_{2}}{{z}_{2}}+{{\alpha }_{12}}{{z}_{1}}{{z}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The combined model with both mixture components and process variables is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\sum\limits_{i=1}^{3}{\gamma _{i}^{0}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{0}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{1}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{1}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{2}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{2}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{12}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{12}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above combined model has total of 7x4=28 terms. By expanding it, we get the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\gamma _{1}^{0}{{x}_{1}}+\gamma _{2}^{0}{{x}_{2}}+\gamma _{3}^{0}{{x}_{3}}+\gamma _{12}^{0}{{x}_{1}}{{x}_{2}}+\gamma _{13}^{0}{{x}_{1}}{{x}_{3}}+\gamma _{23}^{0}{{x}_{2}}{{x}_{3}}+\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{1}{{x}_{1}}{{z}_{1}}+\gamma _{2}^{1}{{x}_{2}}{{z}_{1}}+\gamma _{3}^{1}{{x}_{3}}{{z}_{1}}+\gamma _{12}^{1}{{x}_{1}}{{x}_{2}}{{z}_{1}}+\gamma _{13}^{1}{{x}_{1}}{{x}_{3}}{{z}_{1}}+\gamma _{23}^{1}{{x}_{2}}{{x}_{3}}{{z}_{1}}+\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{2}{{x}_{1}}{{z}_{2}}+\gamma _{2}^{2}{{x}_{2}}{{z}_{2}}+\gamma _{3}^{2}{{x}_{3}}{{z}_{2}}+\gamma _{12}^{2}{{x}_{1}}{{x}_{2}}{{z}_{2}}+\gamma _{13}^{2}{{x}_{1}}{{x}_{3}}{{z}_{2}}+\gamma _{23}^{2}{{x}_{2}}{{x}_{3}}{{z}_{2}}+\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{12}{{x}_{1}}{{z}_{1}}{{z}_{2}}+\gamma _{2}^{12}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{3}^{12}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{12}^{12}{{x}_{1}}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{13}^{12}{{x}_{1}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{23}^{12}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The combined model basically crosses every term in the mixture components model with every term in the process variables model. From a mathematical point of view, this model is just a regular regression model. Therefore, the traditional regression analysis method can still be used for obtaining the model coefficients and calculating the ANOVA table.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Three kinds of meats (beef, pork and lamb) are mixed together to form burger patties. The meat comprises 90% of the total mixture, with the remaining 10% reserved for flavoring ingredients. A {3, 2} simplex design with the center point is used for the experiment. The design has 7 meat combinations, which are given below using L-pseudocomponent values. &lt;br /&gt;
	&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	1&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two process variables on making the patties are also studied: cooking temperature and cooking time. The low and high temperature values are 375°F and 425°F, and the low and high time values are 25 and 40 minutes. A two level full factorial design is used and displayed below with coded values. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Temperature&lt;br /&gt;
!Time&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
One of the properties of the burger patties is texture. The texture is measured by a compression test that measures the grams of force required to puncture the surface of the patty. &lt;br /&gt;
&lt;br /&gt;
Combining the simplex design and the factorial design together, we get the following 28 runs. The corresponding texture reading for each blend is also provided. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Standard Order&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
!Z1: Temperature&lt;br /&gt;
!Z2: Time&lt;br /&gt;
!Texture (&amp;lt;math&amp;gt;10^3\,\!&amp;lt;/math&amp;gt; gram)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	0||	0||	-1||	-1||	1.84&lt;br /&gt;
|-&lt;br /&gt;
|2||	0.5||	0.5||	0||	-1||	-1||	0.67&lt;br /&gt;
|-&lt;br /&gt;
|3||	0.5||	0||	0.5||	-1||	-1||	1.51&lt;br /&gt;
|-&lt;br /&gt;
|4||	0||	1||	0||	-1||	-1||	1.29&lt;br /&gt;
|-&lt;br /&gt;
|5||	0||	0.5||	0.5||	-1||	-1||	1.42&lt;br /&gt;
|-&lt;br /&gt;
|6||	0||	0||	1||	-1||	-1||	1.16&lt;br /&gt;
|-&lt;br /&gt;
|7||	0.333||	0.333||	0.333||	-1||	-1||	1.59&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	0||	0||	1||	-1||	2.86&lt;br /&gt;
|-&lt;br /&gt;
|9||	0.5||	0.5||	0||	1||	-1||	1.1&lt;br /&gt;
|-&lt;br /&gt;
|10||	0.5||	0||	0.5||	1||	-1||	1.6&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	1||	0||	1||	-1||	1.53&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0.5||	0.5||	1||	-1||	1.81&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	1||	1||	-1||	1.5&lt;br /&gt;
|-&lt;br /&gt;
|14||	0.333||	0.333||	0.333||	1||	-1||	1.68&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	0||	0||	-1||	1||	3.01&lt;br /&gt;
|-&lt;br /&gt;
|16||	0.5||	0.5||	0||	-1||	1||	1.21&lt;br /&gt;
|-&lt;br /&gt;
|17||	0.5||	0||	0.5||	-1||	1||	2.32&lt;br /&gt;
|-&lt;br /&gt;
|18||	0||	1||	0||	-1||	1||	1.93&lt;br /&gt;
|-&lt;br /&gt;
|19||	0||	0.5||	0.5||	-1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|20||	0||	0||	1||	-1||	1||	1.83&lt;br /&gt;
|-&lt;br /&gt;
|21||	0.333||	0.3333||	0.333||	-1||	1||	1.94&lt;br /&gt;
|-&lt;br /&gt;
|22||	1||	0||	0||	1||	1||	4.13&lt;br /&gt;
|-&lt;br /&gt;
|23||	0.5||	0.5||	0||	1||	1||	1.67&lt;br /&gt;
|-&lt;br /&gt;
|24||	0.5||	0||	0.5||	1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|25||	0||	1||	0||	1||	1||	2.26&lt;br /&gt;
|-&lt;br /&gt;
|26||	0||	0.5||	0.5||	1||	1||	3.15&lt;br /&gt;
|-&lt;br /&gt;
|27||	0||	0||	1||	1||	1||	2.22&lt;br /&gt;
|-&lt;br /&gt;
|28||	0.333||	0.333||	0.333||	1||	1||	2.6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a quadratic model for the mixture component and a 2-way interaction model for the process variables, we get the following results. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot;  &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;|| 2.9421|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;|| 	1.7346|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;|| 	1.6596|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;|| 	-4.4170|| 	0.5680|| 	-7.7766|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0015 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|A • C|| 	-0.9170|| 	0.5680|| 	-1.6146|| 	0.1817|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;|| 	2.4480|| 	0.5680|| 	4.3099|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0125 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;|| 	0.5324|| 	0.1236|| 	4.3084|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0126 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B|| 	0.1399|| 	0.1236|| 	1.1319|| 	0.3209|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • C|| 	0.1799|| 	0.1236|| 	1.4557|| 	0.2192|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • B|| 	-0.4123|| 	0.5680|| 	-0.7260|| 	0.5081|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • C|| 	-1.0423|| 	0.5680|| 	-1.8352|| 	0.1404|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B • C|| 	0.3727|| 	0.5680|| 	0.6561|| 	0.5476|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;|| 	0.6193|| 	0.1236|| 	5.0117|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0074 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;|| 	0.3518|| 	0.1236|| 	2.8468|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0465 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;|| 	0.3568|| 	0.1236|| 	2.8873|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0447 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • B|| 	-0.9802|| 	0.5680|| 	-1.7258|| 	0.1595|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • C|| 	-0.3202|| 	0.5680|| 	-0.5638|| 	0.6030|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • B • C|| 	0.9248|| 	0.5680|| 	1.6282|| 	0.1788|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A|| 	0.0177|| 	0.1236|| 	0.1433|| 	0.8930|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B|| 	0.0152|| 	0.1236|| 	0.1231|| 	0.9080|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • C|| 	0.0052|| 	0.1236|| 	0.0422|| 	0.9684|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • B|| 	0.0808|| 	0.5680|| 	0.1423|| 	0.8937|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • C|| 	0.2308|| 	0.5680|| 	0.4064|| 	0.7052|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B • C|| 	0.2658|| 	0.5680|| 	0.4680|| 	0.6641|| 	1.5695&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows that all the terms with &amp;lt;math&amp;gt;{{z}_{1}}\times {{z}_{2}}\,\!&amp;lt;/math&amp;gt; have very large P values, therefore, we can remove these terms from the model. We can also remove other terms with P values larger than 0.5. After recalculating with the desired terms, the final results are&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;||	2.9421||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;||	1.7346||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;||	1.6596||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||	-4.4170||	0.4023||	-10.9782|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 6.0305E-08 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;||	-0.9170||	0.4023||	-2.2792|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0402 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||	2.4480||	0.4023||	6.0842|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.8782E-05 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||	0.4916||	0.0799||	6.1531|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.4705E-05 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt;||	0.1365||	0.0725||	1.8830|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0823 &amp;lt;/span&amp;gt;||	1.0971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||	0.2176||	0.0799||	2.7235|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0174 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||	-1.0406||	0.4015||	-2.5916|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0224 &amp;lt;/span&amp;gt;||	1.5631&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||	0.5910||	0.0800||	7.3859|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 5.3010E-06 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||	0.3541||	0.0875||	4.0475|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0014 &amp;lt;/span&amp;gt;||	1.5971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||	0.3285||	0.0800||	4.1056|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0012 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||	-0.9654||	0.4019||	-2.4020|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0320 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||	0.9396||	0.4019||	2.3378|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0360 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The regression model is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=2.9421{{x}_{1}}+1.7346{{x}_{2}}+1.6596{{x}_{3}}-4.4170{{x}_{1}}{{x}_{2}}-0.9170{{x}_{1}}{{x}_{3}}+2.4480{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +0.4916{{x}_{1}}{{z}_{1}}+0.1365{{x}_{2}}{{z}_{1}}+0.2176{{x}_{3}}{{z}_{1}}-1.0406{{x}_{1}}{{x}_{3}}{{z}_{1}}+0.5910{{x}_{1}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.3541{{x}_{2}}{{z}_{2}}+0.3285{{x}_{3}}{{z}_{2}}-0.9654{{x}_{1}}{{x}_{2}}{{z}_{2}}+0.9396{{x}_{2}}{{x}_{3}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ANOVA table for this model is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;  &lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background: #CCCCCC;&amp;quot;|ANOVA Table&lt;br /&gt;
|-&lt;br /&gt;
!Source of Variation||Degrees of Freedom||Sum of Squares [Partial]||	Mean Squares [Partial]||	F Ratio||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Model&amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	14||style=&amp;quot;text-align: center&amp;quot;|	14.5066||style=&amp;quot;text-align: center&amp;quot;|	1.0362||	style=&amp;quot;text-align: center&amp;quot;|33.5558||style=&amp;quot;text-align: center&amp;quot;|	6.8938E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component Only	 || || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Linear &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	2||style=&amp;quot;text-align: center&amp;quot;|	4.1446||style=&amp;quot;text-align: center&amp;quot;|	2.0723||style=&amp;quot;text-align: center&amp;quot;|	67.1102||style=&amp;quot;text-align: center&amp;quot;|	1.4088E-07&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	120.5208||style=&amp;quot;text-align: center&amp;quot;|	6.0305E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	5.1949||style=&amp;quot;text-align: center&amp;quot;|	0.0402&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	37.0173	||style=&amp;quot;text-align: center&amp;quot;|3.8782E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z1||	 || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	37.8604||style=&amp;quot;text-align: center&amp;quot;|	3.4705E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	3.5456||style=&amp;quot;text-align: center&amp;quot;|	0.0823&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	7.4172||style=&amp;quot;text-align: center&amp;quot;|	0.0174&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	6.7165||style=&amp;quot;text-align: center&amp;quot;|	0.0224&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z2|| || || || ||	 	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.6845||style=&amp;quot;text-align: center&amp;quot;|	1.6845||	style=&amp;quot;text-align: center&amp;quot;|54.5517||style=&amp;quot;text-align: center&amp;quot;|	5.3010E-06&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	16.3819||style=&amp;quot;text-align: center&amp;quot;|	0.0014&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	16.8556||style=&amp;quot;text-align: center&amp;quot;|	0.0012&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	5.7698||style=&amp;quot;text-align: center&amp;quot;|	0.0320&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	5.4651||style=&amp;quot;text-align: center&amp;quot;|	0.0360&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Residual ||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309|| ||	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Lack of Fit||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309	 ||	|| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Total||style=&amp;quot;text-align: center&amp;quot;|	27||style=&amp;quot;text-align: center&amp;quot;|	14.9080|| || || 	 	 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows both process factors have significant effects on the texture of the patties. Since the model is pretty complicate, the best settings for the process variables and for components cannot be easily identified. &lt;br /&gt;
&lt;br /&gt;
The optimization tool in DOE++ is used for the above model. The target texture value is &amp;lt;math&amp;gt;3\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams with an acceptable range of &amp;lt;math&amp;gt;2.5-3.5\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.21.png|600 px|center]]&lt;br /&gt;
&lt;br /&gt;
The optimal solution is Beef = 98.5%, Pork = 0.7%, Lamb = 0.7%, Temperature = 375.7, and Time = 40.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1.	Cornell, John (2002), Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data, John Wiley &amp;amp; Sons, Inc. New York.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
2.	Piepel, G. F. (1983), “Defining consistent constraint regions in mixture experiments,” Technometrics, Vol. 25, pp. 97-101. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
3.	Snee, R. D. (1979), “Experimental designs for mixture systems with multiple component constraints,” Communications in Statistics, Theory and Methods, Bol. A8, pp. 303-326.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
	<entry>
		<id>https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65200</id>
		<title>Mixture Design</title>
		<link rel="alternate" type="text/html" href="https://www.reliawiki.com/index.php?title=Mixture_Design&amp;diff=65200"/>
		<updated>2017-08-10T16:57:54Z</updated>

		<summary type="html">&lt;p&gt;Richard House: /* L-Pseudocomponent, Proportion, and Actual Values */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{Template:Doebook|14}}&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
When a product is formed by mixing together two or more ingredients, the product is called a mixture, and the ingredients are called mixture components. In a general mixture problem, the measured response is assumed to depend only on the proportions of the ingredients in the mixture, not the amount of the mixture. For example, the taste of a fruit punch recipe (i.e., the response) might depend on the proportions of watermelon, pineapple and orange juice in the mixture. The taste of a small cup of fruit punch will obviously be the same as a big cup.&lt;br /&gt;
&lt;br /&gt;
Sometimes the responses of a mixture experiment depend not only on the proportions of ingredients, but also on the settings of variables in the process of making the mixture. For example, the tensile strength of stainless steel is not only affected by the proportions of iron, copper, nickel and chromium in the alloy; it is also affected by process variables such as temperature, pressure and curing time used in the experiment. &lt;br /&gt;
&lt;br /&gt;
One of the purposes of conducting a mixture experiment is to find the best proportion of each component and the best value of each process variable, in order to optimize a single response or multiple responses simultaneously. In this chapter, we will discuss how to design effective mixture designs and how to analyze data from mixture experiments with and without process variables. &lt;br /&gt;
&lt;br /&gt;
==Mixture Design Types==&lt;br /&gt;
&lt;br /&gt;
There are several different types of mixture designs. The most common ones are simplex lattice, simplex centroid, simplex axial and extreme vertex designs, each of which is used for a different purpose. &lt;br /&gt;
&lt;br /&gt;
*If there are many components in a mixture, the first choice is to screen out the most important ones. Simplex axial and Simplex centroid designs are used for this purpose. &lt;br /&gt;
*If the number of components is not large, but a high order polynomial equation is needed in order to accurately describe the response surface, then a simplex lattice design can be used.&lt;br /&gt;
*Extreme vertex designs are used for the cases when there are constraints on one or more components (e.g., if the proportion of watermelon juice in a fruit punch recipe is required to be less than 30%, and the combined proportion of watermelon and orange juice should always be between 40% and 70%).  &lt;br /&gt;
&lt;br /&gt;
===Simplex Plot===&lt;br /&gt;
&lt;br /&gt;
Since the sum of all the mixture components is always 100%, the experiment space usually is given by a plot. The experiment space for the fruit punch experiment is given in the following triangle or simplex plot. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.1.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
The triangle area in the above plot is defined by the fact that the sum of the three ingredients is 1 (100%). For the points that are on the vertices, the punch only has one ingredient. For instance, point 1 only has watermelon. The line opposite of point 1 represents a mixture with no watermelon . &lt;br /&gt;
&lt;br /&gt;
The coordinate system used for the value of each ingredient &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;i=1,2,...,q\,\!&amp;lt;/math&amp;gt; is called a simplex coordinate system. q is the number of ingredients. The simplex plot can only visually display three ingredients. If there are more than three ingredients, the values for other ingredients must be provided. For the fruit punch example, the coordinate for point 1 is (1, 0, 0). The interior points of the triangle represent mixtures in which none of the three components is absent. It means all &lt;br /&gt;
&amp;lt;math&amp;gt;{{x}_{i}}&amp;gt;0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;i=1,2,3\,\!&amp;lt;/math&amp;gt;. Point 0 in the middle of the triangle is called the center point. In this case, it is the centroid of a face/plane. The coordinate for point 0 is (1/3, 1/3, 1/3). Points 2, 4 and 6 are each called a centroid of edge. Their coordinates are (0.5, 0.5, 0), (0, 0.5, 0.5), and (0.5, 0, 0.5).&lt;br /&gt;
&lt;br /&gt;
===Simplex Lattice Design===&lt;br /&gt;
&lt;br /&gt;
The response in a mixture experiment usually is described by a polynomial function. This function represents how the components affect the response. To better study the shape of the response surface, the natural choice for a design would be the one whose points are spread evenly over the whole simplex. An ordered arrangement consisting of a uniformly spaced distribution of points on a simplex is known as a lattice. &lt;br /&gt;
&lt;br /&gt;
A {q, m} simplex lattice design for q components consists of points defined by the following coordinate settings: the proportions assumed by each component take the m+1 equally spaced values from 0 to 1, &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{m},\frac{2}{m},....,1\text{      }i=1,2,....,q\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and the design space consists of all the reasonable combinations of all the values for each factor. m is usually called the degree of the lattice. For example, for a {3, 2} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{2},1\,\!&amp;lt;/math&amp;gt; and its design space has 6 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.2.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
For a {3, 3} design, &amp;lt;math&amp;gt;{{x}_{i}}=0,\frac{1}{3},\frac{2}{3},1\,\!&amp;lt;/math&amp;gt;, and its design space has 10 points. They are:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.3.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
For a simplex design with degree of m, each component has m + 1 different values, therefore, the experiment results can be used to fit a polynomial equation up to an order of m. A {3, 3} simplex lattice design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the full cubic model. Note that the intercept term is not included in the model due to the correlation between all the components (their sum is 100%). &lt;br /&gt;
&lt;br /&gt;
Simplex lattice design includes all the component combinations. For a {q, m} design, the total number of runs is &amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q+m-1 \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;. Therefore to reduce the number of runs and still be able to fit a high order polynomial model, sometimes we can use simplex centroid design which is explained next.&lt;br /&gt;
&lt;br /&gt;
===Simplex Centroid Design===&lt;br /&gt;
&lt;br /&gt;
A simplex centroid design only includes the centroid points. For the components that appear in a run in a simplex centroid design, they have the same values. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.4.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
In the above simplex plot, points 2, 4 and 6 are 2nd degree centroids. Each of them has two non-zero components with equal values. Point 0 is a 3rd degree centroid and all three components have the same value. For a design with q components, the highest degree of centroid is q. It is called the overall centroid, or the center point of the design. &lt;br /&gt;
&lt;br /&gt;
For a q component simplex centroid design with a degree of centroid of q, the total number of runs is &lt;br /&gt;
&amp;lt;math&amp;gt;{{2}^{q}}-1\,\!&amp;lt;/math&amp;gt;. The runs correspond to the q permutations of (1, 0, 0,…, 0), &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/2, 1/2, 0, 0, 0, 0, …,0), the &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 3 \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt; permutations of (1/3, 1/3, 1/3, 0, 0, 0, 0,…, 0)…., and the overall centroid (1/q, 1/q, …, 1/q).  If the degree of centroid is defined as &amp;lt;math&amp;gt;m\,\!&amp;lt;/math&amp;gt; (m &amp;lt; q), then the total number of runs will be &lt;br /&gt;
&amp;lt;math&amp;gt;\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 1 \\ &lt;br /&gt;
\end{align} \right)+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; 2 \\ &lt;br /&gt;
\end{align} \right)+...+\left( \begin{align}&lt;br /&gt;
  &amp;amp; q \\ &lt;br /&gt;
 &amp;amp; m \\ &lt;br /&gt;
\end{align} \right)\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Since a simplex centroid design usually has fewer runs than a simplex lattice design with the same degree, a polynomial model with fewer terms should be used. A {3, 3} simplex centroid design can be used to fit the following model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above model is called the special cubic model. Note that the intercept term is not included due to the correlation between all the components (their sum is 100%).&lt;br /&gt;
&lt;br /&gt;
===Simplex Axial Design===&lt;br /&gt;
&lt;br /&gt;
The simplex lattice and simplex centroid designs are boundary designs since the points of these designs are positioned on boundaries (vertices, edges, faces, etc.) of the simplex factor space, with the exception of the overall centroid. Axial designs, on the other hand, are designs consisting mainly of the points positioned inside the simplex. Axial designs have been recommended for use when component effects are to be measured in a screening experiment, particularly when first degree models are to be fitted. &lt;br /&gt;
&lt;br /&gt;
Definition of Axial: The axial of a component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; is defined as the imaginary line extending from the base point &amp;lt;math&amp;gt;{{x}_{i}}=0\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;{{x}_{j}}=1/\left( q-1 \right)\,\!&amp;lt;/math&amp;gt; for all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;, to the vertex where &amp;lt;math&amp;gt;{{x}_{i}}=1,{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; all &amp;lt;math&amp;gt;j\ne i\,\!&amp;lt;/math&amp;gt;. [John Cornell]    &lt;br /&gt;
&lt;br /&gt;
In a simplex axial design, all the points are on the axial. The simplest form of axial design is one whose points are positioned equidistant from the overall centroid &amp;lt;math&amp;gt;\left( {1}/{q,{1}/{q,}\;{1}/{q,}\;...}\; \right)\,\!&amp;lt;/math&amp;gt;. Traditionally, points located at the half distance from the overall centroid to the vertex are called axial points/blends. This is illustrated in the following plot.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.5.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 4, 5 and 6 are the axial blends. &lt;br /&gt;
&lt;br /&gt;
By default, a simple axial design in a DOE folio only has vertices, axial blends, centroid of the constraint planes and the overall centroid. For a design with q components, constraint plane centroids are the center points of dimension of q-1 space. One component is 0, and the remaining components have the same values for the center points of constraint planes. The number of the constraint plane centroids is the number of components q. The total number of runs in a simple axial design will be 3q+1. They are q vertex runs, q centroids of constraint planes, q axial blends and 1 overall centroid. &lt;br /&gt;
&lt;br /&gt;
A simplex axial design for 3 components has 10 points as given below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.6.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Points 1, 2 and 3 are the three vertices; points 4, 5, 6 are the axial blends; points 7, 8 and 9 are the centroids of constraint planes, and point 0 is the overall center point.&lt;br /&gt;
&lt;br /&gt;
===Extreme Vertex Design===&lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs are used when both lower and upper bound constraints on the components are presented, or when linear constraints are added to several components. For example, if a mixture design with 3 components has the following constraints:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
:*&amp;lt;math&amp;gt;{{x}_{2}}\le 0.7\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;-2{{x}_{1}}+2{{x}_{2}}+3{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
:*&amp;lt;math&amp;gt;48{{x}_{1}}+13{{x}_{2}}-{{x}_{3}}\ge 0\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Then the feasible region is defined by the six points in the following simplex plot. To meet the above constraints, all the runs conducted in the experiment should be in the feasible region or on its boundary. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.7.png|500 px|center|link=]]&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
The CONSIM method described in [Snee 1979] is used in a Weibull++ DOE folio to check the consistency of all the constraints and to get the vertices defined by them. &lt;br /&gt;
&lt;br /&gt;
Extreme vertex designs by default use the vertices at the boundary. Additional points such as the centroid of spaces of different dimensions, axial points and the overall center point can be added. In extreme vertex designs, axial points are between the overall center point and the vertices.  For the above example, if the axial points and the overall center point are added, then all the runs in the experiment will be:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.8.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Point 0 in the center of the feasible region is the overall centroid. The other red points are the axial points. They are at the middle of the lines connecting the center point with the vertices.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design Data Analysis==&lt;br /&gt;
&lt;br /&gt;
In the following section, we will discuss the most popular regression models in mixture design data analysis. Due to the correlation between all the components in mixture designs, the intercept term usually is not included in the regression model. &lt;br /&gt;
&lt;br /&gt;
===Models Used in Mixture Design===&lt;br /&gt;
&lt;br /&gt;
For a design with three components, the following models are commonly used.&lt;br /&gt;
&lt;br /&gt;
*Linear model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
If the intercept were included in the model, then the linear model would be&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=\beta _{0}^{&#039;}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
However, since &amp;lt;math&amp;gt;{{x}_{1}}+{{x}_{2}}+{{x}_{3}}=1\,\!&amp;lt;/math&amp;gt; (can be other constants as well), the above equation can be written as&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\beta _{0}^{&#039;}\left( {{x}_{1}}+{{x}_{2}}+{{x}_{3}} \right)+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}+\beta _{3}^{&#039;}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; =\left( \beta _{0}^{&#039;}+\beta _{1}^{&#039;} \right){{x}_{1}}+\left( \beta _{0}^{&#039;}+\beta _{2}^{&#039;} \right){{x}_{2}}+\left( \beta _{0}^{&#039;}+\beta _{3}^{&#039;} \right){{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The equation has thus been reformatted to omit the intercept. &lt;br /&gt;
&lt;br /&gt;
*Quadratic model: &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
There are no classic quadratic terms such as &amp;lt;math&amp;gt;x_{1}^{2}\,\!&amp;lt;/math&amp;gt;. This is because &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;x_{1}^{2}={{x}_{1}}\left( 1-{{x}_{2}}-{{x}_{3}} \right)={{x}_{1}}-{{x}_{1}}{{x}_{2}}-{{x}_{1}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Full cubic model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\delta }_{12}}{{x}_{1}}{{x}_{2}}\left( {{x}_{1}}-{{x}_{2}} \right)+{{\delta }_{13}}{{x}_{1}}{{x}_{3}}\left( {{x}_{1}}-{{x}_{3}} \right)+{{\delta }_{23}}{{x}_{2}}{{x}_{3}}\left( {{x}_{2}}-{{x}_{3}} \right) \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*Special cubic model: &amp;lt;math&amp;gt;{{\delta }_{ij}}{{x}_{i}}{{x}_{j}}\left( {{x}_{i}}-{{x}_{j}} \right)\,\!&amp;lt;/math&amp;gt; are removed from the full cubic model. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above types of models are called Scheffe type models. They can be extended to designs with more than three components. &lt;br /&gt;
&lt;br /&gt;
In regular regression analysis, the effect of an exploratory variable or factor is represented by the value of the coefficient. The ratio of the estimated coefficient and its standard error is used for the t-test. The t-test can tell us if a coefficient is 0 or not. If a coefficient is statistically 0, then the corresponding factor has no significant effect on the response. However, for Scheffe type models, since the intercept term is not included in the model, we cannot use the regular t-test to test each individual main effect. In other words, we cannot test if the coefficient for each component is 0 or not. &lt;br /&gt;
&lt;br /&gt;
Similarly, in the ANOVA analysis, the linear effects of all the components are tested together as a single group. The main effect test for each individual component is not conducted.  To perform ANOVA analysis, the Scheffe type model needs to be reformatted to include the hidden intercept. For example, the linear model&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
can be rewritten as&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}\left( 1-{{x}_{1}}-{{x}_{2}} \right) \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{3}}+\left( {{\beta }_{1}}-{{\beta }_{3}} \right){{x}_{1}}+\left( {{\beta }_{2}}-{{\beta }_{3}} \right){{x}_{2}} \\ &lt;br /&gt;
 &amp;amp; ={{\beta }_{0}}+\beta _{1}^{&#039;}{{x}_{1}}+\beta _{2}^{&#039;}{{x}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{\beta }_{0}}={{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{1}^{&#039;}={{\beta }_{1}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;\beta _{2}^{&#039;}={{\beta }_{2}}-{{\beta }_{3}}\,\!&amp;lt;/math&amp;gt;. All other models such as the quadratic, cubic and special cubic model can be reformatted using the same procedure. By including the intercept in the model, the correct sum of squares can be calculated in the ANOVA table. If ANOVA analysis is conducted directly using the Scheffe type models, the result will be incorrect.&lt;br /&gt;
&lt;br /&gt;
===L-Pseudocomponent, Proportion, and Actual Values===&lt;br /&gt;
&lt;br /&gt;
In mixture designs, the total amount of the mixture is usually given. For example, we can make either a one-pound or a two-pound cake. Regardless of whether the cake is one or two pounds, the proportion of each ingredient is the same. When the total amount is given, the upper and lower limits for each ingredient are usually given in amounts, which is easier for the experimenter to understand. Of course, if the limits or other constraints are given in terms of proportions, these proportions need be converted to the real amount values when conducting the experiment. To keep everything consistent, all the constraints in a DOE folio are treated as amounts.&lt;br /&gt;
&lt;br /&gt;
In regular factorial design and response surface methods, the regression model is calculated using coded values. Coded values scale all the factors to the same magnitude, which makes the analysis much easier and reduces convergence error. Similarly, the analysis in mixture design is conducted using the so-called L-pseudocomponent value. L-pseudocomponent values scale all the components&#039; values within 0 and 1. In a DOE folio all the designs and calculations for mixture factors are based on L-pseudocomponent values. The relationship between L-pseudocomponent values, proportions and actual amounts are explained next. &lt;br /&gt;
&lt;br /&gt;
====Example for L-Pseudocomponent Value====&lt;br /&gt;
&lt;br /&gt;
We are going to make one gallon (about 3.8 liters) of fruit punch. Three ingredients will be in the punch with the following constraints.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Let &amp;lt;math&amp;gt;x_{i}^{A}\,\!&amp;lt;/math&amp;gt; (i = 1, 2, 3) be the actual amount value, &amp;lt;math&amp;gt;x_{i}^{{}}\,\!&amp;lt;/math&amp;gt; be the L-pseudocomponent value and &amp;lt;math&amp;gt;x_{i}^{R}\,\!&amp;lt;/math&amp;gt; be the proportion value. Then the equations for the conversion between them are:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{i}}=\frac{x_{i}^{A}-{{l}_{i}}}{\left( T-\sum\limits_{j=1}^{p}{{{l}_{j}}} \right)}\,\!&amp;lt;/math&amp;gt;,	  &amp;lt;math&amp;gt;x_{i}^{A}={{l}_{i}}+\left( T-\sum\limits_{j=1}^{p}{{{l}_{i}}} \right){{x}_{i}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{i}^{R}=\frac{x_{i}^{A}}{T}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
where &amp;lt;math&amp;gt;{{x}_{1}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{1}^{A}\,\!&amp;lt;/math&amp;gt; and &lt;br /&gt;
&amp;lt;math&amp;gt;x_{1}^{R}\,\!&amp;lt;/math&amp;gt; are for component A, &amp;lt;math&amp;gt;{{x}_{2}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{2}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{2}^{R}\,\!&amp;lt;/math&amp;gt; are for component B, and &amp;lt;math&amp;gt;{{x}_{3}}\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;x_{3}^{A}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;x_{3}^{R}\,\!&amp;lt;/math&amp;gt; are for component C. &lt;br /&gt;
&lt;br /&gt;
Since components in this example have both lower and upper limit constraints, an extreme vertex design is used. The design settings are given below.&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.9.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The created design in terms of L-pseudocomponent values is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.10.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in amount values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.11.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Displayed in proportion values, it is:&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.12.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
====Check Constraint Consistency====&lt;br /&gt;
&lt;br /&gt;
In the above example, all the constraints are consistent. However, if we set the constraints to &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.2\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;1.5\le B\le 3\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;2\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then they are not consistent. This is because the total is only 3.8, but the sum of all the lower limits is 4.7. Therefore, not all the lower limits can be satisfied at the same time. If only lower limits and upper limits are presented for all the components, then we can adjust the lower bounds to make the constraints consistent. The method given by [Pieple 1983] is used and summarized below.&lt;br /&gt;
&lt;br /&gt;
Defined the range of a component to be &amp;lt;math&amp;gt;{{R}_{i}}={{U}_{i}}-{{L}_{i}}\,\!&amp;lt;/math&amp;gt;. &amp;lt;math&amp;gt;{{U}_{i}}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{L}_{i}}\,\!&amp;lt;/math&amp;gt; are the upper and lower limit for component i. The implied range of component i is  &lt;br /&gt;
&amp;lt;math&amp;gt;R_{i}^{*}=U_{i}^{*}-L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;L_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{U}_{i}}}\,\!&amp;lt;/math&amp;gt;, and &lt;br /&gt;
&amp;lt;math&amp;gt;U_{i}^{*}=T-\sum\limits_{j\ne i}^{q}{{{L}_{i}}}\,\!&amp;lt;/math&amp;gt;. T is the total amount. The steps for checking and adjusting bounds are given below. &lt;br /&gt;
&lt;br /&gt;
Step 1:  Check if &amp;lt;math&amp;gt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt; are greater than 0, if they are, then these constraints meet the basic requirement to be consistent. We can move forward to step 2. If not, these constraints cannot be adjusted to be consistent. We should stop. &lt;br /&gt;
&lt;br /&gt;
Step 2: For each component, check if &amp;lt;math&amp;gt;{{L}_{i}}\ge L_{i}^{*}\,\!&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{{U}_{i}}\le U_{i}^{*}\,\!&amp;lt;/math&amp;gt;. If they are, then this component’s constraints are consistent. Otherwise, if &amp;lt;math&amp;gt;{{L}_{i}}&amp;lt;L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{L}_{i}}=L_{i}^{*}\,\!&amp;lt;/math&amp;gt;, and if &amp;lt;math&amp;gt;{{U}_{i}}&amp;gt;U_{i}^{*}\,\!&amp;lt;/math&amp;gt;, then set &amp;lt;math&amp;gt;{{U}_{i}}=U_{i}^{*}\,\!&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Step 3: Whenever a bound is changed, restart from Step 1 to use the new bound to check if all the constraints are consistent. Repeat this until all the limits are consistent. &lt;br /&gt;
 &lt;br /&gt;
For extreme vertex design where linear constraints are allowed, DOE++ will give a warning and stop creating the design if inconsistent linear combination constraints are found. No adjustment will be conducted for linear constraints.&lt;br /&gt;
&lt;br /&gt;
===Response Trace Plot===&lt;br /&gt;
&lt;br /&gt;
Due to the correlation between all the components, the regular t-test is not used to test the significance of each component. A special plot called the Response Trace Plot can be used to see how the response changes when each component changes from its reference point [John Cornell]. &lt;br /&gt;
&lt;br /&gt;
A reference point can be any point inside the experiment space. An imaginary line can be drawn from this reference point to each vertex &amp;lt;math&amp;gt;{{x}_{i}}=1\,\!&amp;lt;/math&amp;gt;, and &amp;lt;math&amp;gt;{{x}_{j}}=0\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;i\ne j\,\!&amp;lt;/math&amp;gt;). This line is the direction for component i to change. Component i can either increase or decrease its value along this line, while the ratio of other components &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;j,k\ne i\,\!&amp;lt;/math&amp;gt;) will keep constant. If the simplex plot is defined in terms of proportion, then the direction is called Cox’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; is the ratio of proportion. If the simplex plot is defined in terms of pseduocomponent value, then the direction is called Pieple’s direction, and &amp;lt;math&amp;gt;{{{x}_{j}}}/{{{x}_{k}}}\,\!&amp;lt;/math&amp;gt; will be the ratio of pseduocomponent values. &lt;br /&gt;
&lt;br /&gt;
Assume the reference point in terms of proportion is &amp;lt;math&amp;gt;s=\left( {{s}_{1}},{{s}_{2}},...,{{s}_{q}} \right)\,\!&amp;lt;/math&amp;gt; where &amp;lt;math&amp;gt;{{s}_{1}}+{{s}_{2}}+...+{{s}_{q}}=1\,\!&amp;lt;/math&amp;gt;. Suppose the proportion of component &amp;lt;math&amp;gt;i\,\!&amp;lt;/math&amp;gt; at &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; is now changed by &amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt; could be greater than or less than 0) in Cox’s direction, so that the new proportion becomes &amp;lt;math&amp;gt;{{x}_{i}}={{s}_{i}}+{{\Delta }_{i}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then the proportions of the remaining &amp;lt;math&amp;gt;q-1\,\!&amp;lt;/math&amp;gt; components resulting from the change from &amp;lt;math&amp;gt;{{s}_{i}}\,\!&amp;lt;/math&amp;gt; will be&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;{{x}_{j}}={{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
After the change, the ratio of component j and k is unchanged. This is because&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\frac{{{x}_{j}}}{{{x}_{k}}}=\frac{{{s}_{j}}-\frac{{{\Delta }_{i}}{{s}_{j}}}{1-{{s}_{i}}}}{{{s}_{k}}-\frac{{{\Delta }_{i}}{{s}_{k}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\frac{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}{\frac{{{\Delta }_{i}}}{1-{{s}_{i}}}}=\frac{{{s}_{j}}}{{{s}_{k}}}\,\!&amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
While &amp;lt;math&amp;gt;{{x}_{i}}\,\!&amp;lt;/math&amp;gt; is changed along Cox’s direction, we can use a fitted regression model to get the response value y.  A response trace plot for a mixture design with three components will look like &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.13.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The x-axis is the deviation amount from the reference point, and the y-value is the fitted response. Each component has one curve. Since the red curve for component A changes significantly, this means it has a significant effect along its axial. The blue curve for component C is almost flat; this means when C changes along Cox’s direction and other components keep the same ratio, the response Y does not change very much. The effect of component B is between component A and C.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Watermelon (A), pineapple (B) and orange juice (C) are used for making 3.8 liters of fruit punch. At least 30% of the fruit punch must be watermelon. Therefore the constraints are&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;1.14\le A\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le B\le 3.8\,\!&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;0\le C\le 3.8,\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Different blends of the three-juice recipe were evaluated by a panel. A value from 1 (extremely poor) to 9 (very good) is used for the response [John Cornell, page 74]. A {3, 2} simplex lattice design is used with one center point and three axial points. Three replicates were conducted for each ingredient combination. The settings for creating this design in DOE++ is &lt;br /&gt;
 &lt;br /&gt;
[[Image:doe_14.14.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The generated design in L-pseudocomponent values and the response values from the experiment are&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.15.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The simplex design point plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.16.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
Main effect and 2-way interactions are included in the regression model. The result for the regression model in terms of L-pseudocomponents is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y=4.81{{x}_{1}}+6.03{{x}_{2}}+6.16{{x}_{3}}+1.13{{x}_{1}}{{x}_{2}}+2.45{{x}_{1}}{{x}_{3}}+1.69{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The regression information table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;8&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Regression Information&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Term&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Coefficient&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard Error&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Low Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | High Confidence&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | T Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A: Watermelon&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8093&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.2845&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.3340&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B: Pineapple&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0274&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.5027&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5522&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | C: Orange&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.1577&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3067&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5.6330&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.6825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9636&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1253&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -1.2934&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.5439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.7960&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.4525&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.0339&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.8712&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.7348&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.6889&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4137&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | -0.7298&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.1075&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1947&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.9819&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The result shows that the taste of the fruit punch is significantly affected by the interaction between watermelon and orange. &lt;br /&gt;
&lt;br /&gt;
The ANOVA table is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; style=&amp;quot;background:#CCCCCC&amp;quot;| Anova Table&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Source of Variation&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Degrees of Freedom&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Standard ErrorSum of Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | Mean Squares [Partial]&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | F Ratio&lt;br /&gt;
| style=&amp;quot;text-align: center; font-weight: bold;&amp;quot; | P Value&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Model &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 5&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.5517&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.3103&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.3181&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0061 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Linear &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.6513&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.8256&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 6.0162&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0076 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | A • B&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1923&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.6336&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4339&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     A • C &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.9133&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 3.0097&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0956 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | B • C&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.4331&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.4272&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.2439&lt;br /&gt;
|-&lt;br /&gt;
| Residual&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 24&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.2829&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.3035&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt;     Lack of Fit &amp;lt;/span&amp;gt;&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 4.4563&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 1.1141&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 7.8825&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0006 &amp;lt;/span&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | Pure Error&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 20&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 2.8267&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 0.1413&lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|-&lt;br /&gt;
| Total&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 29&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | 13.8347&lt;br /&gt;
| style=&amp;quot;text-align: center;&amp;quot; | &lt;br /&gt;
| &lt;br /&gt;
| &lt;br /&gt;
|} 	 &lt;br /&gt;
&lt;br /&gt;
The simplex contour plot in L-pseudocomponent values is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.17.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
From this plot we can see that as the amount of watermelon is reduced, the taste of the fruit punch becomes better.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
In order to find the best proportion of each ingredient, the optimization tool in DOE++ can be utilized. Set the settings as&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.18.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
The resulting optimal plot is&lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.19.png|500 px|center]]&lt;br /&gt;
&lt;br /&gt;
This plot shows that when the amounts for watermelon, pineapple and orange juice are 1.141, 1.299 and 1.359, respectively, the rated taste of the fruit punch is highest.&lt;br /&gt;
&lt;br /&gt;
==Mixture Design with Process Variables==&lt;br /&gt;
&lt;br /&gt;
Process variables often play very important roles in mixture experiments. A simple example is baking a cake. Even with the same ingredients, different baking temperatures and baking times can produce completely different results. In order to study the effect of process variables and find their best settings, we need to consider them when conducting a mixture experiment. &lt;br /&gt;
&lt;br /&gt;
An easy way to do this is to make mixtures with the same ingredients in different combinations of process variables. If all the process variables are independent, then we can plan a regular factorial design for these process variables. By combining these designs with a separated mixture design, the effect of mixture components and effect of process variables can be studied. &lt;br /&gt;
&lt;br /&gt;
For example, a {3, 2} simplex lattice design is used for a mixture with 3 components. Together with the center point, it has total of 7 runs or 7 different ingredient combinations. Assume 2 process variables are potentially important and a two level factorial design is used for them. It has a total of 4 combinations for these 2 process variables. If the 7 different mixtures are made under each of the 4 process variable combinations, then the experiment has a total of 28 runs. This is illustrated in the figure below. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.20.png|500 px|center|link=]]&lt;br /&gt;
&lt;br /&gt;
Of course, if it is possible, all the 28 experiments should be conducted in a random order. &lt;br /&gt;
&lt;br /&gt;
===Model with Process Variables===&lt;br /&gt;
&lt;br /&gt;
In DOE++, regression models including both mixture components and process variables are available. For mixture components, we use L-pseudocomponent values, and for process variables coded values are used. &lt;br /&gt;
&lt;br /&gt;
Assume a design has 3 mixture components and 2 process variables, as illustrated in the above figure. We can use the following models for them. &lt;br /&gt;
&lt;br /&gt;
*For the 3 mixture components, the following special cubic model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\beta }_{1}}{{x}_{1}}+{{\beta }_{2}}{{x}_{2}}+{{\beta }_{3}}{{x}_{3}}+{{\beta }_{12}}{{x}_{1}}{{x}_{2}}+{{\beta }_{13}}{{x}_{1}}{{x}_{3}}+{{\beta }_{23}}{{x}_{2}}{{x}_{3}}+{{\beta }_{123}}{{x}_{1}}{{x}_{2}}{{x}_{3}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*For the 2 process variables the following model is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;y={{\alpha }_{0}}+{{\alpha }_{1}}{{z}_{1}}+{{\alpha }_{2}}{{z}_{2}}+{{\alpha }_{12}}{{z}_{1}}{{z}_{2}}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
*The combined model with both mixture components and process variables is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\sum\limits_{i=1}^{3}{\gamma _{i}^{0}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{0}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{1}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{1}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{2}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{2}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\left( \sum\limits_{i=1}^{3}{\gamma _{i}^{12}{{x}_{i}}}+\sum{\sum\limits_{i&amp;lt;j}^{3}{\gamma _{ij}^{12}{{x}_{i}}{{x}_{j}}}+}\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}} \right){{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above combined model has total of 7x4=28 terms. By expanding it, we get the following model:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=\gamma _{1}^{0}{{x}_{1}}+\gamma _{2}^{0}{{x}_{2}}+\gamma _{3}^{0}{{x}_{3}}+\gamma _{12}^{0}{{x}_{1}}{{x}_{2}}+\gamma _{13}^{0}{{x}_{1}}{{x}_{3}}+\gamma _{23}^{0}{{x}_{2}}{{x}_{3}}+\gamma _{123}^{0}{{x}_{1}}{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{1}{{x}_{1}}{{z}_{1}}+\gamma _{2}^{1}{{x}_{2}}{{z}_{1}}+\gamma _{3}^{1}{{x}_{3}}{{z}_{1}}+\gamma _{12}^{1}{{x}_{1}}{{x}_{2}}{{z}_{1}}+\gamma _{13}^{1}{{x}_{1}}{{x}_{3}}{{z}_{1}}+\gamma _{23}^{1}{{x}_{2}}{{x}_{3}}{{z}_{1}}+\gamma _{123}^{1}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{2}{{x}_{1}}{{z}_{2}}+\gamma _{2}^{2}{{x}_{2}}{{z}_{2}}+\gamma _{3}^{2}{{x}_{3}}{{z}_{2}}+\gamma _{12}^{2}{{x}_{1}}{{x}_{2}}{{z}_{2}}+\gamma _{13}^{2}{{x}_{1}}{{x}_{3}}{{z}_{2}}+\gamma _{23}^{2}{{x}_{2}}{{x}_{3}}{{z}_{2}}+\gamma _{123}^{2}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +\gamma _{1}^{12}{{x}_{1}}{{z}_{1}}{{z}_{2}}+\gamma _{2}^{12}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{3}^{12}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{12}^{12}{{x}_{1}}{{x}_{2}}{{z}_{1}}{{z}_{2}}+\gamma _{13}^{12}{{x}_{1}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{23}^{12}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}+\gamma _{123}^{12}{{x}_{1}}{{x}_{2}}{{x}_{3}}{{z}_{1}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The combined model basically crosses every term in the mixture components model with every term in the process variables model. From a mathematical point of view, this model is just a regular regression model. Therefore, the traditional regression analysis method can still be used for obtaining the model coefficients and calculating the ANOVA table.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
Three kinds of meats (beef, pork and lamb) are mixed together to form burger patties. The meat comprises 90% of the total mixture, with the remaining 10% reserved for flavoring ingredients. A {3, 2} simplex design with the center point is used for the experiment. The design has 7 meat combinations, which are given below using L-pseudocomponent values. &lt;br /&gt;
	&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.5||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0.5||style=&amp;quot;text-align: center&amp;quot;|	0.5&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0||style=&amp;quot;text-align: center&amp;quot;|	0||style=&amp;quot;text-align: center&amp;quot;|	1&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333||style=&amp;quot;text-align: center&amp;quot;|	0.333333&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Two process variables on making the patties are also studied: cooking temperature and cooking time. The low and high temperature values are 375°F and 425°F, and the low and high time values are 25 and 40 minutes. A two level full factorial design is used and displayed below with coded values. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Temperature&lt;br /&gt;
!Time&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	-1||	1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	-1&lt;br /&gt;
|-&lt;br /&gt;
|	1||	1&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
One of the properties of the burger patties is texture. The texture is measured by a compression test that measures the grams of force required to puncture the surface of the patty. &lt;br /&gt;
&lt;br /&gt;
Combining the simplex design and the factorial design together, we get the following 28 runs. The corresponding texture reading for each blend is also provided. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Standard Order&lt;br /&gt;
!A: Beef&lt;br /&gt;
!B: Pork&lt;br /&gt;
!C: Lamb&lt;br /&gt;
!Z1: Temperature&lt;br /&gt;
!Z2: Time&lt;br /&gt;
!Texture (&amp;lt;math&amp;gt;10^3\,\!&amp;lt;/math&amp;gt; gram)&lt;br /&gt;
|-&lt;br /&gt;
|1||	1||	0||	0||	-1||	-1||	1.84&lt;br /&gt;
|-&lt;br /&gt;
|2||	0.5||	0.5||	0||	-1||	-1||	0.67&lt;br /&gt;
|-&lt;br /&gt;
|3||	0.5||	0||	0.5||	-1||	-1||	1.51&lt;br /&gt;
|-&lt;br /&gt;
|4||	0||	1||	0||	-1||	-1||	1.29&lt;br /&gt;
|-&lt;br /&gt;
|5||	0||	0.5||	0.5||	-1||	-1||	1.42&lt;br /&gt;
|-&lt;br /&gt;
|6||	0||	0||	1||	-1||	-1||	1.16&lt;br /&gt;
|-&lt;br /&gt;
|7||	0.333||	0.333||	0.333||	-1||	-1||	1.59&lt;br /&gt;
|-&lt;br /&gt;
|8||	1||	0||	0||	1||	-1||	2.86&lt;br /&gt;
|-&lt;br /&gt;
|9||	0.5||	0.5||	0||	1||	-1||	1.1&lt;br /&gt;
|-&lt;br /&gt;
|10||	0.5||	0||	0.5||	1||	-1||	1.6&lt;br /&gt;
|-&lt;br /&gt;
|11||	0||	1||	0||	1||	-1||	1.53&lt;br /&gt;
|-&lt;br /&gt;
|12||	0||	0.5||	0.5||	1||	-1||	1.81&lt;br /&gt;
|-&lt;br /&gt;
|13||	0||	0||	1||	1||	-1||	1.5&lt;br /&gt;
|-&lt;br /&gt;
|14||	0.333||	0.333||	0.333||	1||	-1||	1.68&lt;br /&gt;
|-&lt;br /&gt;
|15||	1||	0||	0||	-1||	1||	3.01&lt;br /&gt;
|-&lt;br /&gt;
|16||	0.5||	0.5||	0||	-1||	1||	1.21&lt;br /&gt;
|-&lt;br /&gt;
|17||	0.5||	0||	0.5||	-1||	1||	2.32&lt;br /&gt;
|-&lt;br /&gt;
|18||	0||	1||	0||	-1||	1||	1.93&lt;br /&gt;
|-&lt;br /&gt;
|19||	0||	0.5||	0.5||	-1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|20||	0||	0||	1||	-1||	1||	1.83&lt;br /&gt;
|-&lt;br /&gt;
|21||	0.333||	0.3333||	0.333||	-1||	1||	1.94&lt;br /&gt;
|-&lt;br /&gt;
|22||	1||	0||	0||	1||	1||	4.13&lt;br /&gt;
|-&lt;br /&gt;
|23||	0.5||	0.5||	0||	1||	1||	1.67&lt;br /&gt;
|-&lt;br /&gt;
|24||	0.5||	0||	0.5||	1||	1||	2.57&lt;br /&gt;
|-&lt;br /&gt;
|25||	0||	1||	0||	1||	1||	2.26&lt;br /&gt;
|-&lt;br /&gt;
|26||	0||	0.5||	0.5||	1||	1||	3.15&lt;br /&gt;
|-&lt;br /&gt;
|27||	0||	0||	1||	1||	1||	2.22&lt;br /&gt;
|-&lt;br /&gt;
|28||	0.333||	0.333||	0.333||	1||	1||	2.6&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Using a quadratic model for the mixture component and a 2-way interaction model for the process variables, we get the following results. &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot;  &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;|| 2.9421|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;|| 	1.7346|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;|| 	1.6596|| 	0.1236|| 	*|| 	*|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;|| 	-4.4170|| 	0.5680|| 	-7.7766|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0015 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|A • C|| 	-0.9170|| 	0.5680|| 	-1.6146|| 	0.1817|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;|| 	2.4480|| 	0.5680|| 	4.3099|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0125 &amp;lt;/span&amp;gt;|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;|| 	0.5324|| 	0.1236|| 	4.3084|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0126 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B|| 	0.1399|| 	0.1236|| 	1.1319|| 	0.3209|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • C|| 	0.1799|| 	0.1236|| 	1.4557|| 	0.2192|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • B|| 	-0.4123|| 	0.5680|| 	-0.7260|| 	0.5081|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • A • C|| 	-1.0423|| 	0.5680|| 	-1.8352|| 	0.1404|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • B • C|| 	0.3727|| 	0.5680|| 	0.6561|| 	0.5476|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;|| 	0.6193|| 	0.1236|| 	5.0117|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0074 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;|| 	0.3518|| 	0.1236|| 	2.8468|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0465 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;|| 	0.3568|| 	0.1236|| 	2.8873|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0447 &amp;lt;/span&amp;gt;|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • B|| 	-0.9802|| 	0.5680|| 	-1.7258|| 	0.1595|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • A • C|| 	-0.3202|| 	0.5680|| 	-0.5638|| 	0.6030|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z2 • B • C|| 	0.9248|| 	0.5680|| 	1.6282|| 	0.1788|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A|| 	0.0177|| 	0.1236|| 	0.1433|| 	0.8930|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B|| 	0.0152|| 	0.1236|| 	0.1231|| 	0.9080|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • C|| 	0.0052|| 	0.1236|| 	0.0422|| 	0.9684|| 	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • B|| 	0.0808|| 	0.5680|| 	0.1423|| 	0.8937|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • A • C|| 	0.2308|| 	0.5680|| 	0.4064|| 	0.7052|| 	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|Z1 • Z2 • B • C|| 	0.2658|| 	0.5680|| 	0.4680|| 	0.6641|| 	1.5695&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows that all the terms with &amp;lt;math&amp;gt;{{z}_{1}}\times {{z}_{2}}\,\!&amp;lt;/math&amp;gt; have very large P values, therefore, we can remove these terms from the model. We can also remove other terms with P values larger than 0.5. After recalculating with the desired terms, the final results are&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot; style=&amp;quot;text-align:center&amp;quot; &lt;br /&gt;
!Term&lt;br /&gt;
!Coefficient&lt;br /&gt;
!Standard Error&lt;br /&gt;
!T Value&lt;br /&gt;
!P Value&lt;br /&gt;
!Variance Inflation Factor&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A:Beef &amp;lt;/span&amp;gt;||	2.9421||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B:Pork &amp;lt;/span&amp;gt;||	1.7346||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; C:Lamb &amp;lt;/span&amp;gt;||	1.6596||	0.0875||	*||	*||	1.5989&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||	-4.4170||	0.4023||	-10.9782|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 6.0305E-08 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt;||	-0.9170||	0.4023||	-2.2792|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0402 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||	2.4480||	0.4023||	6.0842|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.8782E-05 &amp;lt;/span&amp;gt;||	1.5695&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||	0.4916||	0.0799||	6.1531|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 3.4705E-05 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt;||	0.1365||	0.0725||	1.8830|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0823 &amp;lt;/span&amp;gt;||	1.0971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||	0.2176||	0.0799||	2.7235|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0174 &amp;lt;/span&amp;gt;||	1.3321&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||	-1.0406||	0.4015||	-2.5916|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0224 &amp;lt;/span&amp;gt;||	1.5631&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||	0.5910||	0.0800||	7.3859|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 5.3010E-06 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||	0.3541||	0.0875||	4.0475|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0014 &amp;lt;/span&amp;gt;||	1.5971&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||	0.3285||	0.0800||	4.1056|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0012 &amp;lt;/span&amp;gt;||	1.3364&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||	-0.9654||	0.4019||	-2.4020|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0320 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||	0.9396||	0.4019||	2.3378|| &amp;lt;span style=&amp;quot;color:red;&amp;quot;&amp;gt; 0.0360 &amp;lt;/span&amp;gt;||	1.5661&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The regression model is&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
::&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
  &amp;amp; y=2.9421{{x}_{1}}+1.7346{{x}_{2}}+1.6596{{x}_{3}}-4.4170{{x}_{1}}{{x}_{2}}-0.9170{{x}_{1}}{{x}_{3}}+2.4480{{x}_{2}}{{x}_{3}} \\ &lt;br /&gt;
 &amp;amp; +0.4916{{x}_{1}}{{z}_{1}}+0.1365{{x}_{2}}{{z}_{1}}+0.2176{{x}_{3}}{{z}_{1}}-1.0406{{x}_{1}}{{x}_{3}}{{z}_{1}}+0.5910{{x}_{1}}{{z}_{2}} \\ &lt;br /&gt;
 &amp;amp; +0.3541{{x}_{2}}{{z}_{2}}+0.3285{{x}_{3}}{{z}_{2}}-0.9654{{x}_{1}}{{x}_{2}}{{z}_{2}}+0.9396{{x}_{2}}{{x}_{3}}{{z}_{2}}  &lt;br /&gt;
\end{align}\,\!&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The ANOVA table for this model is&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot; cellpadding=&amp;quot;5&amp;quot; cellspacing=&amp;quot;0&amp;quot; align=&amp;quot;center&amp;quot;  &lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background: #CCCCCC;&amp;quot;|ANOVA Table&lt;br /&gt;
|-&lt;br /&gt;
!Source of Variation||Degrees of Freedom||Sum of Squares [Partial]||	Mean Squares [Partial]||	F Ratio||	P Value&lt;br /&gt;
|-&lt;br /&gt;
|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Model&amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	14||style=&amp;quot;text-align: center&amp;quot;|	14.5066||style=&amp;quot;text-align: center&amp;quot;|	1.0362||	style=&amp;quot;text-align: center&amp;quot;|33.5558||style=&amp;quot;text-align: center&amp;quot;|	6.8938E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component Only	 || || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Linear &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	2||style=&amp;quot;text-align: center&amp;quot;|	4.1446||style=&amp;quot;text-align: center&amp;quot;|	2.0723||style=&amp;quot;text-align: center&amp;quot;|	67.1102||style=&amp;quot;text-align: center&amp;quot;|	1.4088E-07&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	3.7216||style=&amp;quot;text-align: center&amp;quot;|	120.5208||style=&amp;quot;text-align: center&amp;quot;|	6.0305E-08&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; A • C &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	0.1604||style=&amp;quot;text-align: center&amp;quot;|	5.1949||style=&amp;quot;text-align: center&amp;quot;|	0.0402&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	1.1431||style=&amp;quot;text-align: center&amp;quot;|	37.0173	||style=&amp;quot;text-align: center&amp;quot;|3.8782E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z1||	 || || || ||	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;| &amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|1||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	1.1691||style=&amp;quot;text-align: center&amp;quot;|	37.8604||style=&amp;quot;text-align: center&amp;quot;|	3.4705E-05&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • B &amp;lt;/span&amp;gt; ||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	0.1095||style=&amp;quot;text-align: center&amp;quot;|	3.5456||style=&amp;quot;text-align: center&amp;quot;|	0.0823&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	0.2290||style=&amp;quot;text-align: center&amp;quot;|	7.4172||style=&amp;quot;text-align: center&amp;quot;|	0.0174&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z1 • A • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	0.2074||style=&amp;quot;text-align: center&amp;quot;|	6.7165||style=&amp;quot;text-align: center&amp;quot;|	0.0224&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Component  •  Z2|| || || || ||	 	 	 	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	1.6845||style=&amp;quot;text-align: center&amp;quot;|	1.6845||	style=&amp;quot;text-align: center&amp;quot;|54.5517||style=&amp;quot;text-align: center&amp;quot;|	5.3010E-06&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	0.5059||style=&amp;quot;text-align: center&amp;quot;|	16.3819||style=&amp;quot;text-align: center&amp;quot;|	0.0014&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	0.5205||style=&amp;quot;text-align: center&amp;quot;|	16.8556||style=&amp;quot;text-align: center&amp;quot;|	0.0012&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • A • B &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	0.1782||style=&amp;quot;text-align: center&amp;quot;|	5.7698||style=&amp;quot;text-align: center&amp;quot;|	0.0320&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: right&amp;quot;|&amp;lt;span style=&amp;quot;color:red&amp;quot;&amp;gt; Z2 • B • C &amp;lt;/span&amp;gt;||style=&amp;quot;text-align: center&amp;quot;|	1||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	0.1688||style=&amp;quot;text-align: center&amp;quot;|	5.4651||style=&amp;quot;text-align: center&amp;quot;|	0.0360&lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Residual ||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309|| ||	 	 &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: center&amp;quot;|Lack of Fit||style=&amp;quot;text-align: center&amp;quot;|	13||style=&amp;quot;text-align: center&amp;quot;|	0.4014||style=&amp;quot;text-align: center&amp;quot;|	0.0309	 ||	|| &lt;br /&gt;
|-&lt;br /&gt;
|style=&amp;quot;text-align: left&amp;quot;|Total||style=&amp;quot;text-align: center&amp;quot;|	27||style=&amp;quot;text-align: center&amp;quot;|	14.9080|| || || 	 	 &lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The above table shows both process factors have significant effects on the texture of the patties. Since the model is pretty complicate, the best settings for the process variables and for components cannot be easily identified. &lt;br /&gt;
&lt;br /&gt;
The optimization tool in DOE++ is used for the above model. The target texture value is &amp;lt;math&amp;gt;3\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams with an acceptable range of &amp;lt;math&amp;gt;2.5-3.5\times {{10}^{3}}\,\!&amp;lt;/math&amp;gt; grams. &lt;br /&gt;
&lt;br /&gt;
[[Image:doe_14.21.png|600 px|center]]&lt;br /&gt;
&lt;br /&gt;
The optimal solution is Beef = 98.5%, Pork = 0.7%, Lamb = 0.7%, Temperature = 375.7, and Time = 40.&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
1.	Cornell, John (2002), Experiments with Mixtures: Designs, Models, and the Analysis of Mixture Data, John Wiley &amp;amp; Sons, Inc. New York.&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
2.	Piepel, G. F. (1983), “Defining consistent constraint regions in mixture experiments,” Technometrics, Vol. 25, pp. 97-101. &lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
3.	Snee, R. D. (1979), “Experimental designs for mixture systems with multiple component constraints,” Communications in Statistics, Theory and Methods, Bol. A8, pp. 303-326.&lt;/div&gt;</summary>
		<author><name>Richard House</name></author>
	</entry>
</feed>