The relation between subjective sleep quality and the stages of polysomnography is unclear. Computerized sleep analysis provides a reliable tool for the study of sleep dynamics. OBJECTIVE. To study the relation between subjective sleep quality and spectral EEG parameters during nocturnal sleep.