mqr.inference.variance.
power_2sample#
- mqr.inference.variance.power_2sample(var_ratio, nobs, alpha=0.05, alternative='two-sided', method='f')#
Calculate power for test of ratio of variances.
- Null-hypothesis
effect = var_1 / var_2 == 1
- Parameters:
- var_ratiofloat
Effect size.
- nobsfloat
Number of observations in sample.
- alphafloat, optional
Significance level.
- alternative{‘two-sided’, ‘less’, ‘greater’}, optional
Sense of alternative hypothesis.
- method{‘f’}, optional
Only ‘f’ is available. Calculates the power directly from the F distribution.
- Returns: