Description Usage Arguments Details Value Note Author(s) References See Also Examples
Least Median of square estimate is robust fitt by minimizing the median of squared residuals. This function use the "ga" function,from "GA" package, which minimize using genetic algorithm method.
1 |
formula |
|
data |
list of data include responce and predictor. |
start |
list of parameter values of nonlinear model function (θ. in f(x,θ)). |
min |
vector of minimum values of parameters, which passes to "ga" function. |
max |
vector of maximum values of parameters, which passes to "ga" function. |
type |
the type of genetic algorithm to be run, which passes to "ga" function. |
Note that due to using genetic algorithm method, this function is mor efficient than nl.lmsNM
, but estimator due to non uniqueness of minimum of objective function is not efficient, but is high breakdown estimate.
list of parameter estimates.
When that function is not working properly, nl.lmsNM
function can be used, but requires more precise initial values. These function uses by nlr
for initial purposes. User can request least median square as initial value from nlr.control
argument by initials="lms"
method, nlr use nl.lmsGA
not nl.lmsNM
.
Hossein Riazoshams, May 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.