QtiPlot 0.9.8.2
|
Student's t-Test. More...
#include <tTest.h>
Public Member Functions | |
int | dof () |
Returns the degrees of freedom. | |
double | lcl (double confidenceLevel) |
Lower Confidence Limit. | |
virtual QString | logInfo () |
double | power (double alpha, int size=0) |
double | pValue () |
bool | setSample1 (const QString &colName) |
bool | setSample2 (const QString &colName, bool paired=false) |
double | statistic () |
double | t () |
tTest (ApplicationWindow *parent, double testValue, double level, const QString &sample1=QString(), const QString &sample2=QString(), bool paired=false) | |
double | ucl (double confidenceLevel) |
Upper Confidence Limit. | |
Protected Member Functions | |
void | freeMemory () |
Frees the memory allocated for the X and Y data sets. | |
double | t (int size) |
Protected Attributes | |
double | d_diff |
bool | d_independent_test |
double | d_s12 |
Statistics * | d_sample2 |
Student's t-Test.
tTest::tTest | ( | ApplicationWindow * | parent, |
double | testValue, | ||
double | level, | ||
const QString & | sample1 = QString() , |
||
const QString & | sample2 = QString() , |
||
bool | paired = false |
||
) |
References setSample2().
int tTest::dof | ( | ) | [virtual] |
Returns the degrees of freedom.
Reimplemented from Statistics.
References d_independent_test, Statistics::d_n, d_sample2, and Statistics::dataSize().
Referenced by lcl(), logInfo(), power(), pValue(), and ucl().
void tTest::freeMemory | ( | ) | [protected, virtual] |
Frees the memory allocated for the X and Y data sets.
Reimplemented from Statistics.
References d_sample2.
double tTest::lcl | ( | double | confidenceLevel | ) | [virtual] |
Lower Confidence Limit.
Reimplemented from StatisticTest.
References d_diff, Statistics::d_mean, Statistics::d_n, d_s12, d_sample2, Statistics::d_se, and dof().
QString tTest::logInfo | ( | ) | [virtual] |
Reimplemented from StatisticTest.
References StatisticTest::Both, ApplicationWindow::d_decimal_digits, StatisticTest::d_descriptive_statistics, d_diff, d_independent_test, d_sample2, StatisticTest::d_significance_level, Statistics::d_table, StatisticTest::d_tail, StatisticTest::d_test_val, dof(), StatisticTest::Left, Statistics::logInfo(), pValue(), StatisticTest::Right, and t().
double tTest::power | ( | double | alpha, |
int | size = 0 |
||
) |
double tTest::pValue | ( | ) | [virtual] |
Reimplemented from StatisticTest.
References StatisticTest::Both, Statistics::d_n, StatisticTest::d_tail, dof(), StatisticTest::Left, StatisticTest::Right, and t().
Referenced by logInfo().
bool tTest::setSample1 | ( | const QString & | colName | ) | [inline] |
References Statistics::setData().
bool tTest::setSample2 | ( | const QString & | colName, |
bool | paired = false |
||
) |
double tTest::statistic | ( | ) | [inline, virtual] |
Reimplemented from StatisticTest.
References t().
double tTest::t | ( | int | size | ) | [protected] |
References Statistics::d_mean, Statistics::d_sd, and StatisticTest::d_test_val.
double tTest::t | ( | ) |
References d_diff, Statistics::d_mean, Statistics::d_n, d_s12, d_sample2, Statistics::d_sd, and StatisticTest::d_test_val.
Referenced by logInfo(), power(), pValue(), and statistic().
double tTest::ucl | ( | double | confidenceLevel | ) | [virtual] |
Upper Confidence Limit.
Reimplemented from StatisticTest.
References d_diff, Statistics::d_mean, Statistics::d_n, d_s12, d_sample2, Statistics::d_se, and dof().
double tTest::d_diff [protected] |
Referenced by lcl(), logInfo(), setSample2(), t(), and ucl().
bool tTest::d_independent_test [protected] |
Referenced by dof(), logInfo(), power(), and setSample2().
double tTest::d_s12 [protected] |
Referenced by lcl(), setSample2(), t(), and ucl().
Statistics* tTest::d_sample2 [protected] |
Referenced by dof(), freeMemory(), lcl(), logInfo(), power(), setSample2(), t(), and ucl().