Permutation Tests for Regression, (Repeated Measures) ANOVA/ANCOVA and Comparison of Signals

Functions to compute p-values based on permutation tests. Regression, ANOVA and ANCOVA, omnibus F-tests, marginal unilateral and bilateral t-tests are available. Several methods to handle nuisance variables are implemented (Kherad-Pajouh, S., & Renaud, O. (2010) ; Kherad-Pajouh, S., & Renaud, O. (2014) ; Winkler, A. M., Ridgway, G. R., Webster, M. A., Smith, S. M., & Nichols, T. E. (2014) ). An extension for the comparison of signals issued from experimental conditions (e.g. EEG/ERP signals) is provided. Several corrections for multiple testing are possible, including the cluster-mass statistic (Maris, E., & Oostenveld, R. (2007) ) and the threshold-free cluster enhancement (Smith, S. M., & Nichols, T. E. (2009) ).


This package provides functions to compute permutation tests in linear models with nuisances variables. The package has several goals :

  • Providing to users the most recent methods to handle nuisance variables for permutation tests in the linear models.
  • Giving to users tools to compute most common tests in linear model (t test, ANOVA and repeated measure ANOVA).
  • Providing an extension for the multiple comparisons problems in linear models with a focus for EEG data.

The lmperm() function

This function is constructed as an extension of the the lm() function for permutation test. It produces t statistics with univariate and bivariate p-value by permutation.

The aovperm() function

This function is constructed as an extension of the the aov() function for permutation test. It produces marginal F statistics (type III) for factorial ANOVA and ANCOVA. Moreover, repeated measures ANOVA can be perform using the same notations used in an aov() formula with +Error(id/within) to specify the random effects.

The clusterlm() function

This function compute cluster-mass statistics for multiple comparisons. It is designed for ERP analysis of unichannel EEG data. The left part of formula object must be a matrix or dataframe which columns represents multiple responses tested on the same experimental design (specified by right part of the formula). This function provides several methods to handle nuisance variables, a F or t statistics, an extension for repeated measure anova and several methods for the multiple comparisons lit the threshold-free cluster enhancement.

Contact

If you need help to use the package or want to report errors, contact Jaromil Frossard at [email protected].

References

For permutation tests with nuisance variables :

  • Kherad-Pajouh, S., & Renaud, O. (2010). An exact permutation method for testing any effect in balanced and unbalanced fixed effect ANOVA. Computational Statistics & Data Analysis, 54(7), 1881-1893.
  • Winkler, A. M., Ridgway, G. R., Webster, M. A., Smith, S. M., & Nichols, T. E. (2014). Permutation inference for the general linear model. Neuroimage, 92, 381-397.

For permutation test in repeated measures ANOVA :

  • Kherad-Pajouh, S., & Renaud, O. (2015). A general permutation approach for analyzing repeated measures ANOVA and mixed-model designs. Statistical Papers, 56(4), 947-967.

For cluster-mass statistics for the muliple comparison problems :

  • Maris, E., & Oostenveld, R. (2007). Nonparametric statistical testing of EEG-and MEG-data. Journal of neuroscience methods, 164(1), 177-190.

For the threshold-free cluster-enhancement method :

  • Smith, S. M., & Nichols, T. E. (2009). Threshold-free cluster enhancement: addressing problems of smoothing, threshold dependence and localisation in cluster inference. Neuroimage, 44(1), 83-98.

Academic works using permuco

  • Allen, S. L., Bonduriansky, R., & Chenoweth, S. F. (2018). Genetic constraints on microevolutionary divergence of sex-biased gene expression. Phil. Trans. R. Soc. B, 373(1757), 20170427.

  • Bürki, A., Frossard, J., & Renaud, O. (2018). Accounting for stimulus and participant effects in event-related potential analyses to increase the replicability of studies. Journal of neuroscience methods, 309, 218-227.

  • Hartmann, M., Sommer, N. R., Diana, L., Müri, R. M., & Eberhard-Moscicka, A. K. (2018). Further to the right: Viewing distance modulates attentional asymmetries (‘pseudoneglect’) during visual exploration. Brain and Cognition.

  • Musariri, T., Pegg, N., Muvengwi, J., & Muzama, F. (2018). Differing patterns of plant spinescence affect blue duiker (Bovidae: Philantomba monticola) browsing behavior and intake rates. Ecology and Evolution.

  • Soler, J., Arias, B., Moya, J., Ibáñez, M. I., Ortet, G., Fañanás, L., & Fatjó-Vilas, M. (2019). The interaction between the ZNF804A gene and cannabis use on the risk of psychosis in a non-clinical sample. Progress in Neuro-Psychopharmacology and Biological Psychiatry, 89, 174-180.

News

permuco 1.0.2 (github)

  • correction benjaminin to benjamini
  • adding parametric (uncorrected) pvalues for signal
  • add argument "nbbaselinepts" and "nbptsperunit" in plot.clusterlm
  • change argument names: bilateral in two.sided, left in less,right in greater
  • update vignette permuco_tutorial.pdf

permuco 1.0.1 (cran)

  • add vignette permuco_tutorial.pdf

permuco 1.0.0

  • Initial release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("permuco")

1.1.0 by Jaromil Frossard, 2 years ago


Browse source code at https://github.com/cran/permuco


Authors: Jaromil Frossard [aut, cre] , Olivier Renaud [aut]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports permute, Matrix, stats, graphics

Suggests R.rsp


Suggested by permutes.


See at CRAN