<?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: how can I get prediction profiler output estimation in a script? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285979#M55198</link>
    <description>&lt;P&gt;Try this in your script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rfit = fit &amp;lt;&amp;lt; Report;

pf=rfit["Prediction Profiler"] &amp;lt;&amp;lt; get scriptable object;

pf &amp;lt;&amp;lt; Remember Settings;

dtout = (rfit["Prediction Profiler"]["Remembered Settings"][Table Box(1)]&amp;lt;&amp;lt; Make Into Data Table);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 14 Aug 2020 13:58:27 GMT</pubDate>
    <dc:creator>MathStatChem</dc:creator>
    <dc:date>2020-08-14T13:58:27Z</dc:date>
    <item>
      <title>how can I get prediction profiler output estimation in a script?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285880#M55175</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I have an experiment with many outputs, and I want to get the values given by the prediction formula in a script to send them to a data table. Anybody know how to do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jose Angel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Jun 2023 20:59:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285880#M55175</guid>
      <dc:creator>j_angel_ramos_m</dc:creator>
      <dc:date>2023-06-08T20:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: how can I get prediction profiler output estimation in a script?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285900#M55179</link>
      <description>&lt;P&gt;If you select the red triangle next to the &lt;STRONG&gt;Response&amp;gt;Save Columns&amp;gt;Prediction Formula&lt;/STRONG&gt;, it will add a column to your data table that has the prediction formula. &amp;nbsp;If you right click on that column, and go to the Formula (it will have a check next to it) you can view the formula.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Aug 2020 04:17:44 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285900#M55179</guid>
      <dc:creator>statman</dc:creator>
      <dc:date>2020-08-14T04:17:44Z</dc:date>
    </item>
    <item>
      <title>Re: how can I get prediction profiler output estimation in a script?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285976#M55195</link>
      <description>&lt;P&gt;The suggestion to save the model as a column formula is a good one. There are many ways to use it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This example illustrates how you can directly get the value displayed in the profiler as another way:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default to Here( 1 );

dt = Open( "$SAMPLE_DATA/Big Class.jmp" );

fit = dt &amp;lt;&amp;lt; Fit Model(
	Y( :weight ),
	Effects( :age, :sex, :height ),
	Personality( "Standard Least Squares" ),
	Emphasis( "Minimal Report" ),
	Run(
		Profiler(
			1,
			Confidence Intervals( 1 ),
			Term Value(
				age( 12, Lock( 0 ), Show( 1 ) ),
				sex( "F", Lock( 0 ), Show( 1 ) ),
				height( 62.55, Lock( 0 ), Show( 1 ) )
			)
		),
		:weight &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),
		Parameter Estimates( 1 ), Scaled Estimates( 0 ),
		Plot Actual by Predicted( 1 ), Plot Regression( 0 ),
		Plot Residual by Predicted( 1 ), Plot Studentized Residuals( 0 ),
		Plot Effect Leverage( 1 ), Plot Residual by Normal Quantiles( 0 ),
		Box Cox Y Transformation( 0 )}
	)
);

fit rep = fit &amp;lt;&amp;lt; Report;

prediction = Num( fit rep["Prediction Profiler"][AxisBox(1)][TextBox(2)] &amp;lt;&amp;lt; Get Text );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:46:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285976#M55195</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2020-08-14T13:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: how can I get prediction profiler output estimation in a script?</title>
      <link>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285979#M55198</link>
      <description>&lt;P&gt;Try this in your script&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;rfit = fit &amp;lt;&amp;lt; Report;

pf=rfit["Prediction Profiler"] &amp;lt;&amp;lt; get scriptable object;

pf &amp;lt;&amp;lt; Remember Settings;

dtout = (rfit["Prediction Profiler"]["Remembered Settings"][Table Box(1)]&amp;lt;&amp;lt; Make Into Data Table);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 14 Aug 2020 13:58:27 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/how-can-I-get-prediction-profiler-output-estimation-in-a-script/m-p/285979#M55198</guid>
      <dc:creator>MathStatChem</dc:creator>
      <dc:date>2020-08-14T13:58:27Z</dc:date>
    </item>
  </channel>
</rss>

