javanpst.data.distributions.criticalTable
Class Critical2KeyTable
- java.lang.Object
-
- javanpst.data.distributions.criticalTable.Critical2KeyTable
-
public class Critical2KeyTable extends java.lang.ObjectA table representation with 2 keys and critical levels. In each row of this table, several critical values are stored, being each one assigned to a previously specified p-value
-
-
Constructor Summary
Constructors Constructor and Description Critical2KeyTable(int dim1, int dim2, double[] criticals)Buider.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidclear()Clears the tabledoubleestimate(int dim1, int dim2, double critical)Estimates a pValue given a statistic value and two indexesdoublegetHeader(int index)Returns the p-value assigned to a given positionvoidset(int dim1, int dim2, int keyCritical, double value)Copy a value in the table
-
-
-
Constructor Detail
-
Critical2KeyTable
public Critical2KeyTable(int dim1, int dim2, double[] criticals)Buider.- Parameters:
dim1- number of rows of the tabledim2- number of columns of the tablecriticals- array of p-values
-
-
Method Detail
-
clear
public void clear()
Clears the table
-
getHeader
public double getHeader(int index)
Returns the p-value assigned to a given position- Parameters:
index- position selected- Returns:
- p-value associated
-
estimate
public double estimate(int dim1, int dim2, double critical)Estimates a pValue given a statistic value and two indexes- Parameters:
dim1- first indexdim2- second indexcritical- statistic value- Returns:
- p-value found
-
set
public void set(int dim1, int dim2, int keyCritical, double value)Copy a value in the table- Parameters:
dim1- first indexdim2- second indexkeyCritical- p-value assigned (index)value- value to set
-
-
DMelt 3.0 © DataMelt by jWork.ORG