org.expasy.jpl.commons.collection.stat
Class ProbDistLGUtils
java.lang.Object
org.expasy.jpl.commons.collection.stat.ProbDistLGUtils
public final class ProbDistLGUtils
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProbDistLGUtils
public ProbDistLGUtils()
getDensityAtStdDev
public static double getDensityAtStdDev(int stdDev)
getDensityAtStdDevBin
public static double getDensityAtStdDevBin(int stdev)
- Get the density over the curve in the interval [stdev-stdev+1[
- Parameters:
stdev - the standard deviation interval to compute the density in.
- Returns:
- a density value [0, 1[.
getIntervalAreas
public static double[] getIntervalAreas(double area)
- Return a list of areas for 12 sigma intervals from [-6, -5[ to [5, 6[.
- Parameters:
area - the area of the data.
- Returns:
- a list of areas where there sum is equals to area.
getIntervalAreaAtStdev
public static double getIntervalAreaAtStdev(double area,
int stdev)
getValues
public static double[] getValues(LaplaceGaussRandomVar var)
getValuesAtStdev
public static final double getValuesAtStdev(LaplaceGaussRandomVar var,
int numOfStdev)
toHistogram
public static HistogramDataSet toHistogram(LaplaceGaussRandomVar var)
Copyright (c) 2012 Swiss Institute of Bioinformatics. All rights reserved.