home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!caen!destroyer!sol.ctr.columbia.edu!news.cs.columbia.edu!thayer
- From: thayer@cs.columbia.edu (Charles Thayer)
- Subject: Re: Statistic routines ?
- Message-ID: <BzFMqt.A7E@cs.columbia.edu>
- Summary: Paper on data manip
- Keywords: statistic
- Sender: news@cs.columbia.edu (The Daily News)
- Bcc: thayer
- Organization: Columbia University Department of Computer Science
- References: <Bz7qCA.Gy5@cosy.sbg.ac.at>
- Date: Fri, 18 Dec 1992 01:56:52 GMT
- Lines: 46
-
- In article <Bz7qCA.Gy5@cosy.sbg.ac.at> lendl@cosy.sbg.ac.at (Otmar Lendl) writes:
- >Before I start to write my own set of functions (Mean, standard-deviation,
- >histograms, ...) I better ask if there are already such beasts.
- >I checked the script-archives listed in the FAQs (convex, ohio-state),
- >but could not find anything suitable.
- >
- >Can anyone give me pointers ?
- >
- >/Otmar
-
- On a related note:
-
- On wingra.stat.wisc.edu via anon ftp you can obtain the paper "Data
- Manipulation in Perl" which is a helpful short paper if you are
- getting started with perl.
-
- Personally, for the one statistics related chore I do, I use Splus
- encased in perl (of course.) Splus is a terrific package and I highly
- recommend it, but it's a commercial product. So I have a lot of:
-
- open(PIPE, '| Splus');
- print PIPE <<"EOF";
- d<-read.table(\"uptime.$host.data\", header=T, sep=\":\")
- attach(d)
- ...
- postscript(\"uptime.month.$host.ps\")
- plot(load15 ~ omonths)
- ...
- EOF
-
- What I do is collect simple `uptime` lines from a number of hosts.
- Remunge these with perl regex matching. Feed the data to Splus which
- generates postscript plots. Build a latex file which then uses psfig
- to include the plots.
-
- Incidentally. A nice thing you can do with your statistics is create
- data files then run gnuplot on the data files. It's a simple and flexible
- way to take some handwritten stuff and throw a free X-windows front-end
- on. If you get really involved in graphics Wafe and tk have some plotting
- widgets.
-
- /charles
- PS. Maybe someone should write numerical recipes in perl :)
- --
- ==============================================================================
- Charles Thayer, Columbia University, Dept. CS, Tech-staff... my words only.
-