Time-frequency statistics (c) 2002 Piotr J. Durka durka@fuw.edu.pl, Jaros{\l}aw {\.Z}ygierewicz jarekz@fuw.edu.pl, Hubert Klekowicz hubert@fuw.edu.pl Licensed on therms of the GPL, for the full text please see the file LICENSE.TXT or http://www.fsf.org/licenses/gpl.txt The tar.gz archive contains the basic directory tree under TFSTATS, of which only TFSTATS/m is required for the system to function properly as the directory containing the m-files performing the main tasks (its name can be changed in one of the first lines of the file r.m: "addpath('m');"). The main program is called as the r.m function, having as the only parameters the name of the configuration file (if omitted defaults to one of the configurations used in the paper, so for starting one can just try running 'r' in the TFSTATS directory). The configuration file contains all the information specific to the given dataset, as e.g.: the name of the datafile, routine for reading relevant epochs and path to the filename storing results of MP decomposition in binary format (*.b, software producing these files is available at http://brain.fuw.edu.pl/mp), as well as parameters relevant to calculation of the statistics (reference epoch, number of bootstrap repetitions, type of correction for multiplicity etc.) and presentation. We hope that this Matlab code will be self-explanatory. Scientific detail on the methodology are in the paper "Estimation and statistical significance of event-related changes in the average time-frequency energy density of signals" by Piotr J. Durka, Jaros{\l}aw {\.Z}ygierewicz, Hubert Klekowicz, J{\'o}zef Ginter and Katarzyna J. Blinowska, also available from http://brain.fuw.edu.pl/~durka/tfstats.