On the relationship between EEG and ERP variability