org.expasy.jpl.commons.collection.stat
Class ProbDistLGUtils

java.lang.Object
  extended by org.expasy.jpl.commons.collection.stat.ProbDistLGUtils

public final class ProbDistLGUtils
extends Object


Constructor Summary
ProbDistLGUtils()
           
 
Method Summary
static double getDensityAtStdDev(int stdDev)
           
static double getDensityAtStdDevBin(int stdev)
          Get the density over the curve in the interval [stdev-stdev+1[
static double getIntervalAreaAtStdev(double area, int stdev)
           
static double[] getIntervalAreas(double area)
          Return a list of areas for 12 sigma intervals from [-6, -5[ to [5, 6[.
static double[] getValues(LaplaceGaussRandomVar var)
           
static double getValuesAtStdev(LaplaceGaussRandomVar var, int numOfStdev)
           
static HistogramDataSet toHistogram(LaplaceGaussRandomVar var)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProbDistLGUtils

public ProbDistLGUtils()
Method Detail

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.