| POP_EVENTSTAT | Computes and plots statistical characteristics of an EEG event, including the data histogram, a fitted normal distribution, a normal ditribution fitted on trimmed data, a boxplot, and the QQ-plot. The estimates value are printed in a panel and can be read as output. NaNs are omitted. See signalstat(). |
| Usage: | >> OUTEEG = pop_eventstat( EEG ); % pops up >> [M,SD,sk,k,med,zlow,zhi,tM,tSD,tndx,ksh] = pop_eventstat( EEG, eventfield, type ); >> [M,SD,sk,k,med,zlow,zhi,tM,tSD,tndx,ksh] = pop_eventstat( EEG, eventfield, type, percent ); |
| Inputs: | |
EEG |
input EEG dataset |
eventfield |
event field to process (i.e. latency) |
type |
name of the event type(s) to process. Can be a single element or a cell array. Default is all types. |
latrange |
[min max] event latency range within data epochs in milliseconds. Default is whole epoch. |
percent |
percentage for trimmed data statistics. Default is 5%. (see signalstat()) |
| Outputs: | |
OUTEEG |
output dataset |
| Author: | Arnaud Delorme & Luca Finelli, CNL / Salk Institute - SCCN, 15 August 2002 |
| See also: | signalstat(), eeg_getepochevent, eeglab() |