Description Usage Arguments Details Examples

Compares models for a continuous response with a cut-off value.

1 | ```
.test(y, cutoff, X, alpha = 1, type.measure = "deviance")
``` |

`y` |
continuous outcome |

`cutoff` |
cut-off point for dichotomising outcome into classes |

`X` |
features |

`alpha` |
elastic net mixing parameter |

`type.measure` |
loss function for binary classification |

Splits samples into *80* percent for training
and *20* percent for testing,
calculates squared deviance residuals of logistic and combined regression,
conducts the paired one-sided Wilcoxon signed rank test,
and returns the *p*-value.
For the multi-split test,
use the median *p*-value from *50* single-split tests
(van de Wiel 2009).

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.