home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 521.lha / Stats_v2.0 / StatsDocs < prev    next >
Encoding:
Text File  |  1991-06-10  |  3.0 KB  |  85 lines

  1. ----------------------------------------------------------------
  2.  
  3.      Basic STATS: Version 2
  4.           A program to calculate common statistics results
  5.           from a data file
  6.  
  7.      written, and compiled in HiSoft BASIC Professional by
  8.           C. Niederberger  2/91
  9.  
  10. ----------------------------------------------------------------
  11.  
  12.  
  13. Ever want a simple, portable program to calculate mean,
  14.      standard error, and perhaps kurtosis and skewness,
  15.      on a data file created by your favorite spreadsheet
  16.      or word processor on your Amiga?  And couldn't find
  17.      one?  Well, neither could I.
  18.  
  19. So I wrote this simple basic program to take an ASCII file
  20.      (choose "general" on your word processor when saving
  21.      the file, or "print to file" on your spreadsheet) and
  22.      perform these common statistics.
  23.  
  24. Just make a data file starting with the number of data points
  25.      (it **must** be an integer) followed by those data points
  26.      in any orientation, horizontal or vertical.  Easy!!
  27.  
  28. For example, if you wanted to calculate the mean, standard
  29.      error, kurtosis, and skewness of the 5 data points 2.33,
  30.      1.456, 13.1, 14.2, and 1.232, just make the file:
  31.  
  32.           5
  33.           2.33
  34.           1.456
  35.           13.1
  36.           14.2
  37.           1.232
  38.  
  39.      or alternately:
  40.  
  41.           5  2.33  1.456
  42.           13.1  14.2  1.232
  43.  
  44.      and run the program.  The program will ask you where the
  45.      file is, e.g. ram:testdata, and then will print the 
  46.      results.  Simple!!
  47.  
  48. I use this kind of analysis a lot, and I thought that someone
  49.      out there could possibly use this program.  I don't
  50.      believe in selling public domain programs myself--I
  51.      do something else for a living, and I program for fun.
  52.      But I would appreciate feedback, so just send me some
  53.      EMAIL if you download this program.
  54.  
  55. I intend to keep writing code for statistics tests, and as long
  56.      as there is any interest, I'll keep downloading these
  57.      programs.  I don't believe in using commercial statistics
  58.      packages (I don't believe in a lot of things) because
  59.      I think the scientist or whoever distances him/herself
  60.      from the analysis, and I HATE seeing commercial statistics
  61.      programs referenced in the scientific literature instead
  62.      of the actual test.  HOW TACKY!  So I included the HiSoft
  63.      BASIC code in this archive as well as the program--modify
  64.      it in any way that you see fit.
  65.  
  66. Remember--send feedback!
  67.  
  68.                           Craig Niederberger  2/91
  69.  
  70. ----------------------------------------------------------------
  71.  
  72. Updated version:
  73.      Includes file selector (Thanks Jeff Glatt and Steven Kapplin!)
  74.           note:  requires requester.library and requester.bmap
  75.                  (included in this archive) to be placed in
  76.                  libs:
  77.      Better error checking--won't let you select a file that does
  78.           not conform to its expected format
  79.      In general, just a lot prettier!
  80.  
  81.  
  82. If anybody's interested--Chi-square and Student's t test programs
  83.      will follow.
  84.  
  85.