Description Usage Arguments Details Value Author(s) References See Also Examples
The function creates a plot from the results of the function nPV
.
1 |
x |
an object of class |
NPVlty |
single integer value, the linetype for NPV sample size, see |
PPVlty |
single integer value, the linetype for PPV sample size, see |
... |
further arguments to be passed to |
Required sample sizes for different experimental settings and prevalences, needed to achieve a prespecified power can be calculated in dependence of the proportion of true negative and true positive compounds in the validation set, using function nPV
. This function draws a plot with the proportion of true positives on x and the total sample size on y, combining all parameter settings in one plot.
Note that for huge numbers of setting this should not work.
A plot.
Frank Schaarschmidt
Steinberg DM, Fine J, Chappell R (2009). Sample size for positive and negaitive predictiove value in diagnostic research using case-control designs. Biostatoistics 10, 1, 94-105.
plotnPV
, for sample sizes for several settings in one figure
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.