Description Usage Arguments Details Value Note Author(s) References See Also Examples
This function used in nlsnm
function to compute the least square estimate using derivative free Nelder-Mead algorithm.
1 |
formula |
|
data |
list of data include responce and predictor. |
start |
list of parameter values of nonlinear model function (θ in f(x,θ)), initial values or increament during optimization procedure. |
vm |
optional covariance matrix. |
rm |
optional cholesky decomposition of covariance matrix. |
... |
any other arguments might be used in formula, robfunc or tuning constants in rho function. |
loss.SSQ
compute the sum of square of residuals, it is optimized to be used in nlsnm
function, since optimization method Nelder-Mead is derivative free the result does not include derivatives.
result <- list(value = value,correlation=correlation,fmod=fmod)
list values:
value |
sum of squared residuals. |
correlation |
correlation of model |
fmod |
computed function (transformed by R) contains esponse and or its gradient and hessian predictor and or its gradient & hessian, transformed also by R. |
If required to compute square loss function include can use nl.robfuncs[7]
, see nl.robfuncs
.
This is implemented for internal use, might not be called directly by user.
Hossein Riazoshams, May 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/
Robust Nonlinear Regression, Theories and Methods with Practical Guides for R Packages. Riazoshams et al.
1 2 | ## The function is currently defined as
"loss.SSQ"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.