simulateAUC | R Documentation |
Simulate data with a specified area under the receiver operating characteristic curve—i.e., the AUC of an ROC curve.
simulateAUC(auc, n)
auc |
The area under the receiver operating characteristic (ROC) curve. |
n |
The number of observations to simulate. |
Simulates data with a specified area under the receiver operating characteristic curve—i.e., the AUC of an ROC curve.
Dataframe with two columns:
x
is the predictor variable.
y
is the dichotomous criterion variable.
https://stats.stackexchange.com/questions/422926/generate-synthetic-data-given-auc/424213
Other simulation:
complement()
,
simulateIndirectEffect()
simulateAUC(.60, 50000)
simulateAUC(.70, 50000)
simulateAUC(.80, 50000)
simulateAUC(.90, 50000)
simulateAUC(.95, 50000)
simulateAUC(.99, 50000)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.