<?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: Parsing &amp;lt;&amp;lt; Get Estimates list elements in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813330#M99441</link>
    <description>&lt;P&gt;Or use&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;'s much better one.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Nov 2024 14:57:15 GMT</pubDate>
    <dc:creator>mmarchandFSLR</dc:creator>
    <dc:date>2024-11-15T14:57:15Z</dc:date>
    <item>
      <title>Parsing &lt;&lt; Get Estimates list elements</title>
      <link>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813317#M99438</link>
      <description>&lt;P&gt;The below script is from one of the scripting index entries for the "Get Estimates" message. The object returned is a list. Are the individual elements of the list easily parsed? Type(estimate[n]), "Name". estimate[2], for example, appears to contain a consistent data structure. How does one return, for example, the matrix denoted "Time End"?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know that all of the information output by "&amp;lt;&amp;lt; Get Estimates" is ultimately accessible via "&amp;lt;&amp;lt; Get Report" and deciphering the display box hierarchy. However, the concise and easily interpreted structure of "Get Estimates" looks like it could be easier to use and result in simpler code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//scripting index script
Names Default To Here( 1 );
dt = Open( "$SAMPLE_DATA/Reliability/Fan.jmp" );
obj = dt &amp;lt;&amp;lt;
Life Distribution(
	Y( :Time ),
	Censor( :Censor ),
	Fit Exponential,
	Set Scale( Exponential )
);
estimate = obj &amp;lt;&amp;lt; Get Estimates;
Show( estimate );

//=======================
//content of estimate[2]

nonparametric estimate(
	{Time Start(
		[450, 1150, 1150, 1600, 2070, 2070, 2080, 3100, 3450, 4600, 6100, 8750]
	), Time End(
		[1150, 1150, 1600, 2070, 2070, 2080, 3100, 3450, 4600, 6100, 8750, 11500]
	), Estimate(
		[0.0142857142857142, 0.0287815126050419, 0.0432773109243697,
		0.0579961215255332, 0.0751234647705236, 0.0922508080155139,
		0.109378151260504, 0.128327552297515, 0.147698051135348, 0.17276575551372,
		0.204582457224731, 0.292962184199761]
	), Standard Error(
		[0.0141833064113421, 0.0200581923902226, 0.024441823837429,
		0.0281508958436217, 0.0324334709625386, 0.0360727593407561,
		0.0392481174087784, 0.0427434474191106, 0.0459737153753552,
		0.0509999042262761, 0.0581216781767556, 0.098041976927893]
	)}
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 14:45:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813317#M99438</guid>
      <dc:creator>wgardnerQS</dc:creator>
      <dc:date>2024-11-15T14:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing &lt;&lt; Get Estimates list elements</title>
      <link>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813328#M99439</link>
      <description>&lt;P&gt;How do you wish to parse it? Is this information enough that you can use lists like this in JMP&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;estimate["nonparametric estimate"]["Time End"]&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 14:55:23 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813328#M99439</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-15T14:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing &lt;&lt; Get Estimates list elements</title>
      <link>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813329#M99440</link>
      <description>&lt;P&gt;In this case, you could use this lovely script.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;End = Arg( Arg( Arg( estimate[2], 1 ), 2 ), 1 );&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 15 Nov 2024 14:55:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813329#M99440</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-15T14:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing &lt;&lt; Get Estimates list elements</title>
      <link>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813330#M99441</link>
      <description>&lt;P&gt;Or use&amp;nbsp;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/14366"&gt;@jthi&lt;/a&gt;'s much better one.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 14:57:15 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813330#M99441</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-11-15T14:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing &lt;&lt; Get Estimates list elements</title>
      <link>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813332#M99442</link>
      <description>&lt;P&gt;Works perfect.&amp;nbsp; Thank you!&amp;nbsp; Is that type of data structure documented?&amp;nbsp; I did not find it.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 15:02:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813332#M99442</guid>
      <dc:creator>wgardnerQS</dc:creator>
      <dc:date>2024-11-15T15:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: Parsing &lt;&lt; Get Estimates list elements</title>
      <link>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813333#M99443</link>
      <description>&lt;P&gt;Lists do have quite a bit of documentation in Scripting Guide &lt;A href="https://www.jmp.com/support/help/en/18.0/#page/jmp/lists-in-jsl-scripts.shtml#" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Data Structures &amp;gt; Lists in JSL Scripts&lt;/A&gt; . I think that behavior is also documented somewhere BUT it might not be under the lists section... I might have just gotten it by pure luck and trying out all sorts of things or I might have read about it (I will try to find it from documentation and will edit if I find it). &lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/11257"&gt;@EvanMcCorkle&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Edit: Found it mentioned at least here (I didn't find it from here first time I got it for sure, but it is mentioned) &lt;A href="https://www.jmp.com/support/help/en/18.0/#page/jmp/subscripts-in-lists.shtml#" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Data Structures &amp;gt; Lists in JSL Scripts &amp;gt; Subscripts in Lists&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1731683360231.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/70239i1ECB67AC93F87010/image-size/large?v=v2&amp;amp;px=999" role="button" title="jthi_0-1731683360231.png" alt="jthi_0-1731683360231.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 15:09:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Parsing-lt-lt-Get-Estimates-list-elements/m-p/813333#M99443</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-11-15T15:09:32Z</dc:date>
    </item>
  </channel>
</rss>

