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