home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / bit / listserv / sasl / 4950 < prev    next >
Encoding:
Internet Message Format  |  1992-11-08  |  833 b 

  1. Path: sparky!uunet!stanford.edu!bu.edu!wupost!darwin.sura.net!paladin.american.edu!auvm!psuvm!gfx
  2. From: GFX@psuvm.psu.edu
  3. Newsgroups: bit.listserv.sas-l
  4. Subject: Suggestions sought for a computation problem
  5. Message-ID: <92311.141815GFX@psuvm.psu.edu>
  6. Date: 6 Nov 92 19:18:15 GMT
  7. Organization: Penn State University
  8. Lines: 23
  9.  
  10. Hi!
  11.  
  12. The dataset is structured like this:
  13.  
  14.         OBS  Date       x1 x2 ... xn  N_12Mo
  15.          1   04/12/82   1  0      1
  16.          2   04/21/82   1  1      0
  17.          3   04/28/82   0  0      1
  18.          .
  19.          .
  20.          .
  21.          K
  22.  
  23.  
  24.  
  25. Variable N_12Mo should indicate the number of observations that are
  26. less than a year old. In other words, how many lines above observation K
  27. are less than a year old. We used the LOOKUP procedure in Microsoft Excel.
  28. How could it be done in SAS?
  29.  
  30. Thanks,
  31.  
  32. Stephane
  33.