Re: [R] Problem with effects package

2012-04-11 Thread John Fox
Dear Michael, >From ?effect (under "Warnings and Limitations"): "Binomial generalized linear models cannot have a matrix of successes and failures on the left-hand side of the model formula; instead specify the proportion of successes (i.e., successes/(successes + failures)) as the response, a

Re: [R] Problem with effects package

2011-07-30 Thread Lars Bishop
look into it when > I have a chance. > > Finally, there really is no advantage to making an effect display for a > model with a single predictor, though perhaps this isn't what you were doing > in your actual application. > > Best, >  John > >> -Original Messa

Re: [R] Problem with effects package

2011-07-30 Thread John Fox
dictor, though perhaps this isn't what you were doing in your actual application. Best, John > -Original Message----- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] > On Behalf Of Lars Bishop > Sent: July-30-11 4:30 PM > To: jim holtman; r-help@

Re: [R] Problem with effects package

2011-07-30 Thread Lars Bishop
ok. Here's an example: R version 2.11.1 effects_2.0-10 var1 <- c(25631.9392, 2521.2590, 6656.6516, 1362.5997, 6369.9818, 27253.4223, 2073.1909, 9959.3792, 3318.2500, 15323.8103, 11583.8717, 3054.5558, 625.6597, 2500., 11996.2271) var2 <- as.factor(c("B:=500", "B:=500", "B:=5

Re: [R] Problem with effects package

2011-07-30 Thread Jeff Newmiller
Not with a description like that. You need to make a reproducible example. Try using head () or subset to make a smaller data set. Provide the data (using e.g. dput()). Provide the commands that trigger the errors. Who knows... you might even see the issue yourself then.

Re: [R] Problem with effects package

2011-07-30 Thread John Fox
Dear Lars, There's not nearly enough information here to know what's wrong. I can guess (but shouldn't have to) that the model glm.sev1 is a generalized linear model of some sort, probably fit by glm(). At a minimum, it would help to know what command you used to fit the model, the history of comm