<?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: Regarding FDR P-value calculation in JMP in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/338031#M58573</link>
    <description>&lt;P&gt;I dug up an old piece of JSL that I used to calculate the FDR.&amp;nbsp; Attached is an example data table that is the results from a Response Screening platform.&amp;nbsp; I cut it down to have just the PValues and the FDR values calculated from the Response Screening platform.&amp;nbsp; The script below, takes the p Values from the data table and independently calculates the FDR.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Current Data Table();

pValues = dt:PValue &amp;lt;&amp;lt; get values;

index = Rank Index( pvalues );	// removes missing values
n = N Row( index );

ordPValue = pvalues[index];
adkPValue = J( n, 1, . );

For( i = 1, i &amp;lt;= n, i++,
	k = n - i + 1;
	ratio = n / (n - i + 1);
	adkPValue[k] = If( i == 1,
		ordPValue[k],
		Min( ratio * ordPValue[k], adkPValue[k + 1] )
	);
);
dt &amp;lt;&amp;lt; New Column( "kEN Calculated FDR PValue", Format( "Scientific" ) );
For( i = 1, i &amp;lt;= N Rows( adkPValue ), i++,
	dt:kEN Calculated FDR PValue[index[i]] = adkPValue[i]
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 28 Nov 2020 23:11:03 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-11-28T23:11:03Z</dc:date>
    <item>
      <title>Regarding FDR P-value calculation in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/337908#M58553</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have performed two sample nonparametric test (Wilcoxon) to see the significance difference between male and female for approx. 100 gene gene expression in JMP. Now, I would like to see FDR p vale for this analysis. Could you please suggest me that how can I&amp;nbsp; perform this analysis in JMP?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Neeraj&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 00:25:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/337908#M58553</guid>
      <dc:creator>Neeraj</dc:creator>
      <dc:date>2023-06-09T00:25:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding FDR P-value calculation in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/337949#M58557</link>
      <description>&lt;P&gt;Hi Neeraj,&lt;/P&gt;&lt;P&gt;With a bit of digging, I was able to find an Add-In developed by John Sall from JMP that calculates correctly the FDR p Value&amp;nbsp;&lt;A href="https://community.jmp.com/t5/JMP-Add-Ins/False-Discovery-Rate-PValue/m-p/21353#U21353" target="_blank" rel="noopener"&gt;False Discovery Rate PValue&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are not familiar with Add-Ins, just download the file to your computer and double click in the file: it should install automatically&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;TS&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 01:13:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/337949#M58557</guid>
      <dc:creator>Thierry_S</dc:creator>
      <dc:date>2020-11-28T01:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding FDR P-value calculation in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/338030#M58572</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2020 22:12:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/338030#M58572</guid>
      <dc:creator>Neeraj</dc:creator>
      <dc:date>2020-11-28T22:12:21Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding FDR P-value calculation in JMP</title>
      <link>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/338031#M58573</link>
      <description>&lt;P&gt;I dug up an old piece of JSL that I used to calculate the FDR.&amp;nbsp; Attached is an example data table that is the results from a Response Screening platform.&amp;nbsp; I cut it down to have just the PValues and the FDR values calculated from the Response Screening platform.&amp;nbsp; The script below, takes the p Values from the data table and independently calculates the FDR.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here( 1 );

dt = Current Data Table();

pValues = dt:PValue &amp;lt;&amp;lt; get values;

index = Rank Index( pvalues );	// removes missing values
n = N Row( index );

ordPValue = pvalues[index];
adkPValue = J( n, 1, . );

For( i = 1, i &amp;lt;= n, i++,
	k = n - i + 1;
	ratio = n / (n - i + 1);
	adkPValue[k] = If( i == 1,
		ordPValue[k],
		Min( ratio * ordPValue[k], adkPValue[k + 1] )
	);
);
dt &amp;lt;&amp;lt; New Column( "kEN Calculated FDR PValue", Format( "Scientific" ) );
For( i = 1, i &amp;lt;= N Rows( adkPValue ), i++,
	dt:kEN Calculated FDR PValue[index[i]] = adkPValue[i]
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 28 Nov 2020 23:11:03 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Regarding-FDR-P-value-calculation-in-JMP/m-p/338031#M58573</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-11-28T23:11:03Z</dc:date>
    </item>
  </channel>
</rss>

