You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ENH: power for poisson 2indep, more options, e.g. diff with nonzero value, Gu and others #8303
#8251 similar issue for proportion
followup to #8166 #8138 general issue for rates, poisson
The power functions in PR #8166 do not cover compare and methods systematically.
It currently includes Zhu and Lakkis for ratio, and basic equality test for diff.
Also there is no support yet for different exposures in the two samples. Zhu and Lakkis use average exposure for power and sample size computation.
(more important for NegBin than Poisson)
Basic extension as in #8251 is to add value to power for diff.
e.g. Stucke and Kieser 2013
which just looks like an extension of the current power-diff function.
one-tail sample size function equivalent of samplesize_proportions_2indep_onetail are also missing
e.g. Stucke, Kieser equ (5) and (6)
Others:
PASS also has power function for tests by Gu et al for ratio which would match test_poisson_2indep more closely.
related: #8166 also does not include power function for 1-sample case
Activity
josef-pkt commentedon Oct 30, 2024
docstring mistake
power_equivalence_poisson_2indep docstring describes "alternative" option, but it is not available in function