'Heckman procedure on a complex survey data in R
Any idea on how to run the Heckman correction on a complex survey data in R?
I've tried doing it manually, but no success so far...
For the first stage I ran the svyglm() function from the survey package which works well and I was able to estimate the probit model . However, for the second stage I'm having trouble including the predicted inverse Mills ratio (λ) in the svyglm() function.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
