Description Usage Format Details Examples
A simulated dataset containing true disease status and risk score. See details for simulation setting.
1 |
A data frame with 8000 simulated observations on the following 2 variables.
Z
True disease status (No disease / treatment success coded as Z=0, diseased / treatment failure coded as Z=1).
S
Risk score. Higher risk score indicates larger tendency of diseased / treatment failure.
We first simulate viral status Z assuming Z\sim Bernoulli(p) with p=0.25; and then conditional on Z, simulate {S|Z=z}=ceiling(W) with W\sim Gamma(η_z,κ_z) where η and κ are shape and scale parameters.(η0,κ0)=(2.3,80) and (η1,κ1)=(9.2,62).
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.