FISHER32.DLL

This DLL contains Fisher's Exact Test ( 1-tailed and 2-tailed ), Fisher's
Mid-Point ( 1-tailed and 2-tailed ) and Fisher's Point Probability. All tests
require a 2x2 contingency table. The code was derived from Ray Simons' DOS program
STAT22.EXE and gives, as far as I can tell identical results.

The DLL was created in 2000 to add Fisher's Exact Test to spreadsheet software such a 
Microsoft Excel. I no longer use Microsft Excel but have found the DLL to function 
well with Open Office Calc. I have tested this with both my executable ( WinFish.exe )
and Open Office Calc and produced identical results to the original STATT22.EXE. 
The calls are all of the form Fn( a, b, c, d ) which correspods to the 2x2 
contingency table:-

		a | b
		_____
		c | d 

The source code of the DLL is supplied should you wish to improve it( Fisher32.dpr ). 
I did also produce a 16-bit DLL, however it remained untested and is NOT included here.

Copy the DLL to an appropriate folder- this is usually the same folder as the relevant 
executable. You will then need to copy the macros over to your macro page of your 
Visual Basic Application ( or similar ). A sam ple call for OpenOffice:

		=FISHER2(A2; B2;  A3; B3)

Note the use of semicolon as a separator: I believe VBA uses a comma. OpenOffice is VERY 
picky over case, uppercse usually best!

FILES IN THIS LIBRARY

Fisher32.dll )
Fisher32.dpr ) The 32-bit Fisher DLL and source ( Delphi v2, old but reliable! )

Fisher32.pas   interface unit for Delphi executables
Fisher32.bas   interface unit for VBA ( tested with OpenOffice ) and similar

WinFish.exe    A wrapper for the DLL, for those that don't want to use a spreadsheet.

Readma.txt     This file!	

NOTE:-

The 32-bit library has been tested successfully under Delphi v2, OpenOffice v4 ( 
Windows XP, 2013  ) and Excel ( Windows 95/8, 2000 ).


Comments please to:-

Richard Muirhead
rmuirhead@compuserve.com
   