<?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 populate additional column with a quantile value in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-populate-additional-column-with-a-quantile-value/m-p/2399#M2399</link>
    <description>JMP's Quantile functions work the other way around: given a quantile value they produce a data value. If you plot the quantile function (script below), you'll see it has flat spots, which makes it hard to define the inverse function that you want.&lt;BR /&gt;&lt;BR /&gt;You can get close with (Col Rank( : x ) - 1) / (N Row() - 1), but ties are arbitrarily ordered.&lt;BR /&gt;&lt;BR /&gt;The Ranking Tie() function will average ties together, but requires more set-up since it's not a "Col" function.&lt;BR /&gt;&lt;BR /&gt;&lt;!--&lt;br /&gt;Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;br /&gt;New Window( "Quantile",&lt;br /&gt;	Graph Box( X Scale( 0, 1 ), Y Scale( 50, 70 ), Y Function( Col Quantile( :height, q ), q ) )&lt;br /&gt;);&lt;br /&gt;--&gt;</description>
    <pubDate>Wed, 22 Sep 2010 13:28:21 GMT</pubDate>
    <dc:creator>XanGregg</dc:creator>
    <dc:date>2010-09-22T13:28:21Z</dc:date>
    <item>
      <title>How to populate additional column with a quantile value</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-populate-additional-column-with-a-quantile-value/m-p/2398#M2398</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Is there a simple column formula that will populate the quantile of a value in a different column? &lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;BR /&gt;I have a column with the following values [1,2,3,4,5,6,7,8,9,10]. I would like to create a new column that will simply hold the quantile value of each of the values in my original column.&lt;BR /&gt;&lt;BR /&gt;I tried the quantile function in the Column Properties dialogue, but that doesn't seem to be the answer (or I'm using it incorrectly).&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 16 Sep 2010 17:26:46 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-populate-additional-column-with-a-quantile-value/m-p/2398#M2398</guid>
      <dc:creator>sfkeydel</dc:creator>
      <dc:date>2010-09-16T17:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate additional column with a quantile value</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-populate-additional-column-with-a-quantile-value/m-p/2399#M2399</link>
      <description>JMP's Quantile functions work the other way around: given a quantile value they produce a data value. If you plot the quantile function (script below), you'll see it has flat spots, which makes it hard to define the inverse function that you want.&lt;BR /&gt;&lt;BR /&gt;You can get close with (Col Rank( : x ) - 1) / (N Row() - 1), but ties are arbitrarily ordered.&lt;BR /&gt;&lt;BR /&gt;The Ranking Tie() function will average ties together, but requires more set-up since it's not a "Col" function.&lt;BR /&gt;&lt;BR /&gt;&lt;!--&lt;br /&gt;Open( "$SAMPLE_DATA/Big Class.jmp" );&lt;br /&gt;New Window( "Quantile",&lt;br /&gt;	Graph Box( X Scale( 0, 1 ), Y Scale( 50, 70 ), Y Function( Col Quantile( :height, q ), q ) )&lt;br /&gt;);&lt;br /&gt;--&gt;</description>
      <pubDate>Wed, 22 Sep 2010 13:28:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-populate-additional-column-with-a-quantile-value/m-p/2399#M2399</guid>
      <dc:creator>XanGregg</dc:creator>
      <dc:date>2010-09-22T13:28:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to populate additional column with a quantile value</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-populate-additional-column-with-a-quantile-value/m-p/2400#M2400</link>
      <description>Xan,&lt;BR /&gt;&lt;BR /&gt;Much appreciated. I'll experiment with this. One of my colleagues suggested a workaround which, as it happens, is good enough for what I'm trying to do:&lt;BR /&gt;&lt;BR /&gt;If(:Callback % &amp;gt;= Col Quantile(:Callback %, 0.75), "Upper", "Normal")&lt;BR /&gt;&lt;BR /&gt;Thanks again!&lt;BR /&gt;&lt;BR /&gt;Stefan</description>
      <pubDate>Thu, 23 Sep 2010 13:00:51 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-populate-additional-column-with-a-quantile-value/m-p/2400#M2400</guid>
      <dc:creator>sfkeydel</dc:creator>
      <dc:date>2010-09-23T13:00:51Z</dc:date>
    </item>
  </channel>
</rss>

