Re: [R] Error using betareg

2011-06-24 Thread oyvfos
Thanks, that solves/explaines the problem. It occured when running regressions on subsets where some levels even hade zero observations. Didn't check that. Oyvind -- View this message in context: http://r.789695.n4.nabble.com/Error-using-betareg-tp3621955p3622614.html Sent from the R help maili

Re: [R] Error using betareg

2011-06-24 Thread oyvfos
The replication of the error did not "suceed" because I forgot to tell that X2 is a factor. Sorry about that. For instance: d[,3]=as.factor(d[,3]) This piece is just a small sample of a larger error for which I encouneter this error many times. Thanks -- View this message in context: http://r.

[R] Error using betareg

2011-06-24 Thread oyvfos
Dear all, I get an error using betrag on this data set :http://dl.dropbox.com/u/1866110/dump.csv. I run it like this regression f2.1=betareg(Y~X1+X2,data=dump) summary(f2.1) I get : Call: betareg(formula = Y ~ X1 + X2, data = dump) Standardized weighted residuals 2: Error in quantile.default(x$