Description Usage Format Details Source References Examples
List of nl.form objects of 7 pre defined robust loss functions. Robust loss functions used for robust estimating parameters. They can be used in several part of the package functions.
1 |
The format is: list nl.robfuncs[index]
nl.robfuncs[1]:
huber function.
nl.robfuncs[2]:
hampel function.
nl.robfuncs[3]:
bisquare function.
nl.robfuncs[4]:
andrew function.
nl.robfuncs[5]:
halph huber function.
nl.robfuncs[6]:
hampel 2 function.
nl.robfuncs[7]:
least square (quadratic) function.
Each of loss functions include tuning parameters as extra argument to nl.form
. The result is the computed loss function with attributes of "gradient", "hessian", "weights". the object are mostly stored in fnc slot which is function, it can be called directly as a function.
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.
1 2 3 4 5 6 | data(nl.robfuncs)
## maybe str(nl.robfuncs) ; plot(nl.robfuncs) ...
## the object are mostly stored in fnc slot which is function, it can be called
## directly as a function.
plot(seq(-6,6,length.out=30),nl.robfuncs[[1]]$fnc(seq(-6,6,length.out=30)),type="l",
xlab="t",ylab="rho",main=nl.robfuncs[[1]]$name)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.