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

An ambiguous region bounded by two cutpoint #62

Open
jwang-lilly opened this issue Sep 5, 2023 · 1 comment
Open

An ambiguous region bounded by two cutpoint #62

jwang-lilly opened this issue Sep 5, 2023 · 1 comment

Comments

@jwang-lilly
Copy link

jwang-lilly commented Sep 5, 2023

Hi Christian:

When developing a diagnostic test, it is common to have three regions: eg high confident negative, ambiguous, and high confident positive. Two cutpoints cp1 and cp2 would accomplish this. Cutpointr current only accepts one cp as: method = oc_manual, cutpoint = cp. I ended up preparing two data, data1 includes only the ambiguous middle and data2 without those falling in the middle region.

It would be great if cutpointr could support something like:

opt_cut <- cutpointr(data=suicide, x=age, class=suicide,
direction = ">=", pos_class = "yes", neg_class = "no",
method = oc_manual, cutpoint = c(30, 40))

@PrionMike
Copy link

Hi Christian and jwang-lilly. I too am very interested in this question. Recognizing that it would require considerable developmental work, it seems to me that cutpointr would be even better if it could help tackle this common problem. Some good progress has already been made to develop R functionality -- for an additional example, see https://www.mdpi.com/2075-4418/8/2/32.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants