<?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 to pick data Quantiles in Distribution? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-pick-data-Quantiles-in-Distribution/m-p/666922#M85491</link>
    <description>&lt;P&gt;Thankyou mate, it work for me use report subscripting.&lt;/P&gt;</description>
    <pubDate>Wed, 09 Aug 2023 00:44:00 GMT</pubDate>
    <dc:creator>mystylelife19</dc:creator>
    <dc:date>2023-08-09T00:44:00Z</dc:date>
    <item>
      <title>How to pick data Quantiles in Distribution?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-pick-data-Quantiles-in-Distribution/m-p/666049#M85430</link>
      <description>&lt;P&gt;Hello, i'm making the contour plot using the data in Distribution, Quantiles 75% &amp;amp; 25%. My question is how do i put the data Quantiles 75% &amp;amp; 25% in my Minimum Maximum Contour Values? All the data Quantiles is different from another data.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;//Put the spec limit on parameter into current data table
Names Default To Here( 1 );
dt = Current Data Table();

// Get the all column names from the data table
columnNames = dt &amp;lt;&amp;lt; Get Column Names("String");

// Choose the specific column
cl = New Window("Column Selection", &amp;lt;&amp;lt;Modal,
    HListBox(
		  Panel Box("Make a selection",
			VlistBox(
			  allcolumn = RadioBox(columnNames, 
			     prmtr=allcolumn&amp;lt;&amp;lt;get
					)
				)
			)	
		)
	);

// If cancel or X was clicked, stop the script
If( cl == {Button( -1 )}, Stop() );	


//Open Distribution

col = Column(prmtr);

Distribution(
	Stack( 1 ),
	Arrange in Rows( 2 ),
	Continuous Distribution(
		Column(col),
		Horizontal Layout( 1 ),
		Vertical( 0 )
	)
);


Contour Plot(
	X( :X, :Y ),
	Y(col),
	Show Data Points( 0 ),
	Fill Areas( 1 ),
	Label Contours( 0 ),
	Transform( "Range Normalized" ),
	Specify Contours( Min( -0.627938 ), Max( -0.547845 ), N( 3 ) )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Aug 2023 07:12:34 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-pick-data-Quantiles-in-Distribution/m-p/666049#M85430</guid>
      <dc:creator>mystylelife19</dc:creator>
      <dc:date>2023-08-07T07:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to pick data Quantiles in Distribution?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-pick-data-Quantiles-in-Distribution/m-p/666080#M85432</link>
      <description>&lt;P&gt;You have few different option, you can make a datatable from distribution results and use that to get the values (right click on the table, make into data table and get script from source, edit as neede) or you could use report subscripting to access the table box which has those values&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$SAMPLE_DATA/Big Class.jmp");

dist = dt &amp;lt;&amp;lt; Distribution(
	Stack(1),
	Arrange in Rows(2),
	Continuous Distribution(Column(:height), Horizontal Layout(1), Vertical(0))
);

tb_ref = Report(dist)[OutlineBox("Quantiles"), Table Box(1)];

// not the most robust option
tb_vals = tb_ref &amp;lt;&amp;lt; get;
lower_idx = Contains(tb_vals[1], "25.0%");
upper_idx = Contains(tb_vals[1], "75.0%");
q_lower = tb_vals[3][lower_idx];
q_upper = tb_vals[3][upper_idx];

show(q_lower, q_upper);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Some sources for accessing reports:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;LI-MESSAGE title="Session 7: Scope, Properties and Report Layer" uid="649136" url="https://community.jmp.com/t5/JMP-Scripters-Club-Discussions/Session-7-Scope-Properties-and-Report-Layer/m-p/649136#U649136" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;&lt;LI-MESSAGE title="Introduction to the JMP Scripting Language" uid="539562" url="https://community.jmp.com/t5/Introduction-to-the-JMP/Introduction-to-the-JMP-Scripting-Language/m-p/539562#U539562" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-tkb-thread lia-fa-icon lia-fa-tkb lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; chapters 5.1 and 5.2&lt;/LI&gt;
&lt;LI&gt;Scripting Guide: &lt;A href="https://www.jmp.com/support/help/en/17.0/#page/jmp/display-trees.shtml#" target="_blank" rel="noopener"&gt; Scripting Guide &amp;gt; Display Trees&lt;/A&gt;&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 07 Aug 2023 08:25:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-pick-data-Quantiles-in-Distribution/m-p/666080#M85432</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2023-08-07T08:25:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to pick data Quantiles in Distribution?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-pick-data-Quantiles-in-Distribution/m-p/666922#M85491</link>
      <description>&lt;P&gt;Thankyou mate, it work for me use report subscripting.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 00:44:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-pick-data-Quantiles-in-Distribution/m-p/666922#M85491</guid>
      <dc:creator>mystylelife19</dc:creator>
      <dc:date>2023-08-09T00:44:00Z</dc:date>
    </item>
  </channel>
</rss>

