gaiarrido
2012-Jan-13 10:36 UTC
[R] GLHT in multcomp: Two similar models, one doesn't work
i ran this model> model2<-glm(rojos~ageandsex+sector+season+sector:season,quasipoisson)> glht(model2,linfct=mcp(ageandsex="Tukey"))General Linear Hypotheses Multiple Comparisons of Means: Tukey Contrasts Linear Hypotheses: Estimate M - H == 0 0.2898 SUB - H == 0 -0.2261 SUB - M == 0 -0.5159 I tried to do the same changing factor season (with 2 levels) for month (with four levels), and i get an error and no results> monthmodel2<-glm(rojos~ageandsex+sector+month+sector:month,quasipoisson)> glht(monthmodel2,linfct=mcp(ageandsex="Tukey"))Error en modelparm.default(model, ...) : dimensions of coefficients and covariance matrix don't match I understand nothing, Why this is happen. I beg for your help ----- Mario Garrido Escudero PhD student Dpto. de Biolog?a Animal, Ecolog?a, Parasitolog?a, Edafolog?a y Qca. Agr?cola Universidad de Salamanca -- View this message in context: http://r.789695.n4.nabble.com/GLHT-in-multcomp-Two-similar-models-one-doesn-t-work-tp4291875p4291875.html Sent from the R help mailing list archive at Nabble.com.
gaiarrido
2012-Jan-13 17:49 UTC
[R] GLHT in multcomp: Two similar models, one doesn't work
Nobody? ----- Mario Garrido Escudero PhD student Dpto. de Biolog?a Animal, Ecolog?a, Parasitolog?a, Edafolog?a y Qca. Agr?cola Universidad de Salamanca -- View this message in context: http://r.789695.n4.nabble.com/GLHT-in-multcomp-Two-similar-models-one-doesn-t-work-tp4291875p4292889.html Sent from the R help mailing list archive at Nabble.com.