I am having problems using the betareg package. When I try to run the model m1, the model does not converge. However, when I round y to 8 digits, it works well (127 iterations). See below for the code. Does anybody know why this tiny change as such a big influence on the model?
See code below.
Thanks a lot!
#install.packages("betareg", dependencies=TRUE)
library(betareg)
data <- data.frame("x" = c(194, 194, 194,  73,  73,  73, 105, 105, 105, 222, 222, 222,   0,   0,   0,   0,   0,   0),
                   "y" = c(0.9717500000, 0.9191161111, 0.9456172222, 0.0464116667, 0.0413683333, 0.034105555, 0.9178222222, 0.9661872222, 0.9619844444,
                           0.9576777778, 0.9710794444, 0.9562516667, 0.0277777778, 0.0277777778, 0.0277777778, 0.0277777778, 0.0277777778, 0.0277777778))
library(betareg)
m1 <-  betareg(formula = y ~ x, data = data, link = "cauchit", type = "ML")
m2 <-  betareg(formula = round(y,8) ~ x, data = data, link = "cauchit", type = "ML")