cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar

2^3 factorial with blocked replicates

Hello

 

I was looking to construct a 2^3 factorial design which is replicated once (total runs=16). At the end the replication should be blocked and therefore each block should contain the original 2^3 factorial design. Is there an easy way? My way using the Custom Design Tool ended in a replicated half factorial in each block.

 

Thanks

Luca_Indrizzi_0-1701423429201.png

 

Luca_Indrizzi_1-1701423603717.png

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Victor_G
Super User

Re: 2^3 factorial with blocked replicates

Yes I figured out you wanted the full factorial and not half full factorial after my initial response, so I revised it

You need to specify in the model the 2-factors interactions in order to get the full factorial design :

Victor_G_0-1701426691258.png


In the revised answer, you have the options for both designs and two datatables and scripts are provided (one for half full factorial replicated, one for full factorial replicated).

Hope this will help you,

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

View solution in original post

5 REPLIES 5
Victor_G
Super User

Re: 2^3 factorial with blocked replicates

Hi @Luca_Indrizzi,

 

From the screenshots you give, everything seems normal to get to the results you expect.
How did you set up the blocking factor ? Did you set up as 8 runs per block (to have a 2^3 factorial design in each block) ? :

Victor_G_0-1701425428133.png

 

If yes, specifying 16 runs and main effects in the model should give you what you expect :

Victor_G_1-1701425595032.png

Here is the script if you want to generate the same design :

DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Continuous, -1, 1, "X1", 0 ),
	Add Factor( Continuous, -1, 1, "X2", 0 ),
	Add Factor( Continuous, -1, 1, "X3", 0 ), Add Factor( Blocking, 8, "X4" ),
	Set Random Seed( 1874557131 ), Number of Starts( 1 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ),
	Add Alias Term( {1, 1}, {2, 1} ), Add Alias Term( {1, 1}, {3, 1} ),
	Add Alias Term( {2, 1}, {3, 1} ), Set Sample Size( 16 ), Simulate Responses( 0 ),
	Save X Matrix( 0 ), Make Design}
)

And I attached the datatable (with colors!) for you to have a look.

 

If you want to have the full factorial design, you need to specify 2-factors interactions in the model, and with the same procedure, you'll end up with the full factorial design replicated once in two blocks like you expect :

Victor_G_0-1701426340270.png

Here is the script to generate it :

DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Continuous, -1, 1, "X1", 0 ),
	Add Factor( Continuous, -1, 1, "X2", 0 ),
	Add Factor( Continuous, -1, 1, "X3", 0 ), Add Factor( Blocking, 8, "X4" ),
	Set Random Seed( 1421844496 ), Number of Starts( 2 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ),
	Add Term( {1, 1}, {2, 1} ), Add Term( {1, 1}, {3, 1} ),
	Add Term( {2, 1}, {3, 1} ), Set Sample Size( 16 ),
	Optimality Criterion( "Make A-Optimal Design" ),
	"A-Optimality Parameter Weights"n( [1 1 1 1 1 1 1 1] ), Simulate Responses( 0 ),
	Save X Matrix( 0 ), Make Design, Set Run Order( Randomize within Blocks ),
	Make Table}
)

And datatable is attached as well.

 

Another option is to create the 8-runs factorial design, and then use the platform "Augment Design" to replicate the runs once. But you'll have to introduce in your final datatable a column indicating the block/part of the design, and set up accordingly (and manually) the column data type (character),modeling type (Nominal) and properties needed : ValueOrder (1 for block 1 and 2 for block 2), RunsperBlock (8), Design Role (Blocking) and Factor Changes (Easy)

 

Hope this will help you,

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

Re: 2^3 factorial with blocked replicates

Hi @Victor_G 

Thank for your reply.

Exactly, I set 8 runs per block. 

But what you and I got is a replicated 2^3-1 design in each block, since for ex. 1,1,1 appears twice in block 1 & 2, but for ex. -1,-1,-1 doesn't appear at all. What I would like to have is that block 1 & 2 contain each the entire 2^3 factorial design.

Best regards

 

Victor_G
Super User

Re: 2^3 factorial with blocked replicates

Yes I figured out you wanted the full factorial and not half full factorial after my initial response, so I revised it

You need to specify in the model the 2-factors interactions in order to get the full factorial design :

Victor_G_0-1701426691258.png


In the revised answer, you have the options for both designs and two datatables and scripts are provided (one for half full factorial replicated, one for full factorial replicated).

Hope this will help you,

Victor GUILLER
L'Oréal Data & Analytics

"It is not unusual for a well-designed experiment to analyze itself" (Box, Hunter and Hunter)

Re: 2^3 factorial with blocked replicates

Oh I see, no need to add a replicate due to the introduction of the Blocking Factor X4, thanks @Victor_G 

Re: 2^3 factorial with blocked replicates

The results from Custom Design depend on the model you specify. In this case, Did you specify all 2-way and 3-way interactions. My result is what you asked for.

DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Continuous, -1, 1, "X1", 0 ),
	Add Factor( Continuous, -1, 1, "X2", 0 ),
	Add Factor( Continuous, -1, 1, "X3", 0 ), Add Factor( Blocking, 8, "X4" ),
	Set Random Seed( 21226362 ), Number of Starts( 9 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {4, 1} ),
	Add Term( {1, 1}, {2, 1} ), Add Term( {1, 1}, {3, 1} ),
	Add Term( {2, 1}, {3, 1} ), Add Term( {1, 1}, {2, 1}, {3, 1} ),
	Set Sample Size( 16 ), Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design,
	Set Run Order( Randomize within Blocks ), Make Table}
);