loss2 | R Documentation |
Compute composite loss value
loss2(y, f, weights, cfun, dfun, s, delta=0.0001)
y |
response variable values |
f |
linear predictor values of |
weights |
observation weights, same length as |
cfun |
integer from 1-8, concave function as in |
dfun |
integer from 1-7, convex function as in |
s |
tuning parameter of |
delta |
a small positive number provided by user only if |
An internal function. For large s
values, the loss can be 0 with cfun=2,3,4
, or "acave", "bcave", "ccave".
Weighted loss values
Zhu Wang <wangz1@uthscsa.edu>
Zhu Wang (2020) Unified Robust Estimation, arXiv e-prints, https://arxiv.org/abs/2010.02848
loss3
ccglm
ccglmreg
loss2_ccsvm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.