ellessenne/rsimsum

Passing a column of p-values for calculating power

ellessenne opened this issue · 1 comments

Suggested by @Kaladani (in #33):

I'm glad I could help.
As an idea for the the next update (post 0.1.0) you might want to consider to allow to add a column of p-values by the user.
This way, power could be calculated even if the model is using neither z- nor t-test.
This might be particularly useful to allow for e.g. rejection rate of model fit and comparison tests.
It would also align stronger to Morris et. a. 2019 definition of power/rejection estimation.

Another thing that could be implemented, closely related to this, is passing repetition-specific degrees of freedom (similarly as with coverage).

At the moment, the only argument controlling power is power_df in the control list.