Description Usage Arguments Value
Plots ROC curve from estimated and true causal effects
1 2 | plotROCCurve(CE.gt, CE.greedy, tol = 1e-08, precision.recall = FALSE,
avg.auc = TRUE)
|
CE.gt |
List of minimal absolute causal effect matrices E (one per simulation run) for the ground truths, where (E)_i,j is the causal effect on j on i (as returned by causalEffectsSimulation) |
CE.greedy |
same for the greedy search results |
tol |
Tolerance for causal effects (everythin smaller than this will be thresholded) |
precision.recall |
Plot precision-recall instead of FPR / TPR? |
avg.auc |
If TRUE: Average of AUCs of individual curves If FALSE: AUC of averaged curves |
List of three elements: FPR - Matrix with false positive rates for each of the simulation runs (one column per run) TPR - Matrix with true positive rates for each of the simulation runs (one column per run) auc - Averaged AUC
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.