TwoSampleZTestPowerAnalysis Class |
Namespace: Accord.Statistics.Testing.Power
[SerializableAttribute] public class TwoSampleZTestPowerAnalysis : BaseTwoSamplePowerAnalysis
The TwoSampleZTestPowerAnalysis type exposes the following members.
Name | Description | |
---|---|---|
TwoSampleZTestPowerAnalysis(TwoSampleHypothesis) |
Creates a new ZTestPowerAnalysis.
| |
TwoSampleZTestPowerAnalysis(TwoSampleZTest) |
Creates a new ZTestPowerAnalysis.
|
Name | Description | |
---|---|---|
Effect |
Gets or sets the effect size of the test.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
Power |
Gets or sets the power of the test, also
known as the (1-Beta error rate).
(Inherited from BaseTwoSamplePowerAnalysis.) | |
Samples1 |
Gets or sets the number of observations
in the first sample considered in the test.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
Samples2 |
Gets or sets the number of observations
in the second sample considered in the test.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
Size |
Gets or sets the significance level
for the test. Also known as alpha.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
Tail |
Gets the test type.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
TotalSamples |
Gets the total number of observations
in both samples considered in the test.
(Inherited from BaseTwoSamplePowerAnalysis.) |
Name | Description | |
---|---|---|
Clone |
Creates a new object that is a copy of the current instance.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
ComputeEffect |
Computes the minimum detectable effect size for the test
considering the power given in Power, the
number of samples in Samples and the significance
level Size.
(Overrides BaseTwoSamplePowerAnalysisComputeEffect.) | |
ComputePower | (Overrides BaseTwoSamplePowerAnalysisComputePower.) | |
ComputeSamples |
Gets the recommended sample size for the test to attain
the power indicating in Power considering
values of Effect and Size.
(Overrides BaseTwoSamplePowerAnalysisComputeSamples(Double).) | |
ComputeSize |
Computes the minimum significance level for the test
considering the power given in Power, the
number of samples in TotalSamples and the
effect size Effect.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
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.) | |
GetDiferentiableUnits(Double) |
Gets the minimum difference in the experiment units
to which it is possible to detect a difference.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
GetDiferentiableUnits(Double, Double) |
Gets the minimum difference in the experiment units
to which it is possible to detect a difference.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
GetEffectSize |
Estimates the number of samples necessary to attain the
required power level for the given effect size.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetSampleSize |
Estimates the number of samples necessary to attain the
required power level for the given effect size.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString |
Converts the numeric power of this test to its equivalent string representation.
(Inherited from BaseTwoSamplePowerAnalysis.) | |
ToString(String, IFormatProvider) |
Converts the numeric power of this test to its equivalent string representation.
(Inherited from BaseTwoSamplePowerAnalysis.) |
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.) |
Please take a look at the TwoSampleTTest example section.