Learn R Programming

TCPMOR (version 1.0)

Two Cut-Points with Maximum Odds Ratio

Description

Enables the computation of the 'two cut-points with maximum odds ratio (OR) value method' for data analysis, particularly suited for binary classification tasks. Users can identify optimal cut-points in a continuous variable by maximizing the odds ratio while maintaining an equal risk level, useful for tasks such as medical diagnostics, risk assessment, or predictive modeling.

Copy Link

Version

Install

install.packages('TCPMOR')

Monthly Downloads

1

Version

1.0

License

MIT + file LICENSE

Maintainer

Shuo Yang

Last Published

March 25th, 2024

Functions in TCPMOR (1.0)

calculateCutoffs

Calculate data filtering results and two cutoffs for given sensitivity and specificity threshold
fitLogisticRegression

Fit a logistic regression model and return the OR and 95% confidence interval
fitSemiParamModel

Fit the data using a semi-parametric model to explore the nonlinear dose-response relationship between the independent variable and lnOR
createData

Generate simulation data
discretizeAge

Discretize the age variable according to the two cut-off points
findCutoffs

Finding the two cut-off points