trap quasi-complete separation
Posted: Sun Mar 16, 2014 4:24 am
Hi!
I wonder whether it is possible to trap the quasi-complete separation problem in a program which includes estimating a binary response model. In other words, before the program stops and shows the error message "Quasi-complete separation ...", I'd rather be informed about that case and skip the estimation and/or switch to (sub-optimal) LS (but better than nothing). Ideally, I'd like to gain access to the string in the error message which states which variable perfectly predicts the binary response. In that case I'd be able to drop that variable from the model and re-estimate it (automatically).
Thanks a lot!
~~Alois
I wonder whether it is possible to trap the quasi-complete separation problem in a program which includes estimating a binary response model. In other words, before the program stops and shows the error message "Quasi-complete separation ...", I'd rather be informed about that case and skip the estimation and/or switch to (sub-optimal) LS (but better than nothing). Ideally, I'd like to gain access to the string in the error message which states which variable perfectly predicts the binary response. In that case I'd be able to drop that variable from the model and re-estimate it (automatically).
Thanks a lot!
~~Alois