Statistics (LozStats) Manual Version 2.20 DISTRIBUTION: Statistics version 2.20 is public domain. Anyone can use it and you are free to distribute it - as long as you're not making pots of money out of it! This version allows 20 variables and 150 cases. If you really like it and use it a lot - drop me a line (enclosing an s.a.e.) and I may be able to provide you with a cheap upgrade. Please be patient when waiting for a reply as I do not spend much time in the U.K. (who would?) I'm sorry but I accept no responsibility for any difficulties (crashes, inaccurate results etc.) you encounter, as a result of using this software. If you have any problems drop me a line and I'll see what I can do. Contact (no callers!): Lawrence Harrell BNR Consulting, 7 Branksome Dene Road, Westbourne, Bournemouth BH4 8JW England. BNR CONSULTING: BNR Consulting are a group of freelance market analysts, economists and transport/travel/tourism specialists with worldwide experience. Depending on other commitments, we are available as contractors and to conduct research for clients in any part of the world - at competitive rates. Particular specialties include: ~ Demand forecasting (prediction of consumer behaviour). ~ Designing, analysing and conducting market surveys ~ Report writing and presentation. ~ Stated Preference (Conjoint analysis). ~ Public transport planning ~ Computer demand models (basic programming and spreadsheets). For further information contact Dr. Harrell at the above address. INTRODUCTION: I can only remember seeing one other statistics package on the Amiga and that was in the early days (around 1987) and it cost several hundred pounds. Although a number of spreadsheets are available, none compare with Microsoft Excel or Lotus 1-2-3 for (ugh!) Windows and spreadsheets are not that easy to use for statistical analysis. I do not intend to explain the statistical theory of the tests - if you do not understand what the program is for - this package is not for you. A good easy to understand statistics book to accompany the program would be: "Business Statistics, A Decision Making Approach" (1985) D.F. Groebner & P.W. Shannon, published by Merrill. The program is complied using HiSoft's basic compiler V 1.05. This means that it should be compatible with all 680X0 chips and their math co-processors. I have tested the program on a 4 meg A1200HD and a 3 meg A500+ HD. It was my intention to compile this version using HiSoft Basic 2.00; but because of a bug it refuses to compile "Statistics" as a standalone program. INSTALLATION: The program can be installed on hard disk or copied to your own floppy disks - but two things must be checked for it to operate correctly. This version of statistics requires the ARP.library to be present in your Workbench "Libs" drawer. The program will not run at all without it. The ARP.library is included on the Statistics disk. The program also requires the Topaz 11 font to be present in the Workbench "Fonts" directory. Topaz 11 is provided on all Amiga systems. BASIC OPERATION Upon loading the program you are presented with the data entry screen. If you have a statistics file that you wish to work on, select "load" from the pull down menu and load the file. If you are creating a new file, select "add variable" from the pull down menus. Continue until all variables have been entered. Next select "add cases" and type in the number of cases in your data set. If you are not sure how many cases there are - type in an estimate (it is easy to add or delete cases later). Your data entry template is now complete. Until the data has been entered all cells are filled with the missing value, cells containing missing values are ignored in the analysis. You can select the number that represents the missing value from the pull down menus. The default value is 99. To enter/edit data move the cursor to the cell you wish to change using the arrow keys. Now type the appropriate number and move to another cell. The number is automatically entered when an arrow key is pressed (you do not need to press enter). Now that the data is in, it can be analysed by selecting "analysis" from the menus. A number of options are available and most basic statistics (average, standard deviation etc.) are produced using the "basic stats" option. The best approach is to play around with the data set provided (Test.sts) and see what happens. IMPORT/EXPORT OF DATA: Data can be exported using the "Save Prn" menu in the data entry module. The "Prn" file can be loaded into VIP Professional and Lotus 1-2-3 using the "/File Import Numbers" option. Import on Analyze!2 does not work, as this only imports from the clipboard. Professional Calc 2 can import data (although all the labels appear in the same cell) using the "Edit External Paste File" menu. I've not checked any other Amiga spreadsheets. Data can be imported from spreadsheets (Lotus 1-2-3 or VIP Professional) in the following way. In the first row of the spreadsheet put: CELL 1 CELL 2 Number of cases Number of variables In the next row of the spreadsheet put: CELL 1 CELL 2 CELL ...etc "Variable name 1" "Variable name 2" "Variable name ...etc" The variable name must be a maximum of 5 characters enclosed by quotes. The data follows below the variable names. When the data is entered into the spreadsheet it should be printed to disk with no margins and a page wide enough to ensure no wrapping round of data. LIMITATIONS - READ CAREFULLY!! The program will not accept negative numbers and all variables must have the same number of cases. The same missing value has to be used for every variable. If you enter very large numbers i.e. above 9999,999.00 screen formatting can become a bit dodgy. Entering huge values (like population figures) is best done by inputting, e.g. 12.1 for 12.1 million etc.. Although you can enter values with more than two decimal places and they will be used in the calculations - they will not be displayed in the editor. The display is setup for NTSC 640*400. If you have a monitor or SCART T.V. you may find that setting your workbench screen to NTSC (Workbench 2.04+ only) makes the screen more readable as well as saving memory and reducing flicker. To do this move the NTSC monitor into your devs/monitor drawer. Add the line "sys:devs/monitors/NTSC" to your startup-sequence immediately before the line "LoadWB". Now double click on the NTSC picture in devs/monitors and go to prefs/screenmode. Select NTSC Hires laced and then save. Now reboot. You may have to adjust the workbench palette a bit to reduce flicker. As you would expect I accept no responsibility if it blows up your monitor, but it works on mine! Very minimal graphics are included and at present results cannot be output to a printer. One very cludgy way around this is to use a screen dump program. You will make best use of the program if you have a spreadsheet, such as Lotus 1-2-3 (on an emulator) or VIP Professional (very old). Any graphs, barcharts etc can be produced using a spreadsheet. I see no point in spending hours duplicating the graphing facilities of the above spreadsheets. The software is reasonably crashproof (I have used it a lot with large data sets over the last nine years and during my Ph.D.). The production of the later versions has resulted in some substantial changes to code and some new bugs may have been created. Furthermore if you try silly things - you may be able to crash the program, so save your data regularly. If you register by sending in an S.A.E. I can let you know about upgrades. If you want to moan: remember what you paid for this program and how much statistical software can cost! FUTURE: I hope to iron out any further bugs and add: better help, an ASL file requestor (can someone tell me how?), data labels, improved spreadsheet import/export and a large number of non-parametric routines - that have already been written (released as part of version 1.00). When HiSoft get their shit together I will recompile Statistics with version 2.00 so that it does not screw up the palette every time it runs. Drop me an s.a.e. if you want more information. VERSION 1.10 ENHANCEMENTS: A number of changes have been made to the, 'Main' module with this upgrade. The program has been made more multi-tasking friendly and is less processor hungry when waiting for user input. There is a new title screen. Control of the display while viewing data has been improved. The amount of data that the module can handle has been increased from 300 to 500 values. A number of bugs have been removed from the regression module that could give rise to, 'division by zero errors'. The correlation matrix display has been enhanced. A disk swapping bug causing, 'unknown volume' error has been cured. Some preparations have been made to merge the two modules at a later date. The Regression predictions section now works correctly and is more closely linked to the generation of the regression equations. Finally it is easier to increase the number of cases in the data. VERSION 2.00 ENHANCEMENTS: Program sets up its own hi-res interlace screen with flicker minimising palette and selects Topaz 11 font for a consistent appearance on all systems. Better presentation and more user friendly. Many algorithms speeded up. Improved error trapping and a number of bugs removed. Vastly improved data entry/editing. Pull-down menus. Ability to conduct analysis on single variables added. Independent t test, coefficient of variation, minimum, range and pooled standard deviation added. Speech removed, beeps added. Improved export of data. VERSION 2.10 ENHANCEMENTS: Various bug fixes. ARP file requester added. Data recode added. Text input area cleared after error. Data transform debugged and moved to data entry module. VERSION 2.20 ENHANCEMENTS: Fixed bug in add variables module. Added Cross-tabs. Improved User-interface. Compiled using Hi-Soft Basic 2.00.