Examples of inverseCumulativeProbability()


Examples of org.apache.commons.math.distribution.ChiSquaredDistribution.inverseCumulativeProbability()

    time = System.currentTimeMillis();
    int ccount = 0;
    int hypotheses = ((toksAboveThresh-1) * (toksAboveThresh-2)) / 2;

    ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
    double upperThreshold = csd.inverseCumulativeProbability(1.0 - (fdr / hypotheses));
    double lowerThreshold = csd.inverseCumulativeProbability(1.0 - fdr);
    Map<String,String> reports = new HashMap<String,String>();
    int totalViable = 0;
    for(Long c : collocs) {
      if(c == colloc) {
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistribution.inverseCumulativeProbability()

    int ccount = 0;
    int hypotheses = ((toksAboveThresh-1) * (toksAboveThresh-2)) / 2;

    ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
    double upperThreshold = csd.inverseCumulativeProbability(1.0 - (fdr / hypotheses));
    double lowerThreshold = csd.inverseCumulativeProbability(1.0 - fdr);
    Map<String,String> reports = new HashMap<String,String>();
    int totalViable = 0;
    for(Long c : collocs) {
      if(c == colloc) {
        count++;
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistribution.inverseCumulativeProbability()

   * @param args
   */
  public static void main(String[] args) throws Exception {
    if(false) {
      ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
      System.out.println(csd.inverseCumulativeProbability(1.0 - (0.05 / 1000000000)));
      System.out.println(csd.inverseCumulativeProbability(0.05));
      return;
    }
    if(false) {
      System.out.println(3 << 16);
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistribution.inverseCumulativeProbability()

   */
  public static void main(String[] args) throws Exception {
    if(false) {
      ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
      System.out.println(csd.inverseCumulativeProbability(1.0 - (0.05 / 1000000000)));
      System.out.println(csd.inverseCumulativeProbability(0.05));
      return;
    }
    if(false) {
      System.out.println(3 << 16);
      int [] r = decodeCollocation(encodeCollocation(1000, 10000));
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistribution.inverseCumulativeProbability()

      System.out.println(r[0] + "\t" + r[1]);
     
      ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(3);
      for(int i=0;i<50;i++) {
        double p = Math.pow(10.0, -i);
        System.out.println(p + "\t" + csd.inverseCumulativeProbability(p));
      }
     
      return;
    }
   
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistributionImpl.inverseCumulativeProbability()

    time = System.currentTimeMillis();
    int ccount = 0;
    int hypotheses = ((toksAboveThresh-1) * (toksAboveThresh-2)) / 2;

    ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
    double upperThreshold = csd.inverseCumulativeProbability(1.0 - (fdr / hypotheses));
    double lowerThreshold = csd.inverseCumulativeProbability(1.0 - fdr);
    Map<String,String> reports = new HashMap<String,String>();
    int totalViable = 0;
    for(Long c : collocs) {
      if(c == colloc) {
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistributionImpl.inverseCumulativeProbability()

    int ccount = 0;
    int hypotheses = ((toksAboveThresh-1) * (toksAboveThresh-2)) / 2;

    ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
    double upperThreshold = csd.inverseCumulativeProbability(1.0 - (fdr / hypotheses));
    double lowerThreshold = csd.inverseCumulativeProbability(1.0 - fdr);
    Map<String,String> reports = new HashMap<String,String>();
    int totalViable = 0;
    for(Long c : collocs) {
      if(c == colloc) {
        count++;
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistributionImpl.inverseCumulativeProbability()

   * @param args
   */
  public static void main(String[] args) throws Exception {
    if(false) {
      ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
      System.out.println(csd.inverseCumulativeProbability(1.0 - (0.05 / 1000000000)));
      System.out.println(csd.inverseCumulativeProbability(0.05));
      return;
    }
    if(false) {
      System.out.println(3 << 16);
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistributionImpl.inverseCumulativeProbability()

   */
  public static void main(String[] args) throws Exception {
    if(false) {
      ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(1);
      System.out.println(csd.inverseCumulativeProbability(1.0 - (0.05 / 1000000000)));
      System.out.println(csd.inverseCumulativeProbability(0.05));
      return;
    }
    if(false) {
      System.out.println(3 << 16);
      int [] r = decodeCollocation(encodeCollocation(1000, 10000));
View Full Code Here

Examples of org.apache.commons.math.distribution.ChiSquaredDistributionImpl.inverseCumulativeProbability()

      System.out.println(r[0] + "\t" + r[1]);
     
      ChiSquaredDistribution csd = new ChiSquaredDistributionImpl(3);
      for(int i=0;i<50;i++) {
        double p = Math.pow(10.0, -i);
        System.out.println(p + "\t" + csd.inverseCumulativeProbability(p));
      }
     
      return;
    }
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.