Skip to content

ENH: power for continuous equivalence tests z-tost and t-tost #9667

Open

Description

@josef-pkt

AFAICS, we don't have ttost power or ztost power for functions in weightstats

power for ztost for proportion is available.
also newer cases like oneway and rank_compare have power for equivalence tests

browsing parts of

Chow, Shein-Chung, and Jen-pei Liu. 2008. Design and Analysis of Bioavailability and Bioequivalence Studies. 3rd ed. Chapman and Hall/CRC. https://doi.org/10.1201/9781420011678.

not clear to me (based on partial skimming)
p. 156 asymmetric alternative (or null?)

Where is the alternative in the equivalence interval?
I mostly used the center of the equ. interval.
However, it looks like that's the highest power case (with symmetric distribution of test statistic)
If alternative is closer to an equivalence boundary, then the power is smaller and the required sample size is larger.

I'm not sure I paid attention to this before.

In analogy to point test, we would have minimum detectable effect/difference for given power and sample size.
That might be empty in equivalence testing.
(Currently we raise if chosen alternative point cannot be reached at desired power)

We could plot power as function of alternative in interval (linspace

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

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions