Description Usage Arguments Details Value Examples
Studentized bootstrap test of strength of scoreFn(yValues,model1Values) > scoreFn(yValues,model1Values) sampled with replacement.
1 2 3 4 5 6 7 8 9 10 11 12 |
model1Values |
numeric array of predictions (model to test). |
model2Values |
numeric array of predictions (reference model). |
yValues |
numeric/logical array of outcomes, dependent, or truth values |
scoreFn |
function with signature scoreFn(modelValues,yValues) returning scalar numeric score. |
... |
not used, forces later arguments to be bound by name. |
na.rm |
logical, if TRUE remove NA values |
returnScores |
logical if TRUE return detailed resampledScores. |
nRep |
integer number of repititions to perform. |
parallelCluster |
optional snow-style parallel cluster. |
sameSample |
logical if TRUE use the same sample in computing both scores during bootstrap replication (else use independent samples). |
True confidence intervals are harder to get right (see "An Introduction to the Bootstrap", Bradely Efron, and Robert J. Tibshirani, Chapman & Hall/CRC, 1993.), but we will settle for simple p-value estimates.
summaries
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.