Re: [R] vif in package car: there are aliased coefficients in the model

2015-03-30 Thread Rodolfo Pelinson
Thanks a lot for the answer and I'm sorry for the silly question! Also thanks for the conceptual advice! It was also a doubt of me and my advisors. Best! 2015-03-28 15:17 GMT-03:00 John Fox j...@mcmaster.ca: Dear Rodolfo, Sending the data helps, though if you had done what I suggested, you

Re: [R] vif in package car: there are aliased coefficients in the model

2015-03-28 Thread John Fox
Dear Rodolfo, Sending the data helps, though if you had done what I suggested, you would have seen what's going on: snip -- dim(data) [1] 8 8 summary(lm(response_variable ~ predictor_1 + predictor_2 + predictor_3 + predictor_4 + +

[R] vif in package car: there are aliased coefficients in the model

2015-03-27 Thread Rodolfo Pelinson
Hello. I'm trying to use the function vif from package car in a lm. However it returns the following error: Error in vif.default(lm(MDescores.sitescores ~ hidroperiodo + localizacao + : there are aliased coefficients in the model When I exclude any predictor from the model, it returns this

Re: [R] vif in package car: there are aliased coefficients in the model

2015-03-27 Thread John Fox
Dear Rodolfo, It's apparently the case that at least one of the columns of the model matrix for your model is perfectly collinear with others. There's not nearly enough information here to figure out exactly what the problem is, and the information that you provided certainly falls short of