/**
 * A library for statistics on numerical series
 *
 * @version	$Id: Statistics.java,v 1.1 2003/10/07 10:06:55 nthiery Exp $
 * @author	Nicolas M. Thiéry <nthiery@users.sourceforge.net>
**/

import java.lang.Number;
import java.util.ArrayList;

public class Statistics {

    /**
     * Computes the mean value of the numerical series
     *
     * @param anArray	a numerical series, in the form of an Array of Numbers
     * @return		the mean value of the numerical series
     **/
    public static Number mean(ArrayList anArray) {
	//
	// ...
	//
	return new Float(0);
    }

    /**
     * Computes the mean deviance of the numerical series
     *
     * @param anArray	a numerical series, in the form of an Array of Numbers
     * @return		the mean deviance of the numerical series
     **/
    public static Number meanDeviance(ArrayList anArray) {
	//
	// ...
	//
	return new Float(0);
    }

    /**
     * Computes the variance of the numerical series
     *
     * @param anArray	a numerical series, in the form of an Array of Numbers
     * @return		the variance of the numerical series
     **/
    public static Number variance(ArrayList anArray) {
	//
	// ...
	//
	return new Float(0);
    }
}
