Description Usage Arguments Details Value Note Author(s) References See Also Examples
Transform both side a nonlinear regression model by cholesky decomposition of covariance matrix of errors. The new transformed model has constant variance and uncorrelated errors.
transform
: Transform using rm
matrix
transforminv
: Inverse transform using inverse of rm
matrix
1 | transformNR(value, rm)
|
value |
Numeric value with (n by p) |
rm |
Matrix for transforming. In nonlinear regression if covaraince matrix of error represent by σ ^2 V, |
If errors of a nonlinear regression is Autocorrelated or heteroscedastic, the model can be transformed to uncorrelated and homoscedastic using cholesky decomposition.
transformNR
: Multiply by rm
matrix, create standardized model.
transforminv
: Multiply by inverse of rm
matrix, create heteroscedastic or autocorrelated model.
Transformed values including (n by p) "gradient"
and (three dimentional n by p by p) "hessian"
attributes.
For transfering a nonlinear regression model both side should be transformed. In nlr
package generalized nonlinear model use this transformation.
This function call by nlr
, for compatibility it is better to call from nlr
rather than directly by user.
Hossein Riazoshams, May 2014. 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.
Seber, G., A. F. and Wild, C. J. (2003). Nonlinear Regression. New York: John Wiley & Sons, Inc.
1 2 3 4 5 6 | ##---- Should be DIRECTLY executable !! ----
##-- ==> Define data, use random,
##-- or do help(data=index) for the standard data sets.
## The function is currently defined as
"transformNR"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.