Documentation of 'javanpst.data.distributions.criticalTable.Critical2KeyTable' Java class
Critical2KeyTable
javanpst.data.distributions.criticalTable

Class Critical2KeyTable



  • public class Critical2KeyTable
    extends java.lang.Object
    A 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
      void clear()
      Clears the table
      double estimate(int dim1, int dim2, double critical)
      Estimates a pValue given a statistic value and two indexes
      double getHeader(int index)
      Returns the p-value assigned to a given position
      void set(int dim1, int dim2, int keyCritical, double value)
      Copy a value in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Critical2KeyTable

        public Critical2KeyTable(int dim1,
                                 int dim2,
                                 double[] criticals)
        Buider.
        Parameters:
        dim1 - number of rows of the table
        dim2 - number of columns of the table
        criticals - 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 index
        dim2 - second index
        critical - 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 index
        dim2 - second index
        keyCritical - p-value assigned (index)
        value - value to set

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.