Re: [R] warnings about factor levels dropped from predict.glm

2017-12-05 Thread Marc Schwartz
Hi, I suspect that the warning may be coming from stats::model.frame.default(), with text along the lines of: "contrasts dropped from factor YOUR.FACTOR.NAME due to missing levels" You might want to see if the student has a ~/.Rprofile file that has some modified default options regarding co

Re: [R] warnings about factor levels dropped from predict.glm

2017-12-05 Thread Bert Gunter
A guess (treat accordingly): Different BLAS versions are in use on the two different machines/versions. In one, near singularities are handled, and in the other they are not, percolating up to warnings at the R level. You can check this by seeing whether the estimated fit is the same on the 2 mac

[R] warnings about factor levels dropped from predict.glm

2017-12-05 Thread Cade, Brian
I am helping a student with some logistic regression analyses and we are getting some strange inconsistencies regarding a warning about factor levels being dropped when running predict.glm(, newdata = ournewdata) on the logistic regression model object. We have checked multiple times that the fact