Diffpack Documentation


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Search  

TestOfNormality.h

Go to the documentation of this file.
00001 
00005 class TestOfNormality : public EmpiricalStatistics
00006 
00007 {
00008 protected:
00009 
00010   const int nintervals;
00011   int nvariables;
00012 
00013   Vec(real) probabilities;
00014   MatSimple(real) interval_limits;
00015   MatSimple(int) storing;
00016   VecSimplest(bool) deterministic;
00017 
00018 public:
00019 
00020   TestOfNormality () : nintervals(10) {}
00021   TestOfNormality (int nvariables);
00022  ~TestOfNormality () {}
00023 
00024   void redim (int nvariables);
00025   void init ();  
00026   void init (const Vec(real)& expec, const Vec(real)& stdev);
00027 
00028   void update (const Vec(real)& realizations);
00029   void calcTestStatistic (Vec(real)& chi_sqr_test_statistic,
00030                           const Vec(real)& expec, const Vec(real)& stdev);
00031 };
00032 
00033 

Copyright © 2003 inuTech GmbH. All rights reserved.