<?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: Quantiles result from JMP are different from Python in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Quantiles-result-from-JMP-are-different-from-Python/m-p/765179#M94470</link>
    <description>&lt;P&gt;The question sounds to me like you want in Python to get the equivalent to the JMP result and Excel's&amp;nbsp;&lt;SPAN&gt;PERCENTILE.EXC function. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;The answer to your question will be dependent on the Python package you are using for calculating the quartiles. &amp;nbsp;Are there additional parameters to the function, is there a different function ( just as Excel has 2 different functions). &amp;nbsp;Take a deep dive in the docs for the Python package you are using.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are asking how to have JSL return the same value as Python, (Excel's PERCENTILE.INC), I will have to defer to the JSL experts around here. &amp;nbsp;(Other than to suggest a deep dive into JMP's documentation both on line and in the scripting index.)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 17:10:32 GMT</pubDate>
    <dc:creator>Paul_Nelson</dc:creator>
    <dc:date>2024-06-12T17:10:32Z</dc:date>
    <item>
      <title>Quantiles result from JMP are different from Python</title>
      <link>https://community.jmp.com/t5/Discussions/Quantiles-result-from-JMP-are-different-from-Python/m-p/762983#M94374</link>
      <description>&lt;P&gt;Hi JMP community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to build a JMP script to calculate the quantiles 97.5. The issue here is my reference data is using Python in which return a different number. Below is an example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Python P97.5:&amp;nbsp;2561.35 (equal to&amp;nbsp;PERCENTILE.INC in Excel)&lt;/P&gt;&lt;P&gt;JMP P97.5:&amp;nbsp;2581.375 (equal to&amp;nbsp;PERCENTILE.EXC in Excel)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My JSL code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Summarize(
dt1,
group_by = By( :group ),
group_p975 = Quantile( :data, 0.975 )
);&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any setting or work around solution so i can get the same number with Python method?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2024 09:22:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantiles-result-from-JMP-are-different-from-Python/m-p/762983#M94374</guid>
      <dc:creator>nthai</dc:creator>
      <dc:date>2024-06-10T09:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Quantiles result from JMP are different from Python</title>
      <link>https://community.jmp.com/t5/Discussions/Quantiles-result-from-JMP-are-different-from-Python/m-p/765179#M94470</link>
      <description>&lt;P&gt;The question sounds to me like you want in Python to get the equivalent to the JMP result and Excel's&amp;nbsp;&lt;SPAN&gt;PERCENTILE.EXC function. &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;The answer to your question will be dependent on the Python package you are using for calculating the quartiles. &amp;nbsp;Are there additional parameters to the function, is there a different function ( just as Excel has 2 different functions). &amp;nbsp;Take a deep dive in the docs for the Python package you are using.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you are asking how to have JSL return the same value as Python, (Excel's PERCENTILE.INC), I will have to defer to the JSL experts around here. &amp;nbsp;(Other than to suggest a deep dive into JMP's documentation both on line and in the scripting index.)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 17:10:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantiles-result-from-JMP-are-different-from-Python/m-p/765179#M94470</guid>
      <dc:creator>Paul_Nelson</dc:creator>
      <dc:date>2024-06-12T17:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Quantiles result from JMP are different from Python</title>
      <link>https://community.jmp.com/t5/Discussions/Quantiles-result-from-JMP-are-different-from-Python/m-p/765346#M94502</link>
      <description>Hi Paul,&lt;BR /&gt;&lt;BR /&gt;Thank for answering my question. My question is actually on the latter part, on how to have JSL return the same value as Python. I'm searching around for a quite but didn't get the answer.</description>
      <pubDate>Thu, 13 Jun 2024 10:29:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Quantiles-result-from-JMP-are-different-from-Python/m-p/765346#M94502</guid>
      <dc:creator>nthai</dc:creator>
      <dc:date>2024-06-13T10:29:04Z</dc:date>
    </item>
  </channel>
</rss>

