ANALOG: A program for estimating paleoclimate parameters
using the method of modern analogs

U.S. Geological Survey Open-File Report 94-645

by Peter Schweitzer (U.S. Geological Survey, Reston, VA 22092)

This is version 1.2, created August 5, 1996

Changes since version 1.0 (941117):

-----

Changed results.c to make meta_variable_index static.  This should result
in less memory loss and faster output.

-----

Added the following distance measure: correlation

This calculates the Pearson product-moment correlation coefficient.

-----

Added the following syntax to possible rules:

<arithmetic_operation> [by] count
<arithmetic_operation> [by] sum
<arithmetic_operation> [by] ssq
<arithmetic_operation> [by] mean
<arithmetic_operation> [by] var
<arithmetic_operation> [by] sdev

Previously the only one of these that was recognized was

<arithmetic_operation> [by] sum

count indicates the number of valid taxa in the sample, i.e. those for
which the data value is not coded as MISSING_VALUE.

sum is the sum of valid taxon values.
ssq is the sum of squares of valid taxon values.
mean is the arithmetic average of valid taxon values.
var is the n-weighted variance of valid taxon values.
sdev is the n-weighted standard deviation of valid taxon values.

Note that all statistics are calculated prior to any arithmetic
operations; this means that if you specify more than one arithmetic
operation, the statistics used in the second are the same as used in the
first.

-----

Modified the code to permit some difference measures to calculate
similarity rather than difference.  The analogs are output in descending
order for similarity measures, in ascending order for distance measures.

-----

Added version string, which is printed if verbose is specified in the
run description file.

-----

Modified results.c to not fail if malloc(0) returns NULL.  This happens
on DOS; my code had depended on behavior not specified by the standard.

-----

(end)
