plot power with number of observations or effect size on x-axis
Parameters : | dep_var : string in [‘nobs’, ‘effect_size’, ‘alpha’]
nobs : scalar or array_like
effect_size : scalar or array_like
alpha : float or array_like
ax : None or axis instance
title : string
plt_kwds : None or dict
kwds : optional keywords for power function
|
---|---|
Returns : | fig : matplotlib figure instance |
Notes
This works only for classes where the power method has effect_size, nobs and alpha as the first three arguments. If the second argument is nobs1, then the number of observations in the plot are those for the first sample. TODO: fix this for FTestPower and GofChisquarePower
TODO: maybe add line variable, if we want more than nobs and effectsize