Description Usage Arguments Value Author(s) References See Also Examples
poissonL2T
is used to fit generalized linear models by MT
method with L2 rho function. The model is specified by the
x
and y
components. Since the L2 rho function is
used the method is not robust.
1 2 |
x |
design matrix of dimension n * p. |
y |
vector of observations of length |
start |
starting values for the parameters in the linear predictor. |
tol |
convergence tolerance for the parameter vector. |
maxit |
integer specifying the maximum number of IRWLS iterations. |
m.approx |
a function that return the value, for each linear predictor, that
makes the estimating equation Fisher consistent. If |
mprime.approx |
a function that return the value, for each linear predictor,
corresponding to the first derivative of |
na.to.zero |
logical, should the eventual |
A vector with the estimated coefficients.
Claudio Agostinelli, Marina Valdora and Victor J. Yohai
C. Agostinelli, M. Valdora and V.J Yohai (2018) Initial Robust Estimation in Generalized Linear Models with a Large Number of Covariates. Submitted.
M. Valdora and V.J. Yohai (2014) Robust estimators for generalized linear models. Journal of Statistical Planning and Inference, 146, 31-48.
1 2 3 4 | data(epilepsy)
x <- model.matrix( ~ Age10 + Base4*Trt, data=epilepsy)
poissonMTsetwd(tempdir())
Efit4 <- poissonL2T(x=x, y=epilepsy$Ysum)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.