home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / bit / listserv / sasl / 3525 < prev    next >
Encoding:
Internet Message Format  |  1992-07-31  |  1.3 KB

  1. Path: sparky!uunet!usc!sdd.hp.com!uakari.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!milton.u.washington.edu!xiang
  2. From: xiang@milton.u.washington.edu (Charlene Zhu)
  3. Newsgroups: bit.listserv.sas-l
  4. Subject: Reading Data Conditionally
  5. Message-ID: <1992Jul31.165651.17698@u.washington.edu>
  6. Date: 31 Jul 92 16:56:51 GMT
  7. Sender: news@u.washington.edu (USENET News System)
  8. Reply-To: xiang@u.washington.edu
  9. Organization: University of Washington, Seattle
  10. Lines: 32
  11.  
  12. Dear helpers,
  13.  
  14. Since I posted my subject "Reading Data Conditionally", I've
  15. received many kind responses. I want to say thanks to all of
  16. you. 
  17.  
  18. However, I guess I didn't describe what I want clearly enough.
  19. Let me try again. Data:
  20.  
  21.     obs    time    stimul    resp
  22.     1    0.01    50    0
  23.     2    0.02    56    0
  24.     3    0.03    72    1
  25.     4    0.04    78    1
  26.     5    0.06    89    2
  27.     6    0.50    90    0
  28.     7    0.59    75    0
  29.     8    0.65    76    1
  30.     9    0.76    87    1
  31.     10    0.89    75    0
  32.     11    0.92    76    0
  33.     12    0.95    80    2
  34.     ...
  35. What I want is: third obs(0.03 72 1), eighth obs(0.65 76 1), and 
  36. twelfth obs(0.95 80 2). I want EACH first observation where the 
  37. value of resp for the last obs is 0. For example, I DONOT want
  38. the fifth obs(0.06 89 2) even though this is the first time the value
  39. 2 appears, because the value of resp for the fourth obs is 1, not 0.
  40.  
  41. I hope I'm explaining it clearly. Thank you again!
  42. D
  43. twelveth  
  44.