Package smile.stat

Interface Hypothesis


public interface Hypothesis
Hypothesis test functions.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    Chi-square test.
    static interface 
    Correlation test.
    static interface 
    F-test.
    static interface 
    The Kolmogorov-Smirnov test (K-S test).
    static interface 
    t-test.
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static String
    significance(double pvalue)
    Returns the significance code of p-value.
  • Method Details

    • significance

      static String significance(double pvalue)
      Returns the significance code of p-value. Significance codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
      Parameters:
      pvalue - a p-value.
      Returns:
      the significance code of p-value.