<?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: Column quantiles or probabilites by ... in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56834#M31903</link>
    <description>&lt;P&gt;Hi, Pat!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Wrong" may be an overstatement!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reference from Blom is specifically regarding Inverse Normal Transformations, which are of the form&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Region Capture.JPG" style="width: 268px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10703i97FC8DDC6B14BE92/image-size/large?v=v2&amp;amp;px=999" role="button" title="Region Capture.JPG" alt="Region Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The parenthetical argument is the quantile.&amp;nbsp; Blom recommends that c=3/8;&amp;nbsp; Van der Waerden recommends c=0; Bliss and others recommend different c's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No less than John W. Tukey suggests in&amp;nbsp;&lt;SPAN&gt;Tukey JW.; "The future of data analysis";&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="ref-journal"&gt;Ann Math Stat.&amp;nbsp;&lt;/SPAN&gt;1962;&lt;SPAN class="ref-vol"&gt;33&lt;/SPAN&gt;:pp1–67 that there is a trivial difference between any of the methods and the Expected Normal Scores, so it really doesn't matter which one you pick.&amp;nbsp; I chose Blom because I've studied it and I'm confident that it closely matches ENS even with small sample sizes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Crazy is a short drive for me, but would you like some assistance with constructing the equation for given column name inputs?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 18:49:37 GMT</pubDate>
    <dc:creator>Kevin_Anderson</dc:creator>
    <dc:date>2018-05-10T18:49:37Z</dc:date>
    <item>
      <title>Column quantiles or probabilites by ...</title>
      <link>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56744#M31838</link>
      <description>&lt;P&gt;I need jsl code that will save the probabilities of a given column distribution, by other columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know how to do this un-scripted by taking a distribution of the column by the other columns and then under the red action button while holding control, and selecting Save Prob Scores.&amp;nbsp; But I don't know how to script this.&lt;/P&gt;&lt;P&gt;I looked through other posts but didn't find an answer to how to script the above or doing a more direct calculation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The only thing I could think of is to do multiple iterations over each&amp;nbsp;"by": taking the subset, sorting those tables,&amp;nbsp;error checking&amp;nbsp;for a null table,&amp;nbsp;calculate&amp;nbsp;estimated quantiles using row number (not sure how to get this), and updating&amp;nbsp;the original table with each.&amp;nbsp; It seems like a lot of coding that maybe can be done with one line with the right function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm sure someone has a beter idea.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 18:07:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56744#M31838</guid>
      <dc:creator>pcarroll1</dc:creator>
      <dc:date>2018-05-09T18:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: Column quantiles or probabilites by ...</title>
      <link>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56750#M31842</link>
      <description>&lt;P&gt;Hi, pcarroll1!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think there are many ways to calculate and script what you wish.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using a method from&amp;nbsp;&lt;SPAN&gt;Blom G.,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="ref-journal"&gt;&lt;U&gt;Statistical estimates and transformed beta-variables,&lt;/U&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;Wiley; New York: 1958, you could calculate the quantiles of, for instance, height by sex in the Big Class data table using the formula&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;(Col Rank( :height, :sex ) - 3 / 8) / (Col Number( :height, :sex ) + 1 / 4)&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I can think of several more sophisticated ways to do what I think you want, but making a new column with a formula (or Set Values) in it is pretty easy in JSL...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 19:08:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56750#M31842</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2018-05-09T19:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Column quantiles or probabilites by ...</title>
      <link>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56832#M31902</link>
      <description>&lt;P&gt;Kevin,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks.&amp;nbsp; This works, though I don't understand the 3/8 and 1/4.&amp;nbsp; I've seen the equation as:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Col Rank&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;height&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;sex &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;/&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Col Number&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;height&lt;SPAN class="token punctuation"&gt;,&lt;/SPAN&gt; &lt;SPAN class="token punctuation"&gt;:&lt;/SPAN&gt;sex &lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt; &lt;SPAN class="token operator"&gt;+&lt;/SPAN&gt; &lt;SPAN class="token number"&gt;1&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Is this wrong?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;The other issue is for me is constructing the equation for given column name inputs.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;The response I get from JMP are driving me crazy.&amp;nbsp; Forcing me several times to have to kill JMP with the Task Manager.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="token punctuation"&gt;Pat&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 18:33:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56832#M31902</guid>
      <dc:creator>pcarroll1</dc:creator>
      <dc:date>2018-05-10T18:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Column quantiles or probabilites by ...</title>
      <link>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56834#M31903</link>
      <description>&lt;P&gt;Hi, Pat!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Wrong" may be an overstatement!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The reference from Blom is specifically regarding Inverse Normal Transformations, which are of the form&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Region Capture.JPG" style="width: 268px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/10703i97FC8DDC6B14BE92/image-size/large?v=v2&amp;amp;px=999" role="button" title="Region Capture.JPG" alt="Region Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The parenthetical argument is the quantile.&amp;nbsp; Blom recommends that c=3/8;&amp;nbsp; Van der Waerden recommends c=0; Bliss and others recommend different c's.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No less than John W. Tukey suggests in&amp;nbsp;&lt;SPAN&gt;Tukey JW.; "The future of data analysis";&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="ref-journal"&gt;Ann Math Stat.&amp;nbsp;&lt;/SPAN&gt;1962;&lt;SPAN class="ref-vol"&gt;33&lt;/SPAN&gt;:pp1–67 that there is a trivial difference between any of the methods and the Expected Normal Scores, so it really doesn't matter which one you pick.&amp;nbsp; I chose Blom because I've studied it and I'm confident that it closely matches ENS even with small sample sizes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Crazy is a short drive for me, but would you like some assistance with constructing the equation for given column name inputs?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 18:49:37 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56834#M31903</guid>
      <dc:creator>Kevin_Anderson</dc:creator>
      <dc:date>2018-05-10T18:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Column quantiles or probabilites by ...</title>
      <link>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56837#M31906</link>
      <description>&lt;P&gt;Thanks for the offer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I took a pill and then&amp;nbsp;finally decided to construct my code as a string and then use eval(parse()) to convert it into an expression and run it.&amp;nbsp; In the end it worked!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pat&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 19:44:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Column-quantiles-or-probabilites-by/m-p/56837#M31906</guid>
      <dc:creator>pcarroll1</dc:creator>
      <dc:date>2018-05-10T19:44:56Z</dc:date>
    </item>
  </channel>
</rss>

