Package org.apache.spark.mllib.stat.test
Class StudentTTest
Object
org.apache.spark.mllib.stat.test.StudentTTest
Performs Students's 2-sample t-test. The null hypothesis is that the two data sets have equal
mean. This test assumes equal variance between the two samples and does not assume equal sample
size. For unequal variances, Welch's t-test should be used instead.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DStream<org.apache.spark.mllib.stat.test.StreamingTestResult>
doTest
(DStream<scala.Tuple2<StatCounter, StatCounter>> data) static org.apache.spark.internal.Logging.LogStringContext
LogStringContext
(scala.StringContext sc) static final String
static final String
static org.slf4j.Logger
static void
org$apache$spark$internal$Logging$$log__$eq
(org.slf4j.Logger x$1)
-
Constructor Details
-
StudentTTest
public StudentTTest()
-
-
Method Details
-
methodName
-
nullHypothesis
-
doTest
public static DStream<org.apache.spark.mllib.stat.test.StreamingTestResult> doTest(DStream<scala.Tuple2<StatCounter, StatCounter>> data) -
org$apache$spark$internal$Logging$$log_
public static org.slf4j.Logger org$apache$spark$internal$Logging$$log_() -
org$apache$spark$internal$Logging$$log__$eq
public static void org$apache$spark$internal$Logging$$log__$eq(org.slf4j.Logger x$1) -
LogStringContext
public static org.apache.spark.internal.Logging.LogStringContext LogStringContext(scala.StringContext sc)
-