Displaying 1 result from an estimated 1 matches for "sslogis2".
Did you mean:
sslogis
2012 Jun 13
0
logistic Regression with SSlogis but y == 0 ?!
...0
values. That works fine, but the Regressioncoefficiants differ to the
original ones a bit. Sometimes this is problematic.
So I wonder if it is possible to copy the code of SSlogis and rewrite the
failing passage. I found this passage, but I dont have any Idea, where and
how to create a new "SSlogis2".
I guess this part of one SSlogis function causes the errormessage:
z <- xy[["y"]]
if (min(z) <= 0) {
z <- z - 1.05 * min(z)
}
z <- z/(1.05 * max(z))
xy[["z"]] <- log(z/(1 - z))
aux <- coef(lm(x ~ z, xy))
--
View this messag...