Dear Stata Users,
I have just started to use Stata and I am trying to calculate sleep duration (difference) between bedtime and wakeup time.
Data are in minutes after midnight. I tried different methods but what works for some does not work the others.
Thank you in advance
Fatos.
I have just started to use Stata and I am trying to calculate sleep duration (difference) between bedtime and wakeup time.
Data are in minutes after midnight. I tried different methods but what works for some does not work the others.
Bed_time | Wakeup_time |
1380 | 360 |
60 | 480 |
Thank you in advance
Fatos.
Comment