jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Feature Request]: Youden's J point #2966

Open aboyle57 opened 1 month ago

aboyle57 commented 1 month ago

Description

Functionality to calculate Youden's J point in data to identify the optimal value of a biomarker to predict a binary outcome

Purpose

No response

Use-case

Evaluating biomarker performance (as a threshold) in predicting mortality

Is your feature request related to a problem?

No response

Is your feature request related to a JASP module?

Learn Bayes

Describe the solution you would like

An option to automatically calculate Youden's J point

Describe alternatives that you have considered

No response

Additional context

No response

tomtomme commented 1 month ago

@aboyle57 thx for the request. Is this something for the logistic regression or binomial test (binary outcome)? Can you add details / papers / R-Packages?

aboyle57 commented 1 month ago

@tomtomme Thanks Thomas. The package that's been used in R is pROC. https://cran.r-project.org/web/packages/pROC/pROC.pdf

Does that help? It has script for Youden index within it.

tomtomme commented 1 month ago

@aboyle57 Thx. I see, this is then for the binary classification module, as you requested. The paper is certainly helpful.

aboyle57 commented 1 month ago

@tomtomme Great. Do you think it's something that could be incorporated? It would be a neat addition to the ROC curve section.

I tried to run the R script in the R module within JASP but I couldn't get it to work, presumably because that functionality doesn't exist!