powered by
function to calculate the second derivative of nu function given eta for probit link
nu2_probit_self(x)
the second derivative of nu function for probit link
vector of eta, eta=X*beta
eta = c(1,2,3,4) nu2_probit_self(eta)
Run the code above in your browser using DataLab