objective.Rd
objective
computes the objective of the L2E regression in terms of eta
objective(eta, r, method = "mean")
eta | The current estimate of eta |
---|---|
r | Vector of residuals |
method | Mean or median |
Returns the output of the objective function (scalar)