powered by
function to calculate w = nu(eta) given eta for cauchit link
nu_cauchit_self(x)
diagonal element of W matrix which is nu(eta)
a list of eta - X*beta
eta = c(1,2,3,4) nu_cauchit_self(eta)
Run the code above in your browser using DataLab