A statistical method for automatic analysis of EEG data.