User Manual, Developers Guide and API Documentation

wns::evaluation::statistics::Moments Class Reference

Class Moments: Simple stat. evaluation: mean, variance, skewness etc.

#include <evaluation/statistics/moments.hpp>

Inheritance diagram for wns::evaluation::statistics::Moments:

Inheritance graph
[legend]
Collaboration diagram for wns::evaluation::statistics::Moments:

Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual double getConfidenceInterval95Mean () const
 Return size of 95-confidence interval of mean.
virtual double getConfidenceInterval99Mean () const
 Return size of 99-confidence interval of mean.
virtual double M2 () const
 Return moment m2.
virtual double M3 () const
 Return moment m3.
virtual double mean () const
 Return mean value.
 Moments (const wns::pyconfig::View &config)
 Moments (std::string name, std::string description, formatType format)
 Moments ()
virtual void print (std::ostream &stream=std::cout) const
 Print output.
virtual void put (double xI)
 Input of value xI.
virtual void put (double xI, double wI)
 Input of value xI, weighted with wI.
virtual void reset ()
 Reset evaluation.
virtual double variance () const
 Return variance.
virtual ~Moments ()

Protected Attributes

double wSum_
 Sum of weights.

Private Member Functions

double getConfidenceIntervalMean (double x) const


Detailed Description

Definition at line 39 of file moments.hpp.


Constructor & Destructor Documentation

Moments::Moments (  ) 

Definition at line 42 of file moments.cpp.

Moments::Moments ( std::string  name,
std::string  description,
formatType  format 
)

Definition at line 47 of file moments.cpp.

Moments::Moments ( const wns::pyconfig::View config  ) 

Definition at line 54 of file moments.cpp.

Moments::~Moments (  )  [virtual]

Definition at line 60 of file moments.cpp.


Member Function Documentation

double Moments::getConfidenceInterval95Mean (  )  const [virtual]

Definition at line 152 of file moments.cpp.

double Moments::getConfidenceInterval99Mean (  )  const [virtual]

Definition at line 162 of file moments.cpp.

double Moments::getConfidenceIntervalMean ( double  x  )  const [private]

Definition at line 169 of file moments.cpp.

double Moments::M2 (  )  const [virtual]

Reimplemented from wns::evaluation::statistics::StatEval.

Definition at line 186 of file moments.cpp.

double Moments::M3 (  )  const [virtual]

Reimplemented from wns::evaluation::statistics::StatEval.

Definition at line 193 of file moments.cpp.

double Moments::mean (  )  const [virtual]

__ n 1 __ n E{x} = \ x * p = _ * \ x /_ i = 1 i n /_ i = 1

Reimplemented from wns::evaluation::statistics::StatEval.

Definition at line 121 of file moments.cpp.

void Moments::print ( std::ostream &  stream = std::cout  )  const [virtual]

Reimplemented from wns::evaluation::statistics::StatEval.

Definition at line 65 of file moments.cpp.

void Moments::put ( double  xI  )  [virtual]

Reimplemented from wns::evaluation::statistics::StatEval.

Definition at line 114 of file moments.cpp.

void Moments::put ( double  xI,
double  wI 
) [virtual]

Definition at line 82 of file moments.cpp.

void Moments::reset (  )  [virtual]

Reimplemented from wns::evaluation::statistics::StatEval.

Definition at line 200 of file moments.cpp.

double Moments::variance (  )  const [virtual]

2 2 2 1 __ n 2 2 c = E{x } - E {x} = - * \ x - E {x} n /_ i = 1

Reimplemented from wns::evaluation::statistics::StatEval.

Definition at line 127 of file moments.cpp.


Member Data Documentation

Definition at line 125 of file moments.hpp.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:53 2012 for openWNS by  doxygen 1.5.5