Dear all,
I am happy to announce that ivcloglog has been updated to v2.0.0. Below is a list of all the changes:
Original thread: https://www.statalist.org/forums/for...ous-covariates
References:
I am happy to announce that ivcloglog has been updated to v2.0.0. Below is a list of all the changes:
- Endogenous variables no longer have to be first-stage dependent variables.
- The option endogenous() is now used to specify the names of the endogenous variables if any of them are not the same as the first-stage dependent variables and are instead functions of the first-stage dependent variables.
- The original endogenous()option has been renamed to auxiliary(); use this to specify the first-stage (i.e., auxiliary) dependent variables.
- Replay functionality: previous estimation output is replayed after inputting "ivcloglog".
- Modified output for improved clarity.
- Minimum version of Stata has been changed to be version 11 instead of version 14
- Bug fixes and minor tweaks.
underwater := 1(LTV>100%).If underwater is an endogenous variable, the fact that it is a discrete variable could be problematic. Instrumenting a discrete variable in a nonlinear model necessarily requires a nonlinear first stage for validity, necessitating strong assumptions than using a linear first stage (Wooldridge, 2015). However, if LTV is an observed variable, then we can avoid instrumenting underwater. We can instrument LTV instead because the resulting control function terms will still be a valid control function for underwater by virtue of the fact that underwater is a function of LTV (Liu, 2023). Doing this allows for increased robustness by avoiding unnecessary assumptions.
Original thread: https://www.statalist.org/forums/for...ous-covariates
References:
- Liu, W. (2023) A theory guide: Instrumenting a discrete-data proportional hazards model with control functions. Working Paper. (Will be available on arXiv in the future.)
- Wooldridge, J. M. (2015). Control function methods in applied econometrics. Journal of Human Resources, 50(2), 420-445.