The OpenD Programming Language

TestRes

A plain old data struct for returning the results of hypothesis tests.

Alias This

p

Allow implicit conversion to the P-value.

Members

Functions

toString
string toString()

Variables

p
double p;

The P-value against the provided alternative. This struct can * be implicitly converted to just the P-value via alias this.

testStat
double testStat;

The test statistic. What exactly this is is specific to the test.

Meta