请问一下,在做logistic regression 的时候,反应变量是0表示“success”还是“1”表“success”
If the response is a vector, it is treated as a binary factor with the first level representing "success" and all others representing "failure". In this case R generates a vector of ones to represent the binomial denominators. (
http://data.princeton.edu/R/glms.html) 这句话不知道如何去理解,谢谢!