L2 penalized logistic regression with a stepwise variable