Date: Thu, 9 Jan 2003 08:31:27 -0700
Reply-To: Susan Crawford <Susan.Crawford@calgaryhealthregion.ca>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Susan Crawford <Susan.Crawford@calgaryhealthregion.ca>
Organization: Calgary Health Region
Subject: Re: Milliseconds
Content-Type: text/plain; charset=us-ascii
Many thanks for solving the problem, Raynald! We really appreciate it!
Raynald Levesque wrote:
> Hi
>
> SPSS handles this without any problems:
>
> DATA LIST LIST /t1 t2 (2TIME13.3).
> BEGIN DATA
> 12:02:45.459 12:02:47.123
> 12:02:45.459 12:02:46.460
> 12:02:45.458 12:02:45.459
> END DATA.
> LIST.
>
> COMPUTE delta=t2 - t1.
> FORMATS delta(F8.3) t1 t2 (TIME13.3).
> LIST.
>
> * This is the result of LIST:
> T1 T2 DELTA
>
> 12:02:45.459 12:02:47.123 1.664
> 12:02:45.459 12:02:46.460 1.001
> 12:02:45.458 12:02:45.459 .001
>
> HTH
>
> Raynald Levesque rlevesque@videotron.ca
> Visit my SPSS Pages http://pages.infinit.net/rlevesqu/index.htm
>
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU]On Behalf Of
> Susan Crawford
> Sent: January 8, 2003 6:13 PM
> To: SPSSX-L@LISTSERV.UGA.EDU
> Subject: Milliseconds
>
> We're doing a reaction time test for a new study, and the data from the
> test comes out as a text file with two variables - the type of response
> (correct, incorrect, false alarm, miss), and the time that the response
> was made. We also have the time that the stimulus was displayed.
> Here's an example of the time from the test:
> 12:02:45.459
>
> I need to take the difference between the display time and the response
> time, but the researchers want to look at milliseconds. The only thing
> that I can find in SPSS says that time is measured as:
> hh:mm:ss.s
> 01:02:34.75
>
> I need another decimal place for the reaction time. Is there a way to
> set this up, so I can calculate differences between the two times and
> get the actual milliseconds?
>
> Many thanks for the help!
>
> --
> Susan Crawford, M.Sc.
> Research Coordinator
> Behavioural Research Unit
> Alberta Children's Hospital
> Phone: 943-7364
>
> "Life is not measured by the number of breaths we take, but by the
> moments that take our breath away."
--
Susan Crawford, M.Sc.
Research Coordinator
Behavioural Research Unit
Alberta Children's Hospital
Phone: 943-7364
"Life is not measured by the number of breaths we take, but by the moments
that take our breath away."
|