QtiPlot  0.9.8.2
Public Member Functions | List of all members
ChiSquareTest Class Reference

Chi-Square test for variance. More...

#include <ChiSquareTest.h>

Inheritance diagram for ChiSquareTest:
StatisticTest Statistics

Public Member Functions

double chiSquare ()
 ChiSquareTest (ApplicationWindow *parent, double testValue, double level, const QString &sample=QString())
double lcl (double confidenceLevel)
 Lower Confidence Limit.
virtual QString logInfo ()
double pValue ()
double statistic ()
double ucl (double confidenceLevel)
 Upper Confidence Limit.
- Public Member Functions inherited from StatisticTest
virtual void outputResultsTo (Table *)
virtual TableresultTable (const QString &name=QString())
 Returns a pointer to the table created to display the results.
void setSignificanceLevel (double s)
void setTail (const Tail &tail)
void setTestValue (double val)
void showDescriptiveStatistics (bool show=true)
 StatisticTest (ApplicationWindow *parent, double testValue=0.0, double level=0.05, const QString &sample=QString())
- Public Member Functions inherited from Statistics
double * data ()
 Returns the y values of the input data set.
unsigned int dataSize ()
 Returns the size of the input data set.
virtual int dof ()
 Returns the degrees of freedom.
QString logInfo (bool header=true)
double mean ()
virtual bool run ()
 Actually does the job. Should be reimplemented in derived classes.
QString sampleName ()
bool setData (const QString &)
void showResultsLog (bool show=true)
double standardDeviation ()
double standardError ()
 Statistics (ApplicationWindow *parent, const QString &name=QString())
double variance ()
 ~Statistics ()

Additional Inherited Members

- Public Types inherited from StatisticTest
enum  Tail { Left = 0, Right = 1, Both = 2 }
enum  TestType { StudentTest = 0, NormalityTest = 1, ChiSquareTest = 2, AnovaTest = 3 }
- Protected Member Functions inherited from Statistics
virtual void freeMemory ()
 Frees the memory allocated for the X and Y data sets.
void memoryErrorMessage ()
- Protected Attributes inherited from StatisticTest
bool d_descriptive_statistics
double d_significance_level
int d_tail
double d_test_val

Detailed Description

Chi-Square test for variance.

Constructor & Destructor Documentation

ChiSquareTest::ChiSquareTest ( ApplicationWindow parent,
double  testValue,
double  level,
const QString &  sample = QString() 
)

Member Function Documentation

double ChiSquareTest::chiSquare ( )
double ChiSquareTest::lcl ( double  confidenceLevel)
virtual

Lower Confidence Limit.

Reimplemented from StatisticTest.

References Statistics::d_n, Statistics::d_variance, and Statistics::dof().

QString ChiSquareTest::logInfo ( )
virtual
double ChiSquareTest::pValue ( )
virtual
double ChiSquareTest::statistic ( )
inlinevirtual

Reimplemented from StatisticTest.

References chiSquare().

double ChiSquareTest::ucl ( double  confidenceLevel)
virtual

Upper Confidence Limit.

Reimplemented from StatisticTest.

References Statistics::d_n, Statistics::d_variance, and Statistics::dof().


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