Description Usage Arguments Value Examples
View source: R/Check.exp.tilt.R
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)
1 | Check.exp.tilt(Z, S)
|
Z |
True disease status (No disease / treatment success coded as Z=0, diseased / treatment failure coded as Z=1). |
S |
Risk score. |
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).
1 2 3 4 | d = Simdata
Z = d$Z # True Disease Status
S = d$S # Risk Score
Check.exp.tilt( Z, S)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.