<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Calculating reaction time in the dataset by using SAS in Developers</title>
    <link>https://communities.sas.com/t5/Developers/Calculating-reaction-time-in-the-dataset-by-using-SAS/m-p/2160#M1612</link>
    <description>Sorry, I believe you need to contact Tech Support. I meant to send the same note for this question on reaction time and the question on regression.&lt;BR /&gt;
  &lt;BR /&gt;
Essentially, this does not seem like a stored process question. Your best bet is to contact Tech Support for this. You have to have working program before you can turn that program into a stored process.&lt;BR /&gt;
 &lt;BR /&gt;
To find out how to contact Tech Support, go to:&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/contact/index.html" target="_blank"&gt;http://support.sas.com/techsup/contact/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Good luck!&lt;BR /&gt;
cynthia</description>
    <pubDate>Fri, 26 Jan 2007 17:21:54 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2007-01-26T17:21:54Z</dc:date>
    <item>
      <title>Calculating reaction time in the dataset by using SAS</title>
      <link>https://communities.sas.com/t5/Developers/Calculating-reaction-time-in-the-dataset-by-using-SAS/m-p/2158#M1610</link>
      <description>Hi&lt;BR /&gt;
&lt;BR /&gt;
I would like calculate the reaction time in the dataset by using SAS (and then do the following statistics).  My data looked like this:&lt;BR /&gt;
&lt;BR /&gt;
Subj: 1&lt;BR /&gt;
N Time      Trigger_number &lt;BR /&gt;
1        0.0       0&lt;BR /&gt;
2        1.3     100&lt;BR /&gt;
3        4.6       1&lt;BR /&gt;
4        5.0       0&lt;BR /&gt;
5        6.0     200 &lt;BR /&gt;
6        9.4       1&lt;BR /&gt;
7       12.0       0&lt;BR /&gt;
8       15.0       0&lt;BR /&gt;
9       18.4       1&lt;BR /&gt;
10      20.0       0&lt;BR /&gt;
&lt;BR /&gt;
The trigger_number "100" and "200" refer to the correct stimuli, and the trigger_number "1" refers to response.  I only want to calculate the correct response (that is, ignore the false positive events like event 9), and the desired RT should fulfill the following conditions:&lt;BR /&gt;
1. trigger_number=1 but only if the precedent trigger_number is either 100 or 200.&lt;BR /&gt;
2. calculate the reaction time by subtract the "time" of the event that the trigger_number is 100 or 200 from the "time" of the event that the trigger_number is 16.&lt;BR /&gt;
&lt;BR /&gt;
How can I code this in SAS?&lt;BR /&gt;
&lt;BR /&gt;
Really appreciate for your kindly help!!!!&lt;BR /&gt;
&lt;BR /&gt;
Samantha&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: samhuang at Jan 25, 2007 7:59 PM&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Message was edited by: samhuang at Jan 25, 2007 8:00 PM

&lt;BR /&gt;
Message was edited by: samhuang at Jan 25, 2007 8:00 PM&lt;BR /&gt;</description>
      <pubDate>Fri, 26 Jan 2007 00:59:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calculating-reaction-time-in-the-dataset-by-using-SAS/m-p/2158#M1610</guid>
      <dc:creator>samhuang</dc:creator>
      <dc:date>2007-01-26T00:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating reaction time in the dataset by using SAS</title>
      <link>https://communities.sas.com/t5/Developers/Calculating-reaction-time-in-the-dataset-by-using-SAS/m-p/2159#M1611</link>
      <description>This does not really seem to be a stored process question. If you had a SAS procedure job that produced a regression, you could turn it into a stored process. However, you must have the job first.&lt;BR /&gt;
  &lt;BR /&gt;
I believe that you really need help from Tech Support because &lt;BR /&gt;
1) you need to know what software is installed at your site; so,&lt;BR /&gt;
2) you can run a regression on your data using the appropriate procedure; then&lt;BR /&gt;
3) you can turn that program into a stored process.&lt;BR /&gt;
&lt;BR /&gt;
To find out how to contact Tech Support, go to:&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/contact/index.html" target="_blank"&gt;http://support.sas.com/techsup/contact/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Good luck!&lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 26 Jan 2007 17:19:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calculating-reaction-time-in-the-dataset-by-using-SAS/m-p/2159#M1611</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-01-26T17:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating reaction time in the dataset by using SAS</title>
      <link>https://communities.sas.com/t5/Developers/Calculating-reaction-time-in-the-dataset-by-using-SAS/m-p/2160#M1612</link>
      <description>Sorry, I believe you need to contact Tech Support. I meant to send the same note for this question on reaction time and the question on regression.&lt;BR /&gt;
  &lt;BR /&gt;
Essentially, this does not seem like a stored process question. Your best bet is to contact Tech Support for this. You have to have working program before you can turn that program into a stored process.&lt;BR /&gt;
 &lt;BR /&gt;
To find out how to contact Tech Support, go to:&lt;BR /&gt;
&lt;A href="http://support.sas.com/techsup/contact/index.html" target="_blank"&gt;http://support.sas.com/techsup/contact/index.html&lt;/A&gt;&lt;BR /&gt;
&lt;BR /&gt;
Good luck!&lt;BR /&gt;
cynthia</description>
      <pubDate>Fri, 26 Jan 2007 17:21:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Developers/Calculating-reaction-time-in-the-dataset-by-using-SAS/m-p/2160#M1612</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2007-01-26T17:21:54Z</dc:date>
    </item>
  </channel>
</rss>

