trait TestResult[DF] extends AnyRef
Trait for hypothesis test results.
- DF
Return type of
degreesOfFreedom
.
- Annotations
- @Since( "1.1.0" )
- Source
- TestResult.scala
- Alphabetic
- By Inheritance
- TestResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
degreesOfFreedom: DF
Returns the degree(s) of freedom of the hypothesis test.
Returns the degree(s) of freedom of the hypothesis test. Return type should be Number(e.g. Int, Double) or tuples of Numbers for toString compatibility.
- Annotations
- @Since( "1.1.0" )
-
abstract
def
nullHypothesis: String
Null hypothesis of the test.
Null hypothesis of the test.
- Annotations
- @Since( "1.1.0" )
-
abstract
def
pValue: Double
The probability of obtaining a test statistic result at least as extreme as the one that was actually observed, assuming that the null hypothesis is true.
The probability of obtaining a test statistic result at least as extreme as the one that was actually observed, assuming that the null hypothesis is true.
- Annotations
- @Since( "1.1.0" )
-
abstract
def
statistic: Double
Test statistic.
Test statistic.
- Annotations
- @Since( "1.1.0" )
Concrete Value Members
-
def
toString(): String
String explaining the hypothesis test result.
String explaining the hypothesis test result. Specific classes implementing this trait should override this method to output test-specific information.
- Definition Classes
- TestResult → AnyRef → Any