| predict.glmmPQL {MASS} | R Documentation |
Obtains predictions from a fitted generalized linear model with random effects.
## S3 method for class 'glmmPQL':
predict(object, newdata = NULL, type = c("l suign matrix be returned?
y
should the response be returned?
contrasts
a list of contrasts to be used for some or all of factor terms in the
formula. See the contrasts.arg of model.matrix.default.
...
additional arguments to lm.fit.
Details
If an intercept is present in the model, its coefficient is not
penalized. (If you want to penalized an intercept, put in your own
constant term and remove the intercept.)
Value
A list with components
coef |
matrix of coefficients, one row for each value of lambda.
Note that these are not on the original scale and are for use by the
coef method.
|
scales |
scalings used on the X matrix. |
Inter |
was intercept included? |
lambda |
vector of lambda values |
ym |
mean of y
|
xm |
column means of x matrix
|
GCV |
vector of GCV values |
kHKB |
HKB estimate of the ridge constant. |
kLW |
L-W estimate of the ridge constant. |
Brown, P. J. (1994) Measurement, Regression and Calibration Oxford.
data(longley) # not the