TFQA: Tools for Quantitative Archaeology - Statistical Analysis Software for Archaeology TFQA
TFQA Logo

TFQA: Tools for Quantitative Archaeology
     kintigh@tfqa.com   +1 (505) 395-7979

TFQA Home
TFQA Documentation
TFQA Orders
Kintigh (ASU Directory)


HOA: Compute Hodder and Okell's A and Dispersion Ratio

      HOA computes Hodder and Okell's A and Dispersion Ratios described in their article in Simulation Studies in Archaeology (Hodder and Okell 1978; see also Hivernel and Hodder 1984). Run the program by typing: HOA<Enter>.


SEQUENCE OF PROGRAM PROMPTS

File Containing Coordinate and Type Data {.ADF} ?

      The program expects the input file to have three variables: X and Y coordinates and a type variable. The type variable, indicating the category of the observation is restricted to the range 0-255, and no more than 30 distinct types numbers within this range may be used.


Listing File {HOA.LST} ?

      Output file for the printed listing.


Matrix Output Files: [N]one, [S]quare, [L]ower, [U]pper {N} ?

      Form of output files of coefficients to be used by other analysis programs, e.g. a multidimensional scaling program. Typically no further analysis will be done, in which case reply N. Square refers to a square symmetric matrix, U to an Upper (right) triangular matrix without the diagonal, L to a Lower (left) triangular matrix, also without the diagonal. Note that U is the triangular matrix form used by other Antana programs. (These triangular matrices can be printed out using TRIANGLE.


Number of Random Runs {0} ?

      A Monte Carlo option not described in the original articles but explained by Kintigh 1990 is included. Briefly, this allows you to assess the actual coefficients against a reasonable random expectation derived by randomly assigning the types to actual points (with the same overall count of each type).


Scanning Data
Reading Data File
  16 #points# 3 #variables: x y type#
Data Read for 16 Points
Input Phase Time 0.00 Minutes
Computing Interpoint Distances
  16
Distance Computation Time 0.00 Minutes
Performing Computations
A Coefficient Computation 0.00 Minutes

      This simply reports on the programs progress reading the data and doing the computations.


Output File for A: Hodder and Okell's A {HO-A.HOA} ?
Output File for d: Dispersion Ratio {HO-A.Hod} ?
Output File for rbar: Average Distance {HO-A.HOr} ?


      If output files have been requested, three possible output files can be obtained. Reply NUL to not write that matrix to a file.

Program End

SAMPLE INPUT FILE

16 #points# 3 #variables: x y type#
 1   1   0 
 1   2   0 
 2   1   0 
 3   3   0 
 8   2   2 
 9   1   0 
 9   3   2 
10   2   0 
 6  10  10 
 6  11  11 
 5  12  12 
 7  12  13 
12   8   4 
13   7   2 
14   9   2 
15   7   4 

SAMPLE PRINTED OUTPUT

A: Hodder and Okell's A
Type Cnt |   0    2    4   10   11   12   13
  0 ( 6) | 1.00 0.40 0.13 0.00 0.00 0.00 0.00
  2 ( 4) | 0.40 1.00 0.83 0.00 0.00 0.00 0.00
  4 ( 2) | 0.13 0.83 1.00 0.00 0.00 0.00 0.00
 10 ( 1) | 0.00 0.00 0.00 1.00 0.00 0.00 0.00
 11 ( 1) | 0.00 0.00 0.00 0.00 1.00 0.00 0.00
 12 ( 1) | 0.00 0.00 0.00 0.00 0.00 1.00 0.00
 13 ( 1) | 0.00 0.00 0.00 0.00 0.00 0.00 1.00
         |   0    2    4   10   11   12   13
		  
d: Dispersion Ratio
Type Cnt |   0    2    4   10   11   12   13
  0 ( 6) | 1.00 0.89 1.57 0.00 0.00 0.00 0.00
  2 ( 4) | 1.12 1.00 1.76 0.00 0.00 0.00 0.00
  4 ( 2) | 0.63 0.57 1.00 0.00 0.00 0.00 0.00
 10 ( 1) | 0.00 0.00 0.00 1.00 0.00 0.00 0.00
 11 ( 1) | 0.00 0.00 0.00 0.00 1.00 0.00 0.00
 12 ( 1) | 0.00 0.00 0.00 0.00 0.00 1.00 0.00
 13 ( 1) | 0.00 0.00 0.00 0.00 0.00 0.00 1.00
         |   0    2    4   10   11   12   13

rbar: Average Distance
Type Cnt |    0     2     4    10    11    12    13
  0 ( 6) |  4.98  8.29 11.22  9.27 10.18 11.00 11.29
  2 ( 4) |  8.29  5.57  4.59  7.89  8.52  9.80  8.67
  4 ( 2) | 11.22  4.59  3.16  7.91  8.28  9.62  7.92
 10 ( 1) |  9.27  7.89  7.91  0.00  1.00  2.24  2.24
 11 ( 1) | 10.18  8.52  8.28  1.00  0.00  1.41  1.41
 12 ( 1) | 11.00  9.80  9.62  2.24  1.41  0.00  2.00
 13 ( 1) | 11.29  8.67  7.92  2.24  1.41  2.00  0.00

Page Last Updated: 17 October 2020

Home Top Overview Ordering Documentation