Cannot Save the Matched Sample after matchit(): Error in cbind_all(x) : Argument 2 must have names
问题 I used the matchit() and Method="nearest" . But when I try to save the output into a data.frame by match.data() , the error shows up: Error in cbind_all(x) : Argument 2 must have names. My Code: a = matchit(Y ~ Year + IndustryCode + ROA + Debt, data=data, method="nearest", ratio=1) b = match.data(a) Year variable = 2003, 2004 etc. IndustryCode = A02, A21 etc. other variables are numeric. Those are the warnings after matchit() : Warning messages: 1: glm.fit: fitted probabilities numerically 0