Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
relative rate tests (Read 3231 times)
Donna Toleno
Guest


relative rate tests
Aug 24th, 2004 at 1:24pm
 
Are the p-values for the relative rate tests corrected for multiple comparisons?
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: relative rate tests
Reply #1 - Aug 24th, 2004 at 3:37pm
 
Dear Donna,

p-values for pairwise relative rate tests are not corrected for multiple comparisons. The comparisons are not completely independent, though (e.g. because there is a shared outgroup), so it is not trivial to find a good correction. You can always go for the super-conservative Bonferroni correction, or try one of the false discovery rate corrections. If you want more details on the latter, I can post more information on how one can perform FDR evaluations in HyPhy.

Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
Marantaceae
Ex Member


Re: relative rate tests
Reply #2 - Jul 24th, 2006 at 4:01am
 
How can I include the GTR model in the pairwise relative rate test, as it is not included in the predefined models available for this test?!
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: relative rate tests
Reply #3 - Jul 24th, 2006 at 9:03am
 
Quote:
How can I include the GTR model in the pairwise relative rate test, as it is not included in the predefined models available for this test?!


You should be able to use the GRM (General Reversible Model, which is the same as GTR - general time reversible) model for nucleotide data.

Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
sergios-orestis
YaBB Newbies
*
Offline


osx/centos

Posts: 10
New York City
Gender: male
FDRC in RRT
Reply #4 - Nov 2nd, 2006 at 10:56pm
 
Hello Sergei,

could I ask you to elaborate on the FDR correction in RRTs, please?

Thanx in advance,
sergios


-------
Institute for Comparative Genomics
American Museum of Natural History
            &
Dept. of Ecology, Evolution, and Environmental Biology
Columbia University
Back to top
 
WWW WWW  
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: FDRC in RRT
Reply #5 - Nov 7th, 2006 at 10:41am
 
Dear Sergios,

A false discovery rate is simply the ratio of false positive results to all significant results, i.e. the proportion of incorrect significant results you can live with. Unfortunately, most FDR procedures are not exactly applicable to pairwise relative rate tests. There are two reasons: RR tests are not necessarily independent and identically distributed, and FDR procedures assume that a certain proportion of the observation actually came from the null model (i.e. the rates in two lineages were the same) - this may or may not be the case.

That said, I would recommend (for its ease of use), the Benjamini-Hochberg procedure, which is very simple to apply. Say you have N p-values, ranked from smallest to largest, p_1 <= p_2 <= ... <= p_N. Under fairly general conditions, you can ensure that the false discovery rate is no greater than 'q' (e.g 0.05), by rejecting the first i hypotheses, for which p_i <= (i/n) q. For example, for 10 hypotheses, with ranked p-values 0.001, 0.005, 0.01, 0.02, 0.05, 0.1, 0.2, 0.3, 0.5, 0.7, to enforce FDR <= 0.05, you would reject the first four hypotheses, because 0.001 < 1/10 * 0.05, 0.005 < 2/10 * 0.05, 0.01 < 3/10 * 0.05, 0.02 < 4/10 * 0.05, but 0.05 > 5/10 * 0.05.

The code in HyPhy to implement BH could be like this (assuming all the p-values are stored in a column vector PV with n rows)

Code:
PV = PV % 0; /* sort */
q = 0.05;
for (k=0; k<Rows(PV); k=k+1)
{
	 if (PV[k] <= (k+1)/Rows(PV) * q)
	 {
		  fprintf (stdout, "Reject hypothesis ranked ", k+1, " with p = ", PV[k], "\n");
	 }
	 else
	 {
		  break;
	  }
}


 



The paper on the method is here Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login.

For a much more technical pFDR paper take a look at Multimedia File Viewing and Clickable Links are available for Registered Members only!!  You need to Login Login

HTH,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged