Not the person you responded to, but he/she may be referring to there being other factors (unrelated to sleep) that may most likely be contributing to one's happiness factor, such as pre-existing health conditions (e.g., depression), relationships (both romantic and non), etc. A person who's just starting a new relationship and is still in the "honeymoon phase" might rate their happiness higher despite a lack of sleep.