<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Questions about DOE in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702295#M88663</link>
    <description>&lt;P&gt;With your informations, here is how the setting of the factors and model can be done in order to get the 8 treatments you need :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1700747334300.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59045i7793FF7C7D015993/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1700747334300.png" alt="Victor_G_0-1700747334300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To obtain this 8-runs design, here is the script :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Categorical, {"0", "NPK"}, "NPK", 0 ),
	Add Factor( Discrete Numeric, {0, 5, 10, 50}, "GHQ", 0 ),
	Set Random Seed( 1540555554 ), Number of Starts( 329553 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {2, 2} ), Add Term( {2, 3} ),
	Add Term( {1, 1}, {2, 1} ), Set Sample Size( 8 ), Simulate Responses( 0 ),
	Save X Matrix( 0 ), Make Design}
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then, to have 3 replicates, you just need to use this design and go to "Augment Design", option "Replicate", specify that you want each runs done 3 times, and you'll obtain your 24 runs as needed (datatable attached). The script used to augment the design is :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
dt2 = dt &amp;lt;&amp;lt; run script( "Original Data Table" );
Current Data Table( dt2 );
DOE(
	Augment Design,
	X( :NPK, :GHQ ),
	Y( :Y ),
	{Augment Method( Replicate, 3 ), Save X Matrix( 0 ), Simulate Responses( 0 ),
	Make Table}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that you can find these scripts and modify them in every DOE datatable, by right-clicking on the green triangle next to "DOE Dialog" and then clicking on "Edit". This will open a windows with the script used to generate the design.&lt;BR /&gt;&lt;BR /&gt;Hope this answer will help you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 23 Nov 2023 13:54:47 GMT</pubDate>
    <dc:creator>Victor_G</dc:creator>
    <dc:date>2023-11-23T13:54:47Z</dc:date>
    <item>
      <title>Questions about DOE</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702223#M88657</link>
      <description>&lt;P&gt;Hi everone&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to conduct a field trial. I would like to check the response of a new fertilizer (at different levels) with and without exisiting fertilizers on yield of wheat.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need help with DOE. so basically i have eight treatments T0= negative control (no fertlizers), T1= positive control (NPK) business as usual fertlizers, T2= NPK+low level of new fertilizer, T3=NPK+medium level of new fertlizer, T4=NPK+high level of new fertilizer, T5=low level of new fertlizer, T6=medium level of new fertilizer, T7=high level of new fertilzier.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i need to check the effect of treatments on yield. i have planned 3 replicates or blocks (Randomised complete block design).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how can i use DOE to design this trial in JMP.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I shall welcome all the suggestions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 10:03:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702223#M88657</guid>
      <dc:creator>AHM</dc:creator>
      <dc:date>2023-11-23T10:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DOE</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702237#M88658</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/53435"&gt;@AHM&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Welcome in the Community !&lt;/P&gt;
&lt;P&gt;Regarding the treatments you would like to have, why not considering a DoE with two factors :&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;X1 : Quantity of NPK (with levels at 0 and&amp;nbsp;at "normal/standard" quantity), numeric continuous factor&lt;/LI&gt;
&lt;LI&gt;X2 : Quantity of new fertilizer (with levels at 0, middle level and high level), numeric continuous factor.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using a standard factorial approach, and specifying a model with the two main effects, a quadratic effect for X2 to have experimental runs with 3 possible levels ( if you want to have 4 levels for factor X2 : absence, low, middle and high levels you can specify a cubic order effect term in addition in the model) and the interaction between these two factors, you should have all the treatments you are expecting :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_2-1700735401681.png" style="width: 212px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59038i8E38BB12D61032DA/image-dimensions/212x211?v=v2" width="212" height="211" role="button" title="Victor_G_2-1700735401681.png" alt="Victor_G_2-1700735401681.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can create this Custom Design with this script (you can modify the quantity levels used, I just used them for illustration):&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Continuous, 0, 5, "NPK Quantity", 0 ),
	Add Factor( Continuous, 0, 10, "New fertilizer quantity", 0 ),
	Set Random Seed( 14871954 ), Number of Starts( 312796 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {2, 2} ),
	Add Alias Term( {1, 1}, {2, 1} ), Set Sample Size( 8 ), Simulate Responses( 0 ),
	Save X Matrix( 0 ), Make Design}
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And datatable of the DoE (without replicates) is attached.&lt;/P&gt;
&lt;P&gt;If you want to replicate the whole design 2 more times, you can use the "Augment Design" platform (in menu "DoE", "Augment Design"), click on "Replicate" option and specify 3 as the number of replicates :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1700734924030.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59036i95FC208888858F18/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1700734924030.png" alt="Victor_G_0-1700734924030.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You'll end up with a completely randomized design with 3 replicates, for a total of 24 runs (datatable attached).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have constraints about number of runs done per day for example, you can use blocks in the initial design generation, by adding a factor (type blocking) and specify the number of runs per block :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_1-1700735141429.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59037i0FF889887D708E2C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_1-1700735141429.png" alt="Victor_G_1-1700735141429.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;You can then specify the same model as before (with added block effect), the number of runs in total (24), and you'll end up with a design in 3 blocks (see datatable attached).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope these design options may help you in the creation of your DoE,&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 10:40:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702237#M88658</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-23T10:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DOE</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702288#M88661</link>
      <description>&lt;P&gt;Thanks a lot&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11568"&gt;@Victor_G&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As i am new to jmp and statistical world here please do apologize my stupid questions&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. I can rephrase my question again&lt;/P&gt;&lt;P&gt;Factor 1 (NPK) (2 levels)= 0, NPK&lt;/P&gt;&lt;P&gt;Factor 2 (GHQ) (4 levels)= 0, 5, 10, 50&lt;/P&gt;&lt;P&gt;Replications = 3&lt;/P&gt;&lt;P&gt;Treatments&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T0= control (no fertlizers)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T1= control (NPK),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T2= NPK+5GHQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T3=NPK+10GHQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T4=NPK+50GHQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T5=5 GHQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T6=10 GHQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T7=50 GHQ&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I wish to have RCBD which will give me treatment * replication = 8*3 = 24 plots&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please help a DOE for this setup? Please suggest a script to run&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for attached files you have sent, how can i go to their scripts if i want to edit them?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking forward for your kind response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 13:20:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702288#M88661</guid>
      <dc:creator>AHM</dc:creator>
      <dc:date>2023-11-23T13:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Questions about DOE</title>
      <link>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702295#M88663</link>
      <description>&lt;P&gt;With your informations, here is how the setting of the factors and model can be done in order to get the 8 treatments you need :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Victor_G_0-1700747334300.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/59045i7793FF7C7D015993/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Victor_G_0-1700747334300.png" alt="Victor_G_0-1700747334300.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;To obtain this 8-runs design, here is the script :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;DOE(
	Custom Design,
	{Add Response( Maximize, "Y", ., ., . ),
	Add Factor( Categorical, {"0", "NPK"}, "NPK", 0 ),
	Add Factor( Discrete Numeric, {0, 5, 10, 50}, "GHQ", 0 ),
	Set Random Seed( 1540555554 ), Number of Starts( 329553 ), Add Term( {1, 0} ),
	Add Term( {1, 1} ), Add Term( {2, 1} ), Add Term( {2, 2} ), Add Term( {2, 3} ),
	Add Term( {1, 1}, {2, 1} ), Set Sample Size( 8 ), Simulate Responses( 0 ),
	Save X Matrix( 0 ), Make Design}
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Then, to have 3 replicates, you just need to use this design and go to "Augment Design", option "Replicate", specify that you want each runs done 3 times, and you'll obtain your 24 runs as needed (datatable attached). The script used to augment the design is :&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Current Data Table();
dt2 = dt &amp;lt;&amp;lt; run script( "Original Data Table" );
Current Data Table( dt2 );
DOE(
	Augment Design,
	X( :NPK, :GHQ ),
	Y( :Y ),
	{Augment Method( Replicate, 3 ), Save X Matrix( 0 ), Simulate Responses( 0 ),
	Make Table}
);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note that you can find these scripts and modify them in every DOE datatable, by right-clicking on the green triangle next to "DOE Dialog" and then clicking on "Edit". This will open a windows with the script used to generate the design.&lt;BR /&gt;&lt;BR /&gt;Hope this answer will help you,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 13:54:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Questions-about-DOE/m-p/702295#M88663</guid>
      <dc:creator>Victor_G</dc:creator>
      <dc:date>2023-11-23T13:54:47Z</dc:date>
    </item>
  </channel>
</rss>

