C# Класс Accord.Statistics.Testing.Power.TwoSampleTTestPowerAnalysis

Наследование: BaseTwoSamplePowerAnalysis
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
ComputePower ( ) : void

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

GetSampleSize ( double delta, double standardDeviation = 1, double proportion = 1.0, double power = 0.8, double alpha = 0.05, TwoSampleHypothesis hypothesis = TwoSampleHypothesis.ValuesAreDifferent ) : TwoSampleTTestPowerAnalysis

Estimates the number of samples necessary to attain the required power level for the given effect size.

GetSampleSize ( double delta, double variance1, double variance2, double proportion = 1.0, double power = 0.8, double alpha = 0.05, TwoSampleHypothesis hypothesis = TwoSampleHypothesis.ValuesAreDifferent ) : TwoSampleTTestPowerAnalysis

Estimates the number of samples necessary to attain the required power level for the given effect size.

TwoSampleTTestPowerAnalysis ( TwoSampleHypothesis hypothesis ) : System

Creates a new TTestPowerAnalysis.

TwoSampleTTestPowerAnalysis ( TwoSampleTTest test ) : System

Creates a new TTestPowerAnalysis.

Описание методов

ComputePower() публичный Метод

Computes the power for a test with givens values of effect size and number of samples under IPowerAnalysis.Size.
public ComputePower ( ) : void
Результат void

GetSampleSize() публичный статический Метод

Estimates the number of samples necessary to attain the required power level for the given effect size.
public static GetSampleSize ( double delta, double standardDeviation = 1, double proportion = 1.0, double power = 0.8, double alpha = 0.05, TwoSampleHypothesis hypothesis = TwoSampleHypothesis.ValuesAreDifferent ) : TwoSampleTTestPowerAnalysis
delta double The minimum detectable difference.
standardDeviation double The difference standard deviation.
proportion double The proportion of observations in the second group /// when compared to the first group. A proportion of 2:1 results in twice more /// samples in the second group than in the first. Default is 1.
power double The desired power level. Default is 0.8.
alpha double The desired significance level. Default is 0.05.
hypothesis TwoSampleHypothesis The alternative hypothesis (research hypothesis) to be tested.
Результат TwoSampleTTestPowerAnalysis

GetSampleSize() публичный статический Метод

Estimates the number of samples necessary to attain the required power level for the given effect size.
public static GetSampleSize ( double delta, double variance1, double variance2, double proportion = 1.0, double power = 0.8, double alpha = 0.05, TwoSampleHypothesis hypothesis = TwoSampleHypothesis.ValuesAreDifferent ) : TwoSampleTTestPowerAnalysis
delta double The minimum detectable difference.
variance1 double The first sample variance.
variance2 double The second sample variance.
proportion double The proportion of observations in the second group /// when compared to the first group. A proportion of 2:1 results in twice more /// samples in the second group than in the first. Default is 1.
power double The desired power level. Default is 0.8.
alpha double The desired significance level. Default is 0.05.
hypothesis TwoSampleHypothesis The alternative hypothesis (research hypothesis) to be tested.
Результат TwoSampleTTestPowerAnalysis

TwoSampleTTestPowerAnalysis() публичный Метод

Creates a new TTestPowerAnalysis.
public TwoSampleTTestPowerAnalysis ( TwoSampleHypothesis hypothesis ) : System
hypothesis TwoSampleHypothesis The hypothesis tested.
Результат System

TwoSampleTTestPowerAnalysis() публичный Метод

Creates a new TTestPowerAnalysis.
public TwoSampleTTestPowerAnalysis ( TwoSampleTTest test ) : System
test TwoSampleTTest The test to create the analysis for.
Результат System