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