Description Usage Arguments Value Examples
Make two samples from the diseased and healthy populations.
1 2 3 4 5 6 7 8 | GenerateData(
distribution,
n,
AUC,
theta_squared,
var_eq = TRUE,
ME_var_ratio = 1
)
|
distribution |
One of the following strings : "normal", "gamma.skewed", "gamma.symmetrical", "log.normal","bimodal1","bimodal2" ,"t3" , "laplace" |
n |
an integer - sample size from each population |
AUC |
the probability P(X>Y) of correctly ranking a pair of random observations (diseased,healthy). |
theta_squared |
the contamination parameter, aka noise-to-signal ratio. |
var_eq |
if TRUE VX=VY, else VX=2VY (b=1,2 in Ben's notation) |
ME_var_ratio |
(default to 1) determines the ratio of diseased/healthy ME variance (a in Ben's notation) |
a list with of the contaminated observations, by population
1 | GenerateData("gamma.skewed",15,0.9,1,TRUE,1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.