Code covered by the BSD License  

Highlights from
one sample/paired samples permutation t-test with correction for multiple comparisons

5.0

5.0 | 1 rating Rate this file 31 Downloads (last 30 days) File Size: 4.78 KB File ID: #29782

one sample/paired samples permutation t-test with correction for multiple comparisons

by David Groppe

 

19 Dec 2010 (Updated 03 Feb 2011)

One sample/paired samples permutation t-test with correction for multiple comparisons

| Watch this File

File Information
Description

     Permutation test of the null hypothesis that a set of data was sampled from a symmetric distribution with a particular mean. The test is based on a t-statistic and can be applied to situations in which a one sample or paired sample/repeated measures t-test is appropriate. Note, that this test is more general than parametric t-tests in that it does not assume that the data were sampled from a Gaussian distribution.
     This function can perform the test on one variable or simultaneously on multiple variables. When applying the test to multiple variables, the "tmax" method is used for adjusting the p-values of each variable for multiple comparisons (Blair & Karniski, 1993). Like Bonferroni correction, this method adjusts p-values in a way that controls the family-wise error rate. However, the permutation method will be more powerful than Bonferroni correction when different variables in the test are correlated.

References:
Blair, R.C. & Karniski, W. (1993) An alternative method for significance testing of waveform difference potentials. Psychophysiology.

MATLAB release MATLAB 7.8 (R2009a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
22 Apr 2011 Jiachen Zhuo

Nice program. Thank you.

Please login to add a comment or rating.
Updates
03 Feb 2011

Karniski reference was misspelled as "Karnisky" and has been fixed. 'alpha_level' input option and 'crit_t' and 'est_alpha' output options added.

Tag Activity for this File
Tag Applied By Date/Time
ttest David Groppe 20 Dec 2010 07:52:14
repeated measures David Groppe 20 Dec 2010 07:52:14
paired sample David Groppe 20 Dec 2010 07:52:14
one sample David Groppe 20 Dec 2010 07:52:14
multiple comparisons David Groppe 20 Dec 2010 07:52:14
bonferroni David Groppe 20 Dec 2010 07:52:14
tmax David Groppe 20 Dec 2010 07:52:14
permutation test David Groppe 20 Dec 2010 07:52:15
permutation David Groppe 20 Dec 2010 07:52:15
fdr David Groppe 20 Dec 2010 07:52:15
randomization test David Groppe 20 Dec 2010 07:52:15
family wise error rate David Groppe 20 Dec 2010 07:52:15
family wise error David Groppe 20 Dec 2010 07:52:15
fwer David Groppe 20 Dec 2010 07:52:15
multivariate David Groppe 20 Dec 2010 07:52:15
false discovery rate David Groppe 20 Dec 2010 07:52:15
randomization David Groppe 20 Dec 2010 07:52:15
paired samples David Groppe 04 Feb 2011 11:24:24
fd David Groppe 04 Feb 2011 11:24:24

Contact us at files@mathworks.com