BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
kayeee_
Calcite | Level 5

Hello. I am trying to analyze over 300 SNP(single nucleotide polymorphisms)s data

I came across information suggesting the use of corrected P-values (MultipleM) for SNP data's P-values.

I found a code implementation in the provided URL (9 pages - 3.2 Alternative to Proc PSMOOTH),

https://support.sas.com/resources/papers/proceedings09/240-2009.pdf

 

The example result is shown below.

7 parameters explained 99.5% of All parameters.

How should I set the corrected P-value?

Is it 0.05/7, 0.05/340, or is there another approach?

 

 

ProportionCumulativeMeffalphaG
0.51930.5193..
0.24240.7617..
0.15470.9164..
0.0010.9174..
0.0050.9224..
0.01540.9378..
0.05720.99570.007143
0.00040.992280.00625
0.000040.9922490.005556
013000.000147

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
sbxkoenk
SAS Super FREQ

Hello,

 

I looked at page 9

https://support.sas.com/resources/papers/proceedings09/240-2009.pdf

SAS Global Forum 2009 -- Paper 240-2009
Beyond SAS/GENETICS™
Amina Barhdadi, Yassamin Feroz zada, Marie-Pierre Dubé
Montreal Heart Institute and Université de Montréal, Montreal, Canada

The code is clear.

 

... ...
 If cumulative>0.995 then Meff=number; /* cumulative and number are two provided variables in eigenvalues data set*/
Run;
/*Step4-Apply the Bonferroni correction formula to adjust point-wise significance level*/
Data Meff;
 Set Meff;
 alphaG=alphaE/Meff; /*alphaE is the experiment-wise error rate*/
Run; 

 

Meff is an estimate of the effective number of independent tests.
In your use case Meff = 7 , so you divide the test-wise error rate by 7 to get the experiment-wise error rate (Bonferroni correction). Like 0.05 / 7 = 0,007143 .

 

Important Note: 
The last comment line says : /*alphaE is the experiment-wise error rate*/

The experiment-wise error rate is on the left-hand side of the equality sign of course.

What you divide by 7 (Meff) is the test-wise error rate.
So, the comment is wrong (should say alphaG) ... or alphaG and alphaE should switch places.

 

Koen

View solution in original post

1 REPLY 1
sbxkoenk
SAS Super FREQ

Hello,

 

I looked at page 9

https://support.sas.com/resources/papers/proceedings09/240-2009.pdf

SAS Global Forum 2009 -- Paper 240-2009
Beyond SAS/GENETICS™
Amina Barhdadi, Yassamin Feroz zada, Marie-Pierre Dubé
Montreal Heart Institute and Université de Montréal, Montreal, Canada

The code is clear.

 

... ...
 If cumulative>0.995 then Meff=number; /* cumulative and number are two provided variables in eigenvalues data set*/
Run;
/*Step4-Apply the Bonferroni correction formula to adjust point-wise significance level*/
Data Meff;
 Set Meff;
 alphaG=alphaE/Meff; /*alphaE is the experiment-wise error rate*/
Run; 

 

Meff is an estimate of the effective number of independent tests.
In your use case Meff = 7 , so you divide the test-wise error rate by 7 to get the experiment-wise error rate (Bonferroni correction). Like 0.05 / 7 = 0,007143 .

 

Important Note: 
The last comment line says : /*alphaE is the experiment-wise error rate*/

The experiment-wise error rate is on the left-hand side of the equality sign of course.

What you divide by 7 (Meff) is the test-wise error rate.
So, the comment is wrong (should say alphaG) ... or alphaG and alphaE should switch places.

 

Koen

sas-innovate-2024.png

Available on demand!

Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 319 views
  • 1 like
  • 2 in conversation