data analysis - need inter-response time
 
PST User Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



data analysis - need inter-response time Expand / Collapse
Author
Message
Posted 10/1/2009 3:09:16 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 6/15/2010 2:19:46 PM
Posts: 4, Visits: 6
i am looking to create a fixed interval experiment wherein i can measure the inter-response time - the time between each response. this is proving difficult because it is something that has to happen across trials... ie. 1st trial goes, then response, then 2nd trial goes, then response, and i have to get those responses from both trials and then see how long apart they were. and then so on along the line. Any suggestions as to how/if i can accomplish this?
Post #3519
Posted 10/1/2009 10:48:42 PM
Forum MVP

Forum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVPForum MVP

Group: Forum Members
Last Login: 5/14/2012 4:43:58 PM
Posts: 728, Visits: 2,932
Do you need to know the inter-response time while the experiment runs, or do you just need it later for analysis?

Suppose your stimulus-response object is called StimText. If you just need the inter-response time for analysis, then you can calculate it yourself by subtracting StimText.RTTime of trial(i-1) from StimText.RTTime of trial(i). You might want to do that with an Excel macro after exporting data to Excel.

If you need the inter-response time while the experiment runs, then you will need to define a global variable to hold the .RTTime from one trial to the next, and then calculate the inter-response time with appropriately placed inline script. See Chapter 4 (Using E-Basic) of the User's Guide that came with E-Prime for more general info on global variables and script. Suppose you define a global variable named RTTime0, then your script might look like

c.SetAttrib "StimText.InterResponseTime", StimText.RTTime - RTTime0
RTTime0 = StimText.RTTime

In fact, even if you do not need this value at run time, you might find it convenient to calculate it and log it in E-Prime just to save you the trouble of doing it later in Excel.

-- David McFarlane, Professional Faultfinder
Post #3521
« Prev Topic | Next Topic »


Permissions Expand / Collapse

All times are GMT -5:00, Time now is 5:15am

Powered By InstantForum.NET v4.1.4 © 2012
Execution: 0.141. 7 queries. Compression Disabled.
 
Privacy | Terms of Use | Terms and Conditions | Legal Trademarks | Authorized Use | Quality Policy
Copyright 2012 Psychology Software Tools, Inc. All Rights Reserved
Email: Info@pstnet.com | Telephone: 412.449.0078 | Fax: 412.449.0079