|
jBNC Toolbox | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjbnc.util.FrequencyCalc
Calculate variable frequencies given a dataset.
Field Summary | |
protected Dataset |
dataset
|
protected int[][] |
freqX
Frequency of variable values X. |
protected int[][][][] |
freqXY
Joint frequency of variable values X and Y. |
protected int[][][][][] |
freqXYZ
Joint frequency of variable values X, Y and Z. |
AttributeSpecs[] |
names
Specs for variables in the dataset from which the frequecies were calculated. |
int |
nbCases
Number of cases in the dataset the dataset. |
Constructor Summary | |
FrequencyCalc(DatasetInt dataset)
Constructor for the FrequencyCalc object |
Method Summary | |
protected void |
calcFreqXY_X()
Calculate values of freqX and freqXY. |
protected void |
calcFreqXYZ()
Calculate values of freqXYZ |
protected void |
init(Dataset dataset)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public int nbCases
public AttributeSpecs[] names
protected int[][][][][] freqXYZ
freqXYZ[index_x][index_y][state_x][state_y][state_z]
protected int[][][][] freqXY
freqXY[index_x][index_y][state_x][state_y]
protected int[][] freqX
freqX[index_x][state_x]
protected Dataset dataset
Constructor Detail |
public FrequencyCalc(DatasetInt dataset)
dataset
- Description of ParameterMethod Detail |
protected void init(Dataset dataset)
dataset
- Description of Parameterprotected void calcFreqXYZ()
protected void calcFreqXY_X()
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |