Blog 3: Design of Experimentsš§Ŗ
- Feb 1, 2025
- 7 min read
Updated: Feb 2, 2025

Welcome back!
It's been over 2 months
since the last blog šŖ
Blog 3 is gonna be ̶a̶n̶o̶t̶h̶e̶r̶ ̶l̶o̶n̶g̶ ̶o̶n̶e̶ the longest one yet š
so let's jump right in ⤵ļø
Design of Experiments (DOE)
What is DOE? š¤·š¼
"A methodology to obtain knowledge of a complex, multi-variable process with the fewest trials possible" --- basically optimizing the experimental process itself š¤©
it is used to investigate effects of single factors, and how they interact with one anotherš§
There are many types of DOE, but for this blog I'll be showing you how to use the
Full Factorial and Fractional Factorial designsš¤š
Let's begin with the case study:
Now imagine thisš¤š
you've just sat downš, bowl of popcorn in one hand
ready to watch your favorite show/moviešļøš„
You reach into the bowl and grab a handfulš«³š¼šæ
*CRUNCH*š
and now your tooth is brokenš¦·š£
why? because you just bit into a "bullet" (un-popped kernelš½)
..but fret not!
Because using DOE,
we can run experiments to find out how to minimize the number of "bullets",
and save your teeth𦷠from another painful surprise!š¬
using Full Factorial design, we will investigate these 3 factors:
A: Diameter of bowlš„£ (10cm and 15cm)
B: Microwaving timeā²ļø (4min and 6min)
C: Power setting of microwaveš„ (75% and 100%)
for Full Factorial, the number of runs (N) was determined from this formula:

..and 8 runs were performed using 100 grams of corn each time, giving us this table:
Table 1: Amount of "bullets" for each run (Full Factorial)
Run Order | A | B | C | Bullets (grams) |
|---|---|---|---|---|
1 | ā | ā | ā | 3.75 |
2 | ā | ā | ā | 2.75 |
3 | ā | ā | ā | 0.74 |
4 | ā | ā | ā | 1.75 |
5 | ā | ā | ā | 0.95 |
6 | ā | ā | ā | 0.32 |
7 | ā | ā | ā | 0.75 |
8 | ā | ā | ā | 3.12 |
Legend:
ā: low level
ā: high level
e.g. For A (diameter), high level (ā) is 15cm while low level (ā) is 10cm
Since Full Factorial design includes all combinations for the high and low levels of the different factors, it lets us perform a complete analysis on how factors influence the outcome
From Table 1,
we can calculate the average amount of "bullets" at the high and low levels of each factor:

and taking the difference between the average for high and low gives us the effect on the outcome
e.g. For power setting, C:
At low C, there is 2.8425g of "bullets" remaining
At high C, the average drops to 0.69g
There is a decrease of 2.1525 which is the total effect
by plotting a graph using the averages for each factor:

We can rank the factors based on their effect on the amount of 'bullets', from largest to smallest, by comparing the gradientsšš
From Fig. 1,
Power setting has the steepest gradient, as well as the largest effectš
followed by microwaving timeā²ļø
and lastly, diameter of the bowlš„£
Giving us the rankingš :
C > B > A
Now we're not done yet, with Full Factorial design, we can also find out how the factors interact with one anotherš«±š¼āš«²š¼
Here, let me show you how:
Let's say we want to examine the interaction between A and B,
we start by calculating the effect of A at low and high levels of B, then using the averages,
we can plot a graph similar to before, where the gradient is the effect ⤵ļø

From the graph in Fig. 2, since the gradients are both different (one is positive, one is negative),
it tells us that there is significant interaction between factors A and Bāš¼š¤
Now we do the same for A and C:

This time, both lines are nearly parallel with just a slight difference in gradients,
meaning there is still interaction between A and C, but it is smallš¤š¼
If the lines were parallel, that would mean no interaction at all!š¤Æ
Lastly, for factors B and C:

Over here, the gradients are both negative and of different values, hence there is also significant interaction between B and Cš«±š¼āš«²š¼
Now, we can summarize our results from the Full Factorial data analysisš:
Starting with the effect of single factors,
All 3 factors reduce the number of "bullets" when set to high
Power settingš„ has the biggest impact, followed by microwaving timeš„, and finally bowl diameterš„
followed by the interaction effects,
A x B (š„£ x ā²ļø): opposite gradients = significant interaction
A x C (š„£ x š„): almost parallel = small interaction
B x C (ā²ļø x š„): different values in gradients = significant interaction
and in conclusion,
to achieve the least amount of "bullets" in your bowl of popcornšæ, you'd want to leave it in the microwave for a longer time, at a higher power setting, and preferably with a bigger bowl(though it doesnāt make as much of a differenceš«¤)
..with that, we are done with Full Factorial designā
Although it provides us with a thorough analysis of all factor combinationsšļø, it can become impractical as the number of runs increase exponentially with more factors⤓ļø, leading to increased time and costš¢šø
Even with just 8 runs, if instead of microwaving popcorn, we had to build a prototype, it would also take way too longš«
which brings us to..Fractional Factorial designā
This time, 4 runs are selected from the Full Factorial design based on statistical orthogonality.
In the context of this experiment,
a design where all factors occur the same number of times, at both ā and ā,
is said to be orthogonal.
which gives us these 4 runs:
Table 2: Amount of "bullets" for each run (Fractional Factorial)
Run Order | A | B | C | Bullets (grams) |
|---|---|---|---|---|
1 | ā | ā | ā | 3.75 |
2 | ā | ā | ā | 2.75 |
3 | ā | ā | ā | 0.74 |
6 | ā | ā | ā | 0.32 |
As shown in Table 2, the high and low levels of each factor are tested twiceāš¼
The next few steps for Fractional Factorial are the same as Full Factorial, just that we have fewer values this time:

from these calculations, we can plot another graphšš:

now, let us rank the factors by comparing the gradients:
From Fig. 4,
Power setting takes the lead yet again with the largest effect & steepest gradientš,
followed by microwaving timeā±ļø, and lastly
diameter of the bowl, with the gentlest gradientš¤š¼
..and that's all for Fractional Factorial design, to summarize the results:
For the effect of single factors,
Similar to Full Factorial, the ranking is:š„>ā²ļø>š„£
When Bā²ļø and Cš„ are set to high, the number of "bullets" decreases
However, when Aš„£ is set to high, there are more "bullets" remaining
Using Fractional Factorial design, the best way to reduce the number of "bullets" is to leave it in the microwave for a longer period, at a higher setting, using a smaller bowl...š¤
The difference in results compared to Full Factorial tells us that Fractional Factorial design is less comprehensive because, though it is more efficientā& resource-effectiveš¤, it carries the risk of missing important informationš§ Which is why we ended up with a different conclusionš¤Æ
onto the next part, Practical 3!š
Practical 3 DOE
For this practical, we used both Full and Fractional Factorial designs
to run experiments using a catapultš¤āļø
The goal was to determine how arm length, projectile weight,
and stop angle affects the distance traveled by the ballš¤
This time, we had to replicate each run 8 times, which meant a total of 64 runsšµ
and at the end, we had a group challengeš®
Using the data we had collected, each group had 8 tries to hit 5 targets

our group went and knocked down 3 targets with 5 shotsšÆ, leaving us with 3 more attempts
and the last 2 targets were surprisingly aligned from a certain angle..
so of course we tried hitting both at onceāš¼, here's what happened:
..anyways, time for another learning reflectionš
more pictures from the practical herešš¼
Learning Reflection
c'mon i can do this
Learning about DOE
Initially during tutorial lessons, I was completely lost because there were so many graphs and charts to look at, that I think my brain just gave up understanding halfwayš
"why's there so many numbers"
"what's that graph for"
"what's orthogonal"
So many questions that left me confused,
looking back now, maybe I should've paid more attention to the lessonsš
ā©Fast forward to after mid-term break,
we had to do pre-practical work for our next practical about DOE.
I start panicking because I didn't understand anything in the DOE template provided,
so I decided to look through the DOE lesson slides multiple times.
Finally, I understand it now

the lesson slides were really useful in helping me understand what DOE is,
as well as the different steps for Full and Fractional Factorial design.
On top of that, I realized that there are certain trade-offs when it comes to using Fractional Factorial design. Since it makes use of less data,
it makes sense that there is a possibility of missing information in the results.
Next, I begin to apply what I've learnt in the DOE practical.
Using DOE in Practical 3
With the data that we had collected, we were able to identify the optimum settings
to use for our catapult during the group challenge,
and we ended up hitting 3/5 targets with 3 shots remaining.
I believe that we could have hit all the targets if we hadn't tried to go for the 2-in-1š¬,
but overall it was still a fun experience and we got to apply what we learnt about DOE,
such as how to determine the effects of single factors.
What lies ahead
I hope to continue learning more about the topic of DOE,
especially since there are more than just 2 designs.
e.g. Response Surface Design, typically used in the latter stages of experimentations,
requires at least 3 levels for each factor, meaning instead of just high and low,
it could be high, medium and lowš¤Æ
I also look forward to applying what I've learnt in the future when I work on my capstone project, or even in my upcoming internship where I'll be supporting activities such as optimisation and development of projects to improve the unit process.
omygoshš« , last but not least:

goodbyešš¼

References:
Jmp.com. (2025). Types of Design of Experiments. [online] Available at: https://www.jmp.com/en_sg/statistics-knowledge-portal/what-is-design-of-experiments/types-of-design-of-experiments.html#response-surface-designs [Accessed 1 Feb. 2025].



Comments