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

Statprob.hh

Go to the documentation of this file.
00001 #ifndef STATPROB_HEADER
00002 #define STATPROB_HEADER
00003 
00004 // ==== CLASS HEADER Statprob.hh ====
00005 
00013 // ==== STANDARD HEADERS ====
00014 
00015 #include <stdlib.h>
00016 #include <math.h>
00017 
00018 #ifdef _STANDARD_C_PLUS_PLUS
00019 #include <iostream>
00020 #include <iomanip>
00021 using namespace std;
00022 #else
00023 #include <iostream.h>
00024 #include <iomanip.h>
00025 #endif
00026 
00027 // ==== MODULE HEADERS ====
00028 
00029 #include "Rangedimexc.hh"
00030 
00031 // ==== CLASSES ====
00032 
00033 namespace RazorBack {
00034 
00035 class Statprob_
00036 {
00037     // static data members
00038     private:
00039 
00040     static const unsigned int MAXITER;
00041     static const double EPSILON;
00042     
00043     // all methods are static, too
00044     public:
00045             
00046     // -- Tests --
00047             
00049     static double stdnorm_tail(double z);
00050     
00056     static double t_test(unsigned int df, double t);
00057     
00064     static double F_test(unsigned int df1, unsigned int df2, double F);
00065     
00070     static double chi2_test(unsigned int df, double Chi2);
00071     
00076     static double studrange_prob(double q, unsigned int df, unsigned int kno);
00077     
00078     // -- Special functions --
00079     
00081     static double ibeta_regul(double a, double b, double x);
00082     
00087     static double igamma_regul(double a, double x);
00088     
00089     // hidden methods
00090     protected:
00091     
00092     static double gamma_series(double a, double x);
00093     static double gamma_contfrac(double a, double x);
00094     static double beta_contfrac(double a, double b, double x);
00095 };
00096 // END OF CLASS Statprob_
00097 
00098 } // RazorBack
00099 
00100 // ==== END OF CLASS HEADER Statprob.hh ====
00101 
00102 #endif      // STATPROB_HEADER

Generated at Wed Aug 21 09:33:12 2002 for The Razorback C++ Library: Statistics by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001