Skip to content

ENH: power for poisson 2indep, more options, e.g. diff with nonzero value, Gu and others #8303

Open

Description

@josef-pkt

#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

  1. added this to the 0.14 milestone on Jun 10, 2022
  2. josef-pkt commented on Oct 30, 2024

    @josef-pkt
    MemberAuthor

    docstring mistake

    power_equivalence_poisson_2indep docstring describes "alternative" option, but it is not available in function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions