home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / lang / misc / 2735 < prev    next >
Encoding:
Text File  |  1992-08-17  |  2.8 KB  |  62 lines

  1. Newsgroups: comp.lang.misc
  2. Path: sparky!uunet!utcsri!torsqnt!geac!itcyyz!yrloc!rbe
  3. From: rbe@yrloc.ipsa.reuter.COM (Robert Bernecky)
  4. Subject: Re: Ideas for time-series manipulation language
  5. Message-ID: <1992Aug18.051843.422@yrloc.ipsa.reuter.COM>
  6. Keywords: time series, semantics
  7. Reply-To: rbe@yrloc.ipsa.reuter.COM (Robert Bernecky)
  8. Organization: Snake Island Research Inc, Toronto
  9. References: <Bt3Jt3.3Kn.2@cs.cmu.edu>
  10. Date: Tue, 18 Aug 92 05:18:43 GMT
  11. Lines: 49
  12.  
  13. In article <Bt3Jt3.3Kn.2@cs.cmu.edu> tgl+@cs.cmu.edu (Tom Lane) writes:
  14. >I'm thinking about designing a language in which discrete time series are a
  15. >fundamental data type.  I have vague memories of having seen similar ideas
  16. >before, so I'm hoping someone can point me to prior work.
  17. >
  18. >The data I want to manipulate comes as series of observations taken at
  19. >certain intervals of time (not necessarily the same interval for each series).
  20. >I want to be able to refer to such a series as a single data object;
  21. >to perform operations on such objects (eg, to add corresponding elements
  22. >of two series to deliver a sum series), and to define functions that work
  23. >on such objects (integration and correlation might be examples).  I want
  24. >the functions to be able to work incrementally as new values are added to
  25. >each data series (lazy evaluation might help here).
  26. >
  27. >In trying to work out these ideas, I've run into some nasty problems of
  28. >semantics, particularly when combining series having different time bases.
  29. >How to make a reasonably efficient implementation is not obvious either.
  30.  
  31. a. One of the main reasons that Reuters bought I.P. Sharp Associates
  32.    (aside from their blathering about "the worth of the employees",
  33.     who they have been butchering in periodic purges), was the
  34.    IPSA "historical data bases", which are a large collection of
  35.    time series data on energy, economics, transport, finance, etc.
  36.  
  37. b. These time series were stored as APL arrays, in the SHARP APL File
  38.    System. Hmm. Still are. Reuters has not been able to figure out how
  39.    to store them in another fashion efficiently.
  40.  
  41. c. APL has proven to be the most effective tool for manipulating,
  42.    maintaining, correcting, and analyzing, these times series. 
  43.    The functions you describe above sound fairly simple to do in APL 
  44.    on time series.
  45.  
  46. d. I recommend you look at either SHARP APL/PC or J. Both are
  47.    available free, via FTP from watserv1.waterloo.edu (cd /languages/apl/...)
  48.    or with manuals, etc., from Iverson Software Inc, 33 Major St.
  49.    Toronto.
  50.  
  51. e. J is an ascii-based language based on the Good Ideas of APL. 
  52.     
  53.    The Waterloo archive also has source code for J available. The APL
  54.    code is unfortunately only available in binary form.
  55.  
  56.  
  57. Robert Bernecky      rbe@yrloc.ipsa.reuter.com  bernecky@itrchq.itrc.on.ca 
  58. Snake Island Research Inc  (416) 368-6944   FAX: (416) 360-4694 
  59. 18 Fifth Street, Ward's Island
  60. Toronto, Ontario M5J 2B9 
  61. Canada
  62.