---------------------------------------------------------------- Basic STATS: Version 2 A program to calculate common statistics results from a data file written, and compiled in HiSoft BASIC Professional by C. Niederberger 2/91 ---------------------------------------------------------------- Ever want a simple, portable program to calculate mean, standard error, and perhaps kurtosis and skewness, on a data file created by your favorite spreadsheet or word processor on your Amiga? And couldn't find one? Well, neither could I. So I wrote this simple basic program to take an ASCII file (choose "general" on your word processor when saving the file, or "print to file" on your spreadsheet) and perform these common statistics. Just make a data file starting with the number of data points (it **must** be an integer) followed by those data points in any orientation, horizontal or vertical. Easy!! For example, if you wanted to calculate the mean, standard error, kurtosis, and skewness of the 5 data points 2.33, 1.456, 13.1, 14.2, and 1.232, just make the file: 5 2.33 1.456 13.1 14.2 1.232 or alternately: 5 2.33 1.456 13.1 14.2 1.232 and run the program. The program will ask you where the file is, e.g. ram:testdata, and then will print the results. Simple!! I use this kind of analysis a lot, and I thought that someone out there could possibly use this program. I don't believe in selling public domain programs myself--I do something else for a living, and I program for fun. But I would appreciate feedback, so just send me some EMAIL if you download this program. I intend to keep writing code for statistics tests, and as long as there is any interest, I'll keep downloading these programs. I don't believe in using commercial statistics packages (I don't believe in a lot of things) because I think the scientist or whoever distances him/herself from the analysis, and I HATE seeing commercial statistics programs referenced in the scientific literature instead of the actual test. HOW TACKY! So I included the HiSoft BASIC code in this archive as well as the program--modify it in any way that you see fit. Remember--send feedback! Craig Niederberger 2/91 ---------------------------------------------------------------- Updated version: Includes file selector (Thanks Jeff Glatt and Steven Kapplin!) note: requires requester.library and requester.bmap (included in this archive) to be placed in libs: Better error checking--won't let you select a file that does not conform to its expected format In general, just a lot prettier! If anybody's interested--Chi-square and Student's t test programs will follow.