Documentation API of the 'jhplot.stat.Anova' Java class
Anova
jhplot.stat

Class Anova



  • public class Anovaextends Object
    Class for performing simple 1-way ANOVA. For multi-way ANOVA, try mathematica.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Anova(double[][] p_data)
      Creates a new Anova instance.
    • Constructor Detail

      • Anova

        public Anova(double[][] p_data)
        Creates a new Anova instance. Pass in the samples as an array of double arrays. Naturally, they may have different sizes.
        Parameters:
        p_data - a double[][] value
    • Method Detail

      • printData

        public void printData()
        Prettyprints your data and the results of the ANOVA.
      • printResults

        public void printResults()
        Pretty prints your results.
      • getP

        public double getP()
        Returns the p-value that your data is all drawn from a single distribution. Lower p means you have an effect that is more likely to be significant.
        Returns:
        a double value
      • getF

        public double getF()
        Returns the F-value for your data. Sometimes people like to give this along with the p-value in publications.
        Returns:
        a double value
      • getDOF1

        public int getDOF1()
        The first degree of freedom is equal to the number of sample groups, minus 1.
        Returns:
        an int value
      • getDOF2

        public int getDOF2()
        The second degree of freedom is equal to the total number of data points, minus the number of samples.
        Returns:
        an int value
      • getMeans

        public double[] getMeans()
        Returns an array of means for all of your sample groups.
        Returns:
        a double[] value
      • main

        public static void main(String[] argv)

SCaVis 2.2 © jWork.ORG

Warning: You see this message because an access to the SCaVis documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To enable the description of all Java classes of SCaVis, please request the full SCaVis membership.

If you are already a full member, please login to the SCaVis member area before visiting this documentation.