Description Usage Arguments Details Value Note Author(s) References See Also Examples
Compute Robust Sample variance for dependent variable. For repeated response the sample Mead Absolute Deviance (MAD) of predictor compute over a cross section of predictor, for non repeated data sample variance of response computed by difference of residuals of consequetive values.
1 | rzvalues(res, ni, xo)
|
res |
The data to compute variance for. In most of application it is residuals of fitt. |
ni |
vector of bumber of repeated data. It can be output from |
xo |
Position of the repeated data in original vector. |
Typically it is used to compute the robust variance of residuals output from nonrepl
function.
vector of robust sample variance.
This is robustified form of sample variance function zvalues
.
Hossein Riazoshams, Jan 2010. Email: riazihosein@gmail.com URL http://www.riazoshams.com/nlr/
Riazoshams, H. (2012), Robustifying the Least Squares estimate of parameters of variance model function in nonlinear regression with heteroscedastic variance, Poster Presentation, Royal Statistical Society Conference (RSS) 2012, Telford, UK.
Riazoshams H, Midi H, and Ghilagaber G, 2018,. Robust Nonlinear Regression, with Application using R, Joh Wiley and Sons.
1 2 | ## The function is currently defined as
"rzvalues"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.