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

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

공개 메소드들

메소드 설명
ComputeEffect ( ) : void

Computes the minimum detectable effect size for the test considering the power given in IPowerAnalysis.Power, the number of samples in IPowerAnalysis.Samples and the significance level IPowerAnalysis.Size.

ComputePower ( ) : void

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

ComputeSamples ( ) : void

Gets the recommended sample size for the test to attain the power indicating in IPowerAnalysis.Power considering values of IPowerAnalysis.Effect and IPowerAnalysis.Size.

GetEffectSize ( int sampleSize, double power = 0.8, double alpha = 0.05, OneSampleHypothesis hypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis ) : ZTestPowerAnalysis

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

GetSampleSize ( double delta, double standardDeviation = 1, double power = 0.8, double alpha = 0.05, OneSampleHypothesis hypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis ) : ZTestPowerAnalysis

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

ZTestPowerAnalysis ( OneSampleHypothesis hypothesis ) : System

Creates a new ZTestPowerAnalysis.

ZTestPowerAnalysis ( TwoSampleZTest test ) : System

Creates a new ZTestPowerAnalysis.

메소드 상세

ComputeEffect() 공개 메소드

Computes the minimum detectable effect size for the test considering the power given in IPowerAnalysis.Power, the number of samples in IPowerAnalysis.Samples and the significance level IPowerAnalysis.Size.
public ComputeEffect ( ) : void
리턴 void

ComputePower() 공개 메소드

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

ComputeSamples() 공개 메소드

Gets the recommended sample size for the test to attain the power indicating in IPowerAnalysis.Power considering values of IPowerAnalysis.Effect and IPowerAnalysis.Size.
public ComputeSamples ( ) : void
리턴 void

GetEffectSize() 공개 정적인 메소드

Estimates the number of samples necessary to attain the required power level for the given effect size.
public static GetEffectSize ( int sampleSize, double power = 0.8, double alpha = 0.05, OneSampleHypothesis hypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis ) : ZTestPowerAnalysis
sampleSize int The number of observations in the sample.
power double The desired power level. Default is 0.8.
alpha double The desired significance level. Default is 0.05.
hypothesis OneSampleHypothesis The alternative hypothesis (research hypothesis) to be tested.
리턴 ZTestPowerAnalysis

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 power = 0.8, double alpha = 0.05, OneSampleHypothesis hypothesis = OneSampleHypothesis.ValueIsDifferentFromHypothesis ) : ZTestPowerAnalysis
delta double The minimum detectable difference.
standardDeviation double The difference standard deviation.
power double The desired power level. Default is 0.8.
alpha double The desired significance level. Default is 0.05.
hypothesis OneSampleHypothesis The alternative hypothesis (research hypothesis) to be tested.
리턴 ZTestPowerAnalysis

ZTestPowerAnalysis() 공개 메소드

Creates a new ZTestPowerAnalysis.
public ZTestPowerAnalysis ( OneSampleHypothesis hypothesis ) : System
hypothesis OneSampleHypothesis The hypothesis tested.
리턴 System

ZTestPowerAnalysis() 공개 메소드

Creates a new ZTestPowerAnalysis.
public ZTestPowerAnalysis ( TwoSampleZTest test ) : System
test TwoSampleZTest The test to create the analysis for.
리턴 System