
Last chance! 50% off unlimited learning
Sale ends in
Function to calculate w = nu(eta) given eta for identity link
nu_identity_self(x)
A numeric vector representing the diagonal elements of the W matrix (nu(eta)).
Numeric vector of eta, eta = X*beta.
eta = c(1,2,3,4)
nu_identity_self(eta)
Run the code above in your browser using DataLab