Description Usage Arguments Details Value Note Author(s) References See Also Examples
weighted loss function is used to estimate Weighted M-estimate. It is a robustified form of Likelihood function for heteroscedastic variance case. loss.hetroWM
will be used in optimization function for estimating parameters of nonlinear function model and variance function model simultaneously.
1 | loss.hetroWM(formula, data, start, varmodel, robfunc, ...)
|
formula |
|
data |
list of data include responce, predictor or possibly predictor of variance model function (t), if not represented then the predict of nonlinear model function will be replaced in predictor variable of nonlinear variance model function that is Var(\varepsilon)=σ^2 H(f(θ),τ) |
start |
list of parameter values of nonlinear model function (θ in f(x,θ) and τ in H(x,τ)), initial values or increament during optimization procedure. |
varmodel |
|
robfunc |
|
... |
extra argument might pass to nonlinear regression, heteroscedastic functions, or tuning constant and other parameters to robust loss rho function. |
Loss function in general form have robust rho function. l(tau,theta)=sum[log(h(mu;tau,sg))] + sum[rho(ri/h(mu;tau,sg))]
result <- list (value=value,angvec=angvec,angmat=angmat, refvar=refvar,sourcefnc= match.call(), rho=robvalue,fmod=fmod,varcomp=varcomp,correlation =nlrho,ri=ri)
value |
Robustified form of log-likelihood function, use in optimize function. Include gradient and hessian attributes. |
angvec |
angular vector for checking the convergence. |
angmat |
angular matrix for checking convergence in optimization procedure. |
refvar |
refvar, sample variance ∑(wi * z) \over ∑(wi) |
sourcefnc |
Object of class |
rho |
computed robust loss rho function. Include hessian and gradients. |
fmod |
computed function contains esponse and or its gradient and hessian predictor and or its gradient & hessian |
varcomp |
computed variance function model H(t,τ), include response or predictor and their gradient and hessian depends on the defined form of nonlinear function model. |
correlation |
correlation of fitt. |
ri |
residuals |
rho function can be square function, this will produce non robust MLE or LS. This is implemented for internal use, might not be called directly by user.
Lim, C., Sen, P. K., Peddada, S. D.
Lim, C., Sen, P. K., Peddada, S. D. (2010). Statistical inference in nonlinear regression under heteroscedasticity. Sankhya B 72:202-218.
1 2 | ## The function is currently defined as
"loss.hetroWM"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.