dLambdadSM {ssmrob} | R Documentation |
Inverse Mills Ratio Derivative
Description
Computes a derivative of the inverse Mills ratio with respect to the parameter vector.
Usage
dLambdadSM(x, beta)
Arguments
x |
vector of exogenous variables |
beta |
vector of parameters |
Details
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 be also used to compute the influence function of the two-stage estimator.
Value
The gradient of the inverse Mills ratio is returned as a vector
Author(s)
Mikhail Zhelonkin, Marc G. Genton, Elvezio Ronchetti
References
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.
[Package ssmrob version 1.0 Index]