TwoProportionZTest Class |
Namespace: Accord.Statistics.Testing
The TwoProportionZTest type exposes the following members.
Name | Description | |
---|---|---|
TwoProportionZTest(Double, Int32, Double, Int32, TwoSampleHypothesis) |
Creates a new Z-Test for two sample proportions.
| |
TwoProportionZTest(Int32, Int32, Int32, Int32, TwoSampleHypothesis) |
Creates a new Z-Test for two sample proportions.
|
Name | Description | |
---|---|---|
Analysis |
Gets the power analysis for the test, if available.
(Inherited from TwoSampleZTest.) | |
Confidence |
Gets the 95% confidence interval for the
ObservedDifference statistic.
(Inherited from TwoSampleZTest.) | |
CriticalValue |
Gets the critical value for the current significance level.
(Inherited from HypothesisTestTDistribution.) | |
EstimatedValue1 |
Gets the estimated value for the first sample.
(Inherited from TwoSampleZTest.) | |
EstimatedValue2 |
Gets the estimated value for the second sample.
(Inherited from TwoSampleZTest.) | |
Hypothesis |
Gets the alternative hypothesis under test. If the test is
Significant, the null hypothesis can be rejected
in favor of this alternative hypothesis.
(Inherited from TwoSampleZTest.) | |
HypothesizedDifference |
Gets the hypothesized difference between the two estimated values.
(Inherited from TwoSampleZTest.) | |
ObservedDifference |
Gets the actual difference between the two estimated values.
(Inherited from TwoSampleZTest.) | |
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.
(Inherited from TwoSampleZTest.) | |
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.
(Inherited from TwoSampleZTest.) | |
Compute(Double, Double, Double, TwoSampleHypothesis) |
Computes the Z test.
(Inherited from TwoSampleZTest.) | |
Compute(Int32, Int32, Int32, Int32, TwoSampleHypothesis) |
Computes the Z-test for two sample proportions.
| |
Compute(Double, Double, Double, Double, Double, TwoSampleHypothesis) |
Computes the Z test.
(Inherited from TwoSampleZTest.) | |
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.
(Inherited from TwoSampleZTest.) | |
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. (Inherited from TwoSampleZTest.) | |
PValueToStatistic |
Converts a given p-value to a test statistic.
(Inherited from TwoSampleZTest.) | |
StatisticToPValue |
Converts a given test statistic to a p-value.
(Inherited from TwoSampleZTest.) | |
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.) |