Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SampleStatistic Class Reference

#include <smplstat.h>

Inheritance diagram for SampleStatistic:

Histogram RebinHist List of all members.

Public Methods

 SampleStatistic ()
virtual ~SampleStatistic ()
virtual void reset ()
virtual void operator+= (double)
long samples () const
double mean () const
double stdDev () const
double var () const
double min () const
double max () const
double confidence (int p_percentage) const
double confidence (double p_value) const

Protected Attributes

long unsigned n
double x
double x2
double minValue
double maxValue

Constructor & Destructor Documentation

SampleStatistic::SampleStatistic ( )
 

Definition at line 52 of file smplstat.cxx.

SampleStatistic::~SampleStatistic ( ) [inline, virtual]
 

Definition at line 63 of file smplstat.h.


Member Function Documentation

double SampleStatistic::confidence ( double p_value ) const
 

Definition at line 148 of file smplstat.cxx.

double SampleStatistic::confidence ( int interval ) const
 

Definition at line 136 of file smplstat.cxx.

double SampleStatistic::max ( ) const [inline]
 

Definition at line 62 of file smplstat.h.

Referenced by Histogram::print().

double SampleStatistic::mean ( ) const
 

Definition at line 104 of file smplstat.cxx.

Referenced by Histogram::print().

double SampleStatistic::min ( ) const [inline]
 

Definition at line 61 of file smplstat.h.

Referenced by Histogram::print().

void SampleStatistic::operator+= ( double x ) [virtual]
 

Reimplemented in Histogram.

Definition at line 93 of file smplstat.cxx.

Referenced by Histogram::fill().

void SampleStatistic::reset ( ) [virtual]
 

Definition at line 85 of file smplstat.cxx.

Referenced by SampleStatistic(), and Histogram::clear().

long SampleStatistic::samples ( ) const [inline]
 

Definition at line 60 of file smplstat.h.

double SampleStatistic::stdDev ( ) const
 

Definition at line 126 of file smplstat.cxx.

Referenced by Histogram::print().

double SampleStatistic::var ( ) const
 

Definition at line 115 of file smplstat.cxx.


Member Data Documentation

double SampleStatistic::maxValue [protected]
 

Definition at line 31 of file smplstat.h.

double SampleStatistic::minValue [protected]
 

Definition at line 31 of file smplstat.h.

long unsigned SampleStatistic::n [protected]
 

Definition at line 28 of file smplstat.h.

double SampleStatistic::x [protected]
 

Definition at line 29 of file smplstat.h.

double SampleStatistic::x2 [protected]
 

Definition at line 30 of file smplstat.h.


The documentation for this class was generated from the following files:
Generated at Wed Nov 21 12:20:53 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000