Click or drag to resize
Accord.NET (logo)

BaseTwoSamplePowerAnalysis Class

Base class for two sample power analysis methods. This class cannot be instantiated.
Inheritance Hierarchy
SystemObject
  Accord.Statistics.Testing.PowerBaseTwoSamplePowerAnalysis
    Accord.Statistics.Testing.PowerTwoSampleTTestPowerAnalysis
    Accord.Statistics.Testing.PowerTwoSampleZTestPowerAnalysis

Namespace:  Accord.Statistics.Testing.Power
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public abstract class BaseTwoSamplePowerAnalysis : ITwoSamplePowerAnalysis, 
	IPowerAnalysis, ICloneable, IFormattable
Request Example View Source

The BaseTwoSamplePowerAnalysis type exposes the following members.

Constructors
  NameDescription
Protected methodBaseTwoSamplePowerAnalysis
Constructs a new power analysis for a two-sample test.
Top
Properties
  NameDescription
Public propertyEffect
Gets or sets the effect size of the test.
Public propertyPower
Gets or sets the power of the test, also known as the (1-Beta error rate).
Public propertySamples1
Gets or sets the number of observations in the first sample considered in the test.
Public propertySamples2
Gets or sets the number of observations in the second sample considered in the test.
Public propertySize
Gets or sets the significance level for the test. Also known as alpha.
Public propertyTail
Gets the test type.
Public propertyTotalSamples
Gets the total number of observations in both samples considered in the test.
Top
Methods
  NameDescription
Public methodClone
Creates a new object that is a copy of the current instance.
Public methodComputeEffect
Computes the minimum detectable effect size for the test considering the power given in Power, the number of samples in TotalSamples and the significance level Size.
Public methodComputePower
Computes the power for a test with givens values of effect size and number of samples under Size.
Public methodComputeSamples
Computes the recommended sample size for the test to attain the power indicated in Power considering values of Effect and Size.
Public methodComputeSize
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.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetDiferentiableUnits(Double)
Gets the minimum difference in the experiment units to which it is possible to detect a difference.
Public methodGetDiferentiableUnits(Double, Double)
Gets the minimum difference in the experiment units to which it is possible to detect a difference.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Converts the numeric power of this test to its equivalent string representation.
(Overrides ObjectToString.)
Public methodToString(String, IFormatProvider)
Converts the numeric power of this test to its equivalent string representation.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(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.)
Public Extension MethodToTOverloaded.
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.)
Top
See Also