Computes a derivative of the inverse Mills ratio with respect to the parameter vector.
vector of exogenous variables
vector of parameters
This function is necessary for computation of the asymptotic variance. In case of switching regressions the inverse Mills ratio term is different, and its derivative is computed in function
dLambdadSM5. It can also be used to compute the influence function of the two-stage estimator.
The gradient of the inverse Mills ratio is returned as a vector
Mikhail Zhelonkin, Marc G. Genton, Elvezio Ronchetti
Zhelonkin, M., Genton M.G., and Ronchetti, E. (2016) Robust Inference in Sample Selection Models. Journal of the Royal Statistical Society, Series B, 78, p. 805-827.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.