|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectJavaGrinders.ContingencyTable
JavaGrinders.InteractionTable
public class InteractionTable
contains a crosstabulation table of interactions between individuals and performs a variety of statistics on it, including dominance measures, reciprocity, etc.
| Field Summary |
|---|
| Fields inherited from class JavaGrinders.ContingencyTable |
|---|
diagonal, iterated, itsTotalSum, MatrixCols, MatrixRows, NUM_MAXITERATOR, PRECISIONMULT |
| Constructor Summary | |
|---|---|
InteractionTable(ContingencyTable aTable)
standard constructor for the InteractionTable class |
|
InteractionTable(int MatrixSize)
standard constructor for the InteractionTable class |
|
InteractionTable(int MatrixSize,
double[][] inMatrix)
standard constructor for the InteractionTable class |
|
| Method Summary | |
|---|---|
double[] |
getBBSRanks()
calculates a cardinal rank (BBS method) for each individual |
double[] |
getBoydSilkRanks()
calculates a cardinal ranks for stochastic transitivity Boyd and Silk (1983) for each individual |
double[] |
getDominanceActivityIndex()
calculates a dominance activity index for each individual |
double[] |
getDominanceIndex()
calculates a dominance index for each individual |
double[] |
getOrdinalRanks()
returns individual ordinal ranks from matrix of interactions between entities. |
void |
listLinearityResults()
lists results from a Test for Linearity. |
void |
listRanks()
list ranks for each individual |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InteractionTable(int MatrixSize)
MatrixSize - number of rows and columns in the table
public InteractionTable(ContingencyTable aTable)
throws java.lang.Exception
aTable - the data to use
java.lang.Exception
public InteractionTable(int MatrixSize,
double[][] inMatrix)
MatrixSize - number of rows and columns in the tableinMatrix - 2D array of doubles to fill the table| Method Detail |
|---|
public double[] getOrdinalRanks()
throws java.lang.Exception
java.lang.Exception
public double[] getBoydSilkRanks()
throws java.lang.Exception
java.lang.Exception
public double[] getBBSRanks()
throws java.lang.Exception
java.lang.Exception
public double[] getDominanceIndex()
throws java.lang.Exception
java.lang.Exception
public double[] getDominanceActivityIndex()
throws java.lang.Exception
java.lang.Exceptionpublic void listRanks()
public void listLinearityResults()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||