home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / bit / listserv / sasl / 5781 < prev    next >
Encoding:
Text File  |  1993-01-28  |  1.5 KB  |  31 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Subject: (no subject given)
  3. Path: sparky!uunet!uvaarpa!darwin.sura.net!paladin.american.edu!auvm!NUACVM.BITNET!RRMAIL
  4. Message-ID: <SAS-L%93012708455403@UGA.CC.UGA.EDU>
  5. Newsgroups: bit.listserv.sas-l
  6. Date:         Wed, 27 Jan 1993 08:45:54 -0500
  7. Reply-To:     RRMAIL@NUACVM.BITNET
  8. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  9. From:         RRMAIL@NUACVM.BITNET
  10. Comments: To: sas-l@uga.bitnet
  11. Lines: 18
  12.  
  13. dear sas-lers:
  14. I have a data manipulation question.  I have a variable, call it 'x' for
  15. several firms for 20 years.  I am interested in finding out if 'x'
  16. increased consistently from one time period to the next (i.e., x
  17. at time 't' is greater than x at time 't-1' and so on).  Note that
  18. 'x'can take negative values.  I would like to be able to output the names
  19. of the firms, the number of firms for which 'x' increased every year during
  20. the 20 years in the data set.  If 'x' increased only during 10 years in the
  21. 20 year-period, I would like to be able to output the name of such firms,
  22. the time period in the 20 year span during which 'x' increased consistently.
  23. Currently the data set is arranged such that 'year' is variable with 20
  24. observations one for each year. Similarly, 'x' is a variable with 20
  25. observations one for each year.
  26. I could try transposing the data set such that each of the  x's becomes
  27. a variable.  Since I have a large number of firms, I am not sure if this
  28. is efficient.  Any suggestions will help. thanks.
  29.  
  30. We use IBM 4381 and SAS version 5.18.
  31.