search for: modelf

Displaying 2 results from an estimated 2 matches for "modelf".

Did you mean: model
2010 Nov 17
1
lme weights glht
Dear R-user I used lme to fit a linear mixed model inlcuding weights=varPower(). Additionally I wanted to use glht to calculate Tukey-Kramer multiple comparision. error: > glht(modelF, linfct=mcp(Species="Tukey")) Error in glht.matrix(model = list(modelStruct = list(reStruct = list(SubPlot = -0.305856275920955, : ?ncol(linfct)? is not equal to ?length(coef(model))? > glht(modelF, linfct=mcp(Diversity="Tukey")) Error in mcp2matrix(model, linfct = lin...
2002 Jul 22
1
"New" problem with polr (or optim, or ...)
...response is ordinal - there are several categories, from (roughly) "Gone Extinct" to "Suddenly all over the damn place", and because the beetles haven't read Cochran and Cox, the design is messy, with all sorts of confounding. Now, when I run the analysis I get this: > ModelF <- polr(Ext ~ Habitat+Edge+Grids+SE+NH+Size+Wings+Grids:SE + Grids:NH + Habitat:Edge , na.action=na.omit) Error in optim(start, fmin, gmin, method = "BFGS", hessian = Hess) : non-finite value supplied by optim Which is presumably because the data is unbalanced. This would...