Conducts a reversal test on the points displayed in the active
window using the formulation described by McFadden and McElhinny (1990a).
Directions are tested in the current coordinate frame (geographic or
tilt-corrected). Directions are divided into two antipodal groups using the
algorithm described under "Hemisphere Fisher" in the Statistics section, below.
Concentration parameters (k's) are calculated for each group, and the two
populations are tested against the null hypothesis that they have identical
concentration parameters, provided at least 5 directions are in each group. If
the directions pass the "common concentration" test (that is, the null
hypothesis cannot be rejected at the 90% confidence level), then a common mean
between the two sets (one reversed through the origin) is tested using the
analytic equation in McFadden and McElhinny (1990a). If the "common
concentration" test is failed, or there are less than 5 directions in one or
both polarities, the bootstrap (sampling simulation) techniques of
McFadden and McElhinny (1990a) is used. This is time consuming, particularly if a large
number of directions are simulated. When either test is completed, its results
are presented in the dialog, indicating if the directions passed or failed the
reversal test or if the test was inconclusive. If the test is passed, the
classification of McFadden and McElhinny (1990a) is given (A, B, or C) along
with the critical angle at the 95% confidence level (the angle which, if
exceeded by the angular difference between the two means, indicates failure of
the test). In all instances the angular difference between the two means is
given. The user can either print the results or copy them to the clipboard.
For example, the dialog above indicates that the test was performed on
tilt-corrected directions, that these directions pass a common distribution
test. (The calculated F of the F test exceeds F0.80; thus the null hypothesis
would only be rejected at the 20% confidence level). The means differ by
12.7°ree;, much less than the 26.1°ree; critical angle, indicating that the data
pass the reversal test at the 95% confidence limit. But the high value of the
critical angle places this in the "indeterminate" classification of McFadden and McElhinny (1990a). The null hypothesis of a common mean would be rejected at or
below the 53% confidence level.
Note that this code is not derived from the code that McFadden and McElhinny
offer in their paper but was written from the algorithm described in the paper.
Also, tests of the bootstrap code on data with identical
concentration parameters yielded higher critical angles than those derived from
the analytic equation for populations with a common concentration parameter.
Thus the bootstrap test might pass data that should fail. The only test
suggested by McFadden and McElhinny (1990a) not implemented here is the test for a
single direction comprising one of the two groups.
Next section
Table of Contents
Last section
1755 visits from Tue, Apr 21 1998 17:07 to Apr/ 6/02 21:09