attenuate_xb: Return marginal expectation with attenuation
Description
The marginal expectation may be better approximated using an attenuation
scheme in non-linear models. This function returns the attenuated linear predictor.
Used internally.
Usage
attenuate_xb(xb, Z, D, link)
Arguments
- xb
Vector of values of the linear predictor
- Z
Random effects design matrix
- D
Covariance matrix of the random effects
- link
String specifying the link function