Description Usage Arguments Details Value Author(s) Examples
ROC curve areas, variances, and p-values for datasets in which each case has a collection of matching controls.
1 2 |
response |
logical vector identifying cases or character
vector or factor vector with “insertion” marking the
cases. Alternatively, a factor or character vector with
elements matching |
stratum |
a vector of |
variables |
numeric a |
origin |
|
origin.levels |
optional character vector of origin levels |
ragged.OK |
logical - |
When data are collected under a scheme in which matched controls
are used to allow for biased selection and every case has k
controls, the ROC area is estimated as the average fraction of
controls whose variable value is less than that of its reference
case. Variances are computed from the usual sample variance
divided by the number of cases. It is the responsiibility of the
caller to remove NA
values from the arguments.
list
with elements ‘ROC’ giving a matrix of
ROC curve areas, ‘var’ giving a list of variance
matrices, and ‘pvalues’ giving a list of matrices
containing pvalues for various contrasts.
Charles Berry
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.