<?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 Steepest ascent search in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Steepest-ascent-search/m-p/69351#M35086</link>
    <description>&lt;P&gt;How to implement PSA (&lt;STRONG&gt;Steepest ascent search) analysis&lt;/STRONG&gt; in JMP DOE mode?&lt;/P&gt;</description>
    <pubDate>Fri, 24 Aug 2018 06:39:43 GMT</pubDate>
    <dc:creator>Xuhaidan</dc:creator>
    <dc:date>2018-08-24T06:39:43Z</dc:date>
    <item>
      <title>Steepest ascent search</title>
      <link>https://community.jmp.com/t5/Discussions/Steepest-ascent-search/m-p/69351#M35086</link>
      <description>&lt;P&gt;How to implement PSA (&lt;STRONG&gt;Steepest ascent search) analysis&lt;/STRONG&gt; in JMP DOE mode?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 06:39:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Steepest-ascent-search/m-p/69351#M35086</guid>
      <dc:creator>Xuhaidan</dc:creator>
      <dc:date>2018-08-24T06:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Steepest ascent search</title>
      <link>https://community.jmp.com/t5/Discussions/Steepest-ascent-search/m-p/69370#M35092</link>
      <description>&lt;P&gt;I'm not completely sure, but I think you are talking about a sequential approach to experimentation in which &amp;nbsp;(by exploiting the results from a first design) you augment that design by picking new points along the line of steepest ascent. I think that there are many who would suggest that there are better ways to augment a design, though 'better' will depend on your particular situation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In spite of this, if you want to use the approach this script might get you started. Do 'File &amp;gt; New &amp;gt; New Script', copy the JSL, then 'Edit &amp;gt; Run Script':&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;// ian.cox@jmp.com: 18Sep2010
// Quick demo of design augmentation by steepest ascent

// Make some random data from a main effects model with no interaction
dt1 = New Table("Original Design",
					Add Rows( 10 ),
					New Column( "x1", Numeric, Continuous, Formula( Random Uniform(-1, 1) ) ),
					New Column( "x2", Numeric, Continuous, Formula( Random Uniform(-1, 1) ) ),
					New Column( "y", Numeric, Continuous, Formula( (2 * :x1 + 3 * :x2) + 0.1 * Random Normal() ) )
				);
// Fit the model
fmd = dt1 &amp;lt;&amp;lt; Fit Model(
					Y( :y ),
					Effects( :x1, :x2 ),
					Personality( Standard Least Squares ),
					Emphasis( Effect Leverage ),
					Invisible
					);
fmo = fmd &amp;lt;&amp;lt; Run;
// Get what we need
fmr = fmo &amp;lt;&amp;lt; Report;
pn = fmo &amp;lt;&amp;lt; GetParameterNames;
pe = fmo &amp;lt;&amp;lt; GetEstimates;
ps = fmo &amp;lt;&amp;lt; GetStdErrors;
Print(pn, pe, ps);
// Close the (invisible) report
fmr &amp;lt;&amp;lt; CloseWindow;
// Take x1 to be the base factor
X2OverX1 = pe[3]/pe[2];
// Specify number of steps to take and x1 step size for each
n = 6;
delX1 = 0.3;
// Get points on the path of steepest ascent into a new 'design' table
x1pts = J(n, 1, .);
x2pts = J(n, 1, .);
for (p=1, p&amp;lt;=n, p++,
	x1pts[p] = delX1 * p;
	x2pts[p] = x1pts[p] * X2OverX1;
);
dt2 = AsTable(x1pts||x2pts);
dt2 &amp;lt;&amp;lt; SetName("Path of Steepest Ascent from Fit of "||(dt1 &amp;lt;&amp;lt; GetName));
x1Col = Column(dt2, "Col1") &amp;lt;&amp;lt; SetName("x1");
x2Col = Column(dt2, "Col2") &amp;lt;&amp;lt; SetName("x2");
// Concatenate the two design tables
dt1 &amp;lt;&amp;lt; NewColumn("Design", Numeric, Ordinal, Values(J(Nrow(dt1), 1, 1)));
dt2 &amp;lt;&amp;lt; NewColumn("Design", Numeric, Ordinal, Values(J(Nrow(dt2), 1, 2)));
dt3 = dt1 &amp;lt;&amp;lt; Concatenate(dt2, Output Table( "Augmented Design" ));
// Use graph builder to show the final result
dt3 = Graph Builder(
				Show Control Panel( 0 ),
				Variables( X( :x1 ), Y( :x2 ), Color( :Design ) ),
				Elements( Points( X, Y, Color, Legend( 1 ) ) ),
				SendToReport(
					Dispatch(
						{},
						"400",
						ScaleBox,
						{Legend Model( 1, Properties( 1, {Line Color( 67 )} ) )}
					),
					Dispatch( {}, "Graph Builder", FrameBox, {Marker Size( 4 )} )
				)
			);
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Aug 2018 09:43:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Steepest-ascent-search/m-p/69370#M35092</guid>
      <dc:creator>ian_jmp</dc:creator>
      <dc:date>2018-08-24T09:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Steepest ascent search</title>
      <link>https://community.jmp.com/t5/Discussions/Steepest-ascent-search/m-p/69513#M35104</link>
      <description>&lt;P&gt;Hi my&amp;nbsp;frend,&lt;/P&gt;&lt;P&gt;thanks very very much for your help.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Aug 2018 13:12:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Steepest-ascent-search/m-p/69513#M35104</guid>
      <dc:creator>Xuhaidan</dc:creator>
      <dc:date>2018-08-24T13:12:54Z</dc:date>
    </item>
  </channel>
</rss>

