Factors related to sleep quality after multivariable analysis include the habit of staying up late; pressure for official exams and re-tests, pressure to study theory; parental expectations; trouble in family relations and lack of communication with friends.