逻辑回归中出现:完全分类和类完全分离的原因。
如果是拟完全分离的话,可以对那个变量不进行处理。
If it is quasi-complete separation, the easiest strategy is the "Do nothing" strategy. This is because that the maximum likelihood for other predictor variables are still valid. The drawback is that we don’t get any reasonable estimate for the variable X that actually predicts the outcome variable effectively. This strategy does not work well for the situation of complete separation.
逻辑回归:变量进入的统计学检验水平为0.05, 变量删除的统计学检验水平为0.1
> mydata <- read.csv("binary.csv")
> head(mydata)