Check.exp.tilt: Check exponential tilt model assumption

Description Usage Arguments Value Examples

View source: R/Check.exp.tilt.R

Description

This function provides graphical assessment to the suitability of the exponential tilt model for risk score in finding optimal tripartite rules by semiparametric approach.

g1(s)=exp(\tilde{β}_{0}+β_{1}*s)*g0(s)

Usage

1

Arguments

Z

True disease status (No disease / treatment success coded as Z=0, diseased / treatment failure coded as Z=1).

S

Risk score.

Value

Plot of empirical density for risk score S, joint empirical density for (S,Z=1) and (S,Z=0), and the density under the exponential tilt model assumption for (S,Z=1) and (S,Z=0).

Examples

1
2
3
4
d = Simdata
Z = d$Z # True Disease Status
S = d$S # Risk Score
Check.exp.tilt( Z, S)

yizhenxu/TVLT documentation built on Nov. 27, 2020, 2:37 a.m.