class ChiSqTestResult extends TestResult[Int]
Object containing the test results for the chi-squared hypothesis test.
- Annotations
- @Since( "1.1.0" )
- Source
- TestResult.scala
- Alphabetic
- By Inheritance
- ChiSqTestResult
- TestResult
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
val
degreesOfFreedom: Int
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.
- Definition Classes
- ChiSqTestResult → TestResult
- Annotations
- @Since( "1.1.0" )
-
val
method: String
- Annotations
- @Since( "1.1.0" )
-
val
nullHypothesis: String
Null hypothesis of the test.
Null hypothesis of the test.
- Definition Classes
- ChiSqTestResult → TestResult
- Annotations
- @Since( "1.1.0" )
-
val
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.
- Definition Classes
- ChiSqTestResult → TestResult
-
val
statistic: Double
Test statistic.
Test statistic.
- Definition Classes
- ChiSqTestResult → TestResult
- Annotations
- @Since( "1.1.0" )
-
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
- ChiSqTestResult → TestResult → AnyRef → Any