QtiPlot 0.9.8.2
Public Member Functions | Protected Member Functions | Protected Attributes
tTest Class Reference

Student's t-Test. More...

#include <tTest.h>

Inheritance diagram for tTest:
StatisticTest Statistics

List of all members.

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
Statisticsd_sample2

Detailed Description

Student's t-Test.


Constructor & Destructor Documentation

tTest::tTest ( ApplicationWindow parent,
double  testValue,
double  level,
const QString &  sample1 = QString(),
const QString &  sample2 = QString(),
bool  paired = false 
)

References setSample2().


Member Function Documentation

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]
double tTest::power ( double  alpha,
int  size = 0 
)
double tTest::pValue ( ) [virtual]
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]
double tTest::t ( )
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().


Member Data Documentation

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().


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