QtiPlot
0.9.8.2
|
Chi-Square test for variance. More...
#include <ChiSquareTest.h>
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. | |
![]() | |
virtual void | outputResultsTo (Table *) |
virtual Table * | resultTable (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()) | |
![]() | |
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 | |
![]() | |
enum | Tail { Left = 0, Right = 1, Both = 2 } |
enum | TestType { StudentTest = 0, NormalityTest = 1, ChiSquareTest = 2, AnovaTest = 3 } |
![]() | |
virtual void | freeMemory () |
Frees the memory allocated for the X and Y data sets. | |
void | memoryErrorMessage () |
![]() | |
bool | d_descriptive_statistics |
double | d_significance_level |
int | d_tail |
double | d_test_val |
Chi-Square test for variance.
ChiSquareTest::ChiSquareTest | ( | ApplicationWindow * | parent, |
double | testValue, | ||
double | level, | ||
const QString & | sample = QString() |
||
) |
double ChiSquareTest::chiSquare | ( | ) |
References Statistics::d_n, StatisticTest::d_test_val, and Statistics::d_variance.
Referenced by logInfo(), pValue(), and statistic().
|
virtual |
Lower Confidence Limit.
Reimplemented from StatisticTest.
References Statistics::d_n, Statistics::d_variance, and Statistics::dof().
|
virtual |
Reimplemented from StatisticTest.
References StatisticTest::Both, chiSquare(), ApplicationWindow::d_decimal_digits, StatisticTest::d_descriptive_statistics, StatisticTest::d_significance_level, Statistics::d_table, StatisticTest::d_tail, StatisticTest::d_test_val, Statistics::dof(), StatisticTest::Left, pValue(), and StatisticTest::Right.
|
virtual |
Reimplemented from StatisticTest.
References StatisticTest::Both, chiSquare(), Statistics::d_n, StatisticTest::d_tail, Statistics::dof(), StatisticTest::Left, and StatisticTest::Right.
Referenced by logInfo().
|
inlinevirtual |
Reimplemented from StatisticTest.
References chiSquare().
|
virtual |
Upper Confidence Limit.
Reimplemented from StatisticTest.
References Statistics::d_n, Statistics::d_variance, and Statistics::dof().