findCutoffs {TCPMOR}R Documentation

Finding the two cut-off points

Description

Finding the two cut-off points

Usage

findCutoffs(spm.fit, dataC)

Arguments

spm.fit

Fitted semi-parametric model object

dataC

Data frame containing age and binary outcome variables

Value

Data frame containing age, fitted lnOR, OR, se, sp, sse, and ssp

Examples

# Generate simulated data dataC
dataC <- createData(200)

# Fit the semi-parametric model
spm.fit <- fitSemiParamModel(dataC)

# Find two cut-off points
dataC <- findCutoffs(spm.fit, dataC)

[Package TCPMOR version 1.0 Index]