nl.MLE: Nonlinear MLE

Description Usage Arguments Details Value Note Author(s) References See Also Examples

View source: R/nl_MLE.R

Description

MLE estimate of a nonlinear function. with hetro variance model function, and weights.

Usage

1
2
3
4
nl.MLE(formula, data, start = getInitial(formula, data), vm = NULL, 
rm = solve(t(chol(vm))), 
control =nlr.control(derivfree = T), 
varmodel = NULL, tau = varmodel$par, ...)

Arguments

formula

nl.form object of the nonlinear function model.

data

list of data include responce and predictor.

start

list of parameter values of nonlinear model function (θ.

vm

optional covariance matrix.

rm

optional cholesky decomposition of covariance matrix.

control

list of nlr.control for controling convergence criterions. Defaul value of derivfree is "True", force function to use derivative free methods. But it can be "False" to use derivative based, has faster convergence.

varmodel

nl.fomr object of variance function model for heteroscedastic variance.

tau

list of initial values for variance model function varmodel argument.

...

extra arguments to nonlinear regression model, heteroscedastic variance function, robust loss function or its tuning constants.

Details

Calculate Maximum Likelihood estimate in several sitautions, if varmodel is given the hetroscedastic variance consider. If vm or rm is given, weighted is computing.

Value

Depending given options different fitt object will result as follow

Note

The objective function used in nl.robhetroWM is general form of Likelihood, thus it can generate Least Square estimate using quadratic function, which can be accessed in nl.robfuncs[["least square"]] variable. It can include parameteric variance function also. Due to compatibility it is beter to be called from nlr function rather than direct call by user.

Author(s)

Hossein Riazoshams, May 2014. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/

References

Riazoshams, H,. 2010. Outlier detection and robust estimation methods for nonlinear regression having autocorrelated and heteroscedastic errors. PhD thesis disertation, University Putra Malaysia.

Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.

See Also

nlsqr.gn, nl.robhetroWM,nl.fitt, nl.fitt.gn, nlsnm, nlsqr, nlr.control

Examples

1
2
## The function is currently defined as
"nl.MLE"

nlr documentation built on July 31, 2019, 5:09 p.m.

Related to nl.MLE in nlr...