Description Usage Arguments Details Value Note Author(s) References See Also Examples
Parameters estimates by robust MM-estimate by minimizing the sum of robust rho function, using Levenberg-Marquardt algorithm.
1 2 3 |
formula |
nl.form object of the nonlinear function model. See |
data |
list of data with the response and predictor as name of variable. In heterogeneous case if it include response variable values of heterogenous variance function it asume variance function is function of predictor H(x_i,τ), otherwise it assume is a function of predictor H(f(x_i,θ),τ). |
start |
list of starting value parameter, name of parameters must be represented as names of variable in the list. |
robfunc |
nl.form object of robust function used for downgrading. |
control |
nlr.control object, include tolerance, maxiter,... see |
vm |
optional covariance matrix of residuals, used for nonlinear generalized M-estimate. |
rm |
optional correlation matrix, used for nonlinear generalized M-estimate. rm is correlation matrix of vm, thus only vm is enough to be given. It can be given by user also but not necessary automatically will be calculated by argument eiginv(t(chol(vm))). |
... |
any other argument passed to formula, robfnc, or optimization function. |
This function is mixture of Levenberg Marquardt, Newton and Steepest descent, is derivative base optimization method. It is used to minimize the robust loss function using ρ function. This method is very fast and used for when the gradient of colaborating functions exists.
Due to wrong effect of outlier in creating singularity in hessian matrix the levenberg Marquardt is used to remedy the effect.
result is object of nl.fitt.rob (nonlinear fitt robust) for homogeneous variance, and nl.fitt.rgn for heterogeneous and autocorrelated error (nonlinear fitt robust generalized), see nl.fitt.rgn object detail.
parameters |
nonlinear regression parameter estimate of θ. |
correlation |
of fited model. |
form |
|
response |
computed response. |
predictor |
computed (right side of formula) at estimated parameter with gradient and hessian attributes. |
curvature |
list of curvatures, see |
history |
matrix of convergence history, collumns include: convergence index, parameters, minimized objective function, convergence criterion values, or other values. These values will be used in |
method |
|
data |
list of called data. |
sourcefnc |
Object of class |
Fault |
|
htheta |
robust loss value including gradient and hessain attributes. |
rho |
computed robust rho function, including gradient and hessain attributes. |
ri |
estimated residuals, including gradient and hessain attributes. |
curvrob |
curvature |
robform |
|
if vm
is not NULL the nl.fitt.rgn include following extra slots:
vm |
covariance matrix, diagonal of variance model predicted values. |
rm |
cholesky decomposition of vm. |
gresponse |
transformed of response by rm, include gradinet and hessian attributes. |
gpredictor |
transformed of predictor by rm, include gradinet and hessian attributes. |
starting values start
it must contains initial value for 'sigma'.
The nlmest.NLM
function is more developed form of this function, but still there are some situations that current function might be used.
nlr
package for estimating robust MM, try to acheive the optimization convergence using nlmest.NLM
or nlmest.WF
or nlmest.LM
, either of them that does not attain convergence other method might be used.
This function is called from nlr
, for compatibility it is more efficient to be called by nlr
than callind directly.
Hossein Riazoshams, Jan 2010. 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.
nlmest.WF
, nlmest.NLM
, nl.form
, nl.fitt.rob
, nl.fitt.rgn
, nlr.control
1 2 | ## The function is currently defined as
"nlmest.LM"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.