The program can do simple statistical Chi-Squared tests.
The test can be used for various purposes, but I originally wrote a version on a Beeb to compare the numbers of crossed fruit flies in a batch, with the theoretical number derived from the laws of genetics discovered by Gregor Mendel.
Essentially if you expect your fruit flies to have 25% having abnormal wings, then in a batch of fruit flies of say 80 you would expect approximately 20 to have that trait. But how close would the results be, and how significant would be any deviation from that number be?
Use
====
The program supports !Help.
You can overwrite the titles Class1 and Class 2
You can set the next two slots below, to indicate the proportion you expect. e.g. 1 and 4
In the slots 2 below this you enter the actual numbers of individuals in each class.
When you press <Analyse> the following happens.
1.Totals appear to the right
2.Theoretically expected figures appear in the middle slots for each Class.
3.A value for the variable Chi-Squared appears.
4. The program tells you how much the deviation of the data from the values predicted arises from chance.
Presumably those people who need to use the test more often than me, will understand this, and hopefully find it useful.
The program can be used to analyse situations where there are three classes rather than two. This option is available from the icon bar menu.
Future
=======
Chi Squared tests can be used for more complicated analysis. For instance they can explore connection between 2 or more different properties. The program could be extended a good deal, but I don't intend to unless I become aware of interest in it.
Disclaimer
==========
I think the working of !ChiSquare is correct, but do not accept reponsibility for any possible problems that could arise from it.
Copyright
=========
This program is Public Domain. It may be distributed or
copied freely as long as no part of this software may is used in any other
program, whether commercial or public domain, without my prior written
consent, though any files created by this software are not bound by this
condition. This software may not be distributed for a profit, save that