datan

## Class Sample

- java.lang.Object
- - datan.Sample

-     public class Sample
      extends java.lang.Object

  A class representing a sample.
  Author:
    Siegmund Brandt.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Sample(double[] data)` Creates a sample from array data.

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `double` | `getErrorOfMean()` Returns the error of the sample mean.
    `double` | `getErrorOfStandardDeviation()` Returns the error of the standard deviation of the sample.
    `double` | `getErrorOfVariance()` Returns the error of the sample variance.
    `double` | `getMean()` Returns trhe sample mean.
    `double` | `getStandardDeviation()` Returns the standard deviation of the sample.
    `double` | `getVariance()` Returns the sample variance.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Sample

          public Sample(double[] data)

      Creates a sample from array data.

  - ### Method Detail

    - #### getMean

          public double getMean()

      Returns trhe sample mean.

    - #### getErrorOfMean

          public double getErrorOfMean()

      Returns the error of the sample mean.

    - #### getVariance

          public double getVariance()

      Returns the sample variance.

    - #### getErrorOfVariance

          public double getErrorOfVariance()

      Returns the error of the sample variance.

    - #### getStandardDeviation

          public double getStandardDeviation()

      Returns the standard deviation of the sample.

    - #### getErrorOfStandardDeviation

          public double getErrorOfStandardDeviation()

      Returns the error of the standard deviation of the sample.