C# Class Accord.Statistics.Testing.Power.BaseTwoSamplePowerAnalysis

Inheritance: ITwoSamplePowerAnalysis
Show file Open project: accord-net/framework

Private Properties

Property Type Description

Public Methods

Method Description
Clone ( ) : object

Creates a new object that is a copy of the current instance.

ComputeEffect ( ) : void

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.

ComputePower ( ) : void

Computes the power for a test with givens values of effect size and number of samples under Size.

ComputeSamples ( double proportion = 1 ) : void

Computes the recommended sample size for the test to attain the power indicated in Power considering values of Effect and Size.

ComputeSize ( ) : void

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.

GetDiferentiableUnits ( double standardDeviation ) : double

Gets the minimum difference in the experiment units to which it is possible to detect a difference.

GetDiferentiableUnits ( double var1, double var2 ) : double

Gets the minimum difference in the experiment units to which it is possible to detect a difference.

ToString ( ) : string

Converts the numeric power of this test to its equivalent string representation.

ToString ( string format, IFormatProvider formatProvider ) : string

Converts the numeric power of this test to its equivalent string representation.

Protected Methods

Method Description
BaseTwoSamplePowerAnalysis ( DistributionTail tail ) : System

Constructs a new power analysis for a two-sample test.

Method Details

BaseTwoSamplePowerAnalysis() protected method

Constructs a new power analysis for a two-sample test.
protected BaseTwoSamplePowerAnalysis ( DistributionTail tail ) : System
tail DistributionTail
return System

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

ComputeEffect() public method

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 ComputeEffect ( ) : void
return void

ComputePower() public abstract method

Computes the power for a test with givens values of effect size and number of samples under Size.
public abstract ComputePower ( ) : void
return void

ComputeSamples() public method

Computes the recommended sample size for the test to attain the power indicated in Power considering values of Effect and Size.
public ComputeSamples ( double proportion = 1 ) : void
proportion double
return void

ComputeSize() public method

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 ComputeSize ( ) : void
return void

GetDiferentiableUnits() public method

Gets the minimum difference in the experiment units to which it is possible to detect a difference.
public GetDiferentiableUnits ( double standardDeviation ) : double
standardDeviation double The common standard deviation for the samples.
return double

GetDiferentiableUnits() public method

Gets the minimum difference in the experiment units to which it is possible to detect a difference.
public GetDiferentiableUnits ( double var1, double var2 ) : double
var1 double The variance for the first sample.
var2 double The variance for the second sample.
return double

ToString() public method

Converts the numeric power of this test to its equivalent string representation.
public ToString ( ) : string
return string

ToString() public method

Converts the numeric power of this test to its equivalent string representation.
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
return string