C# 클래스 Accord.Statistics.Testing.Power.TwoSampleTTestPowerAnalysis

상속: BaseTwoSamplePowerAnalysis
파일 보기 프로젝트 열기: accord-net/framework 1 사용 예제들

공개 메소드들

메소드 설명
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