drasys.or.stat
Class PopulationMedian

java.lang.Object
  |
  +--drasys.or.stat.PopulationMedian

public class PopulationMedian
extends java.lang.Object

Estimate the population median and confidence interval from a sample.

References:

Mathematical Statistics : Basic Ideas and Selected Topics
    Peter J. Bickel / Hardcover / Published 1991
Introduction to Mathematical Statistics
    Robert V. Hogg, Allen T. Craig (Contributor) / Hardcover / Published 1995
Mathematical Statistics With Applications
    Dennis D. Wackerly, et al / Hardcover / Published 1996
Probability and Statistics
    Morris H. Degroot / Hardcover / Published 1986
Numerical Recipes in C : The Art of Scientific Computing
    William H. Press, et al / Hardcover / Published 1993


Constructor Summary
PopulationMedian(VectorI sample)
          Create an estimator with a real valued sample.
 
Method Summary
 double getLowerBound(double confidenceLevel)
          Computes the lower bound of the confidence interval.
 double getMedian()
          Returns the estimate of the proportion of successes in the population.
 double getUpperBound(double confidenceLevel)
          Computes the upper bound of the confidence interval.
 double size()
          Returns the size of the sample.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PopulationMedian

public PopulationMedian(VectorI sample)
Create an estimator with a real valued sample.
Method Detail

size

public double size()
Returns the size of the sample.

getMedian

public double getMedian()
Returns the estimate of the proportion of successes in the population.

getLowerBound

public double getLowerBound(double confidenceLevel)
Computes the lower bound of the confidence interval.

getUpperBound

public double getUpperBound(double confidenceLevel)
Computes the upper bound of the confidence interval.


Copyright(C)1997-2000 by DRA Systems all rights reserved. OpsResearch.com