TwoSampleZTest Class |
Namespace: Accord.Statistics.Testing
The TwoSampleZTest type exposes the following members.
Name | Description | |
---|---|---|
TwoSampleZTest |
Constructs a Z test.
| |
TwoSampleZTest(Double, Double, Double, TwoSampleHypothesis) |
Constructs a Z test.
| |
TwoSampleZTest(Double, Double, Int32, Double, Double, Int32, Double, TwoSampleHypothesis) |
Constructs a Z test.
|
Name | Description | |
---|---|---|
Analysis |
Gets the power analysis for the test, if available.
| |
Confidence |
Gets the 95% confidence interval for the
ObservedDifference statistic.
| |
CriticalValue |
Gets the critical value for the current significance level.
(Inherited from HypothesisTestTDistribution.) | |
EstimatedValue1 |
Gets the estimated value for the first sample.
| |
EstimatedValue2 |
Gets the estimated value for the second sample.
| |
Hypothesis |
Gets the alternative hypothesis under test. If the test is
Significant, the null hypothesis can be rejected
in favor of this alternative hypothesis.
| |
HypothesizedDifference |
Gets the hypothesized difference between the two estimated values.
| |
ObservedDifference |
Gets the actual difference between the two estimated values.
| |
PValue |
Gets the P-value associated with this test.
(Inherited from HypothesisTestTDistribution.) | |
Significant |
Gets whether the null hypothesis should be rejected.
(Inherited from HypothesisTestTDistribution.) | |
Size |
Gets the significance level for the
test. Default value is 0.05 (5%).
(Inherited from HypothesisTestTDistribution.) | |
StandardError |
Gets the standard error for the difference.
| |
Statistic |
Gets the test statistic.
(Inherited from HypothesisTestTDistribution.) | |
StatisticDistribution |
Gets the distribution associated
with the test statistic.
(Inherited from HypothesisTestTDistribution.) | |
Tail |
Gets the test type.
(Inherited from HypothesisTestTDistribution.) |
Name | Description | |
---|---|---|
Compute(Double, TwoSampleHypothesis) |
Computes the Z test.
| |
Compute(Double, Double, Double, TwoSampleHypothesis) |
Computes the Z test.
| |
Compute(Double, Double, Double, Double, Double, TwoSampleHypothesis) |
Computes the Z test.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetConfidenceInterval |
Gets a confidence interval for the ObservedDifference
statistic within the given confidence level percentage.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnSizeChanged | Update event. (Overrides HypothesisTestTDistributionOnSizeChanged.) | |
PValueToStatistic |
Converts a given p-value to a test statistic.
(Overrides HypothesisTestTDistributionPValueToStatistic(Double).) | |
StatisticToPValue |
Converts a given test statistic to a p-value.
(Overrides HypothesisTestTDistributionStatisticToPValue(Double).) | |
ToString |
Converts the numeric P-Value of this test to its equivalent string representation.
(Inherited from HypothesisTestTDistribution.) | |
ToString(String, IFormatProvider) |
Converts the numeric P-Value of this test to its equivalent string representation.
(Inherited from HypothesisTestTDistribution.) |
Name | Description | |
---|---|---|
HasMethod |
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.) | |
IsEqual |
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.) | |
To(Type) | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) | |
ToT | Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) |
References: