Time variables

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

Posts: 1
Joined: Mon Apr 14, 2014 1:34 pm

Time variables

Postby bj2000 » Mon Apr 14, 2014 1:40 pm


For my thesis I have to work with sleep diaries, but I'm having some trouble computing the variable Total Sleep Time & Sleep Efficiency. The problem is this:

- one question in the diary is: what time did you close your eyes to go to sleep? I typed the answers in SPSS like this: 22:00h or 0:00h for example.
- another question is: what time did you get up? I typed the answers in SPSS like this: 08.00h

Now I have to compute the time a participant slept, spent in bed (minus wakefulness after sleep onset). How can I compute that with SPSS?

I hope someone can help me!
Posts: 1477
Joined: Tue Jun 10, 2008 4:50 pm

Re: Time variables

Postby GerineL » Tue Apr 15, 2014 8:23 am

look into the date and time wizard.

Who is online

Users browsing this forum: No registered users and 2 guests