<?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: Make combined table from fit model in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43193#M25011</link>
    <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358" target="_blank"&gt;markbailey&lt;/A&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 14 Aug 2017 14:11:10 GMT</pubDate>
    <dc:creator>WHTseng</dc:creator>
    <dc:date>2017-08-14T14:11:10Z</dc:date>
    <item>
      <title>Make combined table from fit model</title>
      <link>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43180#M25001</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to output the Rsquare value from a fit model, the code is as below,&lt;/P&gt;&lt;P&gt;(I take Algae Mitscherlich.jmp for practice, but I believe the Rsquare doean't really mean anything. Sorry for that)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Eventually the code doesn't ouput a combined table, no matter what number I input into [outline box(4)][2].&lt;/P&gt;&lt;P&gt;Can someone indicate me what is wrong here?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for any reply.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt_comb=&lt;FONT color="#0000FF"&gt;Open&lt;/FONT&gt;( "&lt;FONT color="#800080"&gt;$SAMPLE_DATA/Nonlinear Examples/Algae Mitscherlich.jmp&lt;/FONT&gt;" );

dt_comb&amp;lt;&amp;lt;&lt;FONT color="#333399"&gt;&lt;STRONG&gt;Fit Model&lt;/STRONG&gt;&lt;/FONT&gt;(
	Y( :Algae density ),
	Effects( :Mitscherlich, :equal alphas, :equal betas ),
	Personality( "&lt;FONT color="#800080"&gt;Standard Least Squares&lt;/FONT&gt;" ),
	Emphasis( "&lt;FONT color="#800080"&gt;Effect Screening&lt;/FONT&gt;" ),
	Run()
);

dt_model = dt_comb &amp;lt;&amp;lt; &lt;FONT color="#333399"&gt;&lt;STRONG&gt;report&lt;/STRONG&gt;&lt;/FONT&gt;;
dt_modelR = dt_model[&lt;FONT color="#0000FF"&gt;outline box&lt;/FONT&gt;(4)][2] &amp;lt;&amp;lt; &lt;STRONG&gt;&lt;FONT color="#333399"&gt;make combined data table&lt;/FONT&gt;&lt;/STRONG&gt;; 


&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 11:46:53 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43180#M25001</guid>
      <dc:creator>WHTseng</dc:creator>
      <dc:date>2017-08-14T11:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: Make combined table from fit model</title>
      <link>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43186#M25005</link>
      <description>&lt;P&gt;I recommend that you change your subscripting approach to this form:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt_model["Summary of Fit"][TableBox(1)] &amp;lt;&amp;lt; Make Combined Data Table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Aug 2017 12:51:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43186#M25005</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-08-14T12:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Make combined table from fit model</title>
      <link>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43190#M25008</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358" target="_blank"&gt;markbailey&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply, but the data table still doesn't come out.&lt;/P&gt;&lt;P&gt;I use Debug tool, the message below showing up,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Send Expects Scriptable Object in access or evaluation of 'Send' , dt_model["Summary of Fit"][Table Box( 1 )] &amp;lt;&amp;lt; /*###*/Make Combined Data Table/*###*/&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have idea what I should modify the code?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 13:48:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43190#M25008</guid>
      <dc:creator>WHTseng</dc:creator>
      <dc:date>2017-08-14T13:48:58Z</dc:date>
    </item>
    <item>
      <title>Re: Make combined table from fit model</title>
      <link>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43191#M25009</link>
      <description>&lt;P&gt;I am sorry for your trouble. Perhaps there was more to your script than I realized and my example of the correct message send was not enough. Here is an example of a complete script that works. It should give you a better idea.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;bc = Open( "$SAMPLE_DATA/Big Class.jmp" );

fm = bc &amp;lt;&amp;lt; Fit Model(
	Y( :weight ),
	Effects( :age, :sex, :height ),
	Personality( "Standard Least Squares" ),
	Emphasis( "Effect Leverage" ),
	Run(
		:weight &amp;lt;&amp;lt; {Summary of Fit( 1 ), Analysis of Variance( 1 ),
		Parameter Estimates( 1 ), Plot Actual by Predicted( 1 ),
		Plot Regression( 0 ), Plot Residual by Predicted( 1 ),
		Plot Effect Leverage( 0 )}
	)
);

fmr = fm &amp;lt;&amp;lt; Report;

fmr["Summary of Fit"][TableBox(1)] &amp;lt;&amp;lt; Make Combined Data Table;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:01:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43191#M25009</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-08-14T14:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: Make combined table from fit model</title>
      <link>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43192#M25010</link>
      <description>&lt;P&gt;I see it now. You are using the wrong variable. Your script stores the reference to the analysis layer of the Fit Least Squares platform in the variable &lt;STRONG&gt;dt_model&lt;/STRONG&gt;. You then&amp;nbsp;send a message to this object to obtain the reference to the report layer but you did not store the result in another variable. You certainly did not store it in &lt;STRONG&gt;dt_model&lt;/STRONG&gt;. So subscripting failed to yield a scriptable object that understood the message.&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:07:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43192#M25010</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2017-08-14T14:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: Make combined table from fit model</title>
      <link>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43193#M25011</link>
      <description>&lt;P&gt;Thank you,&amp;nbsp;&lt;A href="https://community.jmp.com/t5/user/viewprofilepage/user-id/5358" target="_blank"&gt;markbailey&lt;/A&gt;&amp;nbsp;!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Aug 2017 14:11:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Make-combined-table-from-fit-model/m-p/43193#M25011</guid>
      <dc:creator>WHTseng</dc:creator>
      <dc:date>2017-08-14T14:11:10Z</dc:date>
    </item>
  </channel>
</rss>

