<?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: Save desirability formula from a profiler  in the Fit model Platform using JSL in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Save-desirability-formula-from-a-profiler-in-the-Fit-model/m-p/471221#M71550</link>
    <description>&lt;P&gt;I'm not sure about the syntax to do it in parts, but this seems to work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Drug.jmp" );

obj = dt &amp;lt;&amp;lt; Fit Model(
	Y( :y ),
	Effects( :Drug, :x ),
	Personality( Standard Least Squares ),
	Run Model()
);

obj &amp;lt;&amp;lt; Profiler(1, Desirability Functions(1), Save Desirability Formula);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;First you have to create profiler, then enable desirability functions and finally save the formula.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 11:05:00 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2022-03-18T11:05:00Z</dc:date>
    <item>
      <title>Save desirability formula from a profiler  in the Fit model Platform using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Save-desirability-formula-from-a-profiler-in-the-Fit-model/m-p/471183#M71548</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to automate some JMP analysis where I generate a desirability function using the Fit model platform. With the current JSL code I can launch the fit model platform and add the profiler to the platform, but in the last step I would like to save the associated desirability formula to a new column in the data table and this does not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have suggestions on how I should to this? Here is a piece of code similar to what I am using as an example&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Drug.jmp" );

obj = dt &amp;lt;&amp;lt; Fit Model(
	Y( :y ),
	Effects( :Drug, :x ),
	Personality( Standard Least Squares ),
	Run Model()
);


obj &amp;lt;&amp;lt; Profiler(1);
obj &amp;lt;&amp;lt; Save Desirability Formula;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:46:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-desirability-formula-from-a-profiler-in-the-Fit-model/m-p/471183#M71548</guid>
      <dc:creator>DavideGrossi</dc:creator>
      <dc:date>2023-06-10T23:46:06Z</dc:date>
    </item>
    <item>
      <title>Re: Save desirability formula from a profiler  in the Fit model Platform using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Save-desirability-formula-from-a-profiler-in-the-Fit-model/m-p/471221#M71550</link>
      <description>&lt;P&gt;I'm not sure about the syntax to do it in parts, but this seems to work:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Drug.jmp" );

obj = dt &amp;lt;&amp;lt; Fit Model(
	Y( :y ),
	Effects( :Drug, :x ),
	Personality( Standard Least Squares ),
	Run Model()
);

obj &amp;lt;&amp;lt; Profiler(1, Desirability Functions(1), Save Desirability Formula);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;First you have to create profiler, then enable desirability functions and finally save the formula.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 11:05:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-desirability-formula-from-a-profiler-in-the-Fit-model/m-p/471221#M71550</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-03-18T11:05:00Z</dc:date>
    </item>
    <item>
      <title>Re: Save desirability formula from a profiler  in the Fit model Platform using JSL</title>
      <link>https://community.jmp.com/t5/Discussions/Save-desirability-formula-from-a-profiler-in-the-Fit-model/m-p/471240#M71558</link>
      <description>&lt;P&gt;Thank you very much, this works nicely&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 14:59:09 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Save-desirability-formula-from-a-profiler-in-the-Fit-model/m-p/471240#M71558</guid>
      <dc:creator>DavideGrossi</dc:creator>
      <dc:date>2022-03-18T14:59:09Z</dc:date>
    </item>
  </channel>
</rss>

