Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to pass kappa to power.roc.curve.roc #82

xrobin opened this issue Sep 13, 2020 · 0 comments

Allow to pass kappa to power.roc.curve.roc #82

xrobin opened this issue Sep 13, 2020 · 0 comments


Copy link

xrobin commented Sep 13, 2020

This follows Sample size calculation from two ROC curves with a different ratio of cases to controls than sample data on Stack Overflow.

In power.roc.curve.roc, kappa is silently ignored if two roc curves are passed. It is always calculated from the data itself.
In addition if a single ROC curve is given, kappa is passed down to power.roc.test.numeric, but defaults to 1, instead of the ratio in the data, which is somewhat inconsistent.


  • Kappa can be changed by the user for 2 roc curve. Defaults to ratio in data.
  • Same behavior for 1 roc curve

Additional note:

  • Check if tests already exist for kappa of single ROC curve, or add them if necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant