search for: modelparm

Displaying 8 results from an estimated 8 matches for "modelparm".

Did you mean: modelar
2013 Jan 10
0
Questions about the glht function for planned comparison
...= contrMat(lvl.treatments,type='Dunnett',base=1) mc<-glht(mod1, linfct=mcp(treatments=K),alternative='greater') But I got the following error: Error in contr.treatment(n = 0L) : not enough degrees of freedom to define contrasts I tried to extract the df parameter using "modelparm()", but the function couldn't be applied to lme: Error in UseMethod("modelparm") : no applicable method for 'modelparm' applied to an object of class "lme" The degree of freedom of the fixed effect was 194. I tried to specify the number in glht, but got the s...
2007 Nov 21
1
question about multiple comparison in ANOVA
...ollowing error: Running commands: amod <- aov(minutes ~ blanket, data = recovery) rht <- glht(amod, linfct = mcp(blanket = "Dunnett"), alternative = "less") Errors are: Error in try(coef.(model)) : could not find function "coef." Error in modelparm.default(model, ...) : no 'coef' method for 'model' found! Thanks! Regards, Anqi Qiu Assistant Professor Division of Bioengineering, Faculty of Engineering National University of Singapore Email: bieqa@nus.edu.sg tel: +65 6516 7002 [[alternative HTML version...
2007 Nov 21
1
multiple comparison (glht) problem
...the following error: Running commands: amod <- aov(minutes ~ blanket, data = recovery) rht <- glht(amod, linfct = mcp(blanket = "Dunnett"), alternative = "less") Errors are: Error in try(coef.(model)) : could not find function "coef." Error in modelparm.default(model, ...) : no 'coef' method for 'model' found! Thanks! Regards, Anqi Qiu Anqi Qiu Center for Imaging Science Johns Hopkins University Email: anqi at cis.jhu.edu tel: 410-516-8103 Anqi Qiu Center for Imaging Science Johns Hopkins University Email: anqi at cis...
2012 Dec 05
1
Using multcomp::glht() with Anova object
...t( model.Anova, linfct=designmatrix ) However, when I give glht() an Anova object, I get the following error: > glht( model.anova, linfct=designmatrix ) Error in UseMethod("vcov") : no applicable method for 'vcov' applied to an object of class "Anova.mlm" Error in modelparm.default(model, ...) : no ‘vcov’ method for ‘model’ found! Does anyone know how if it's possible to use glht with an Anova object? (I guess I can get these same comparisons by re-doing the anova using aov() or lme(), since I don't need the Huynh-Feldt corrections in the post-hoc tests...b...
2008 Oct 31
0
help with contrasts for a binomial 3-way GLM
...- A == 0 3.0445 1.0362 2.938 0.1727 F - A == 0 3.3399 1.0306 3.241 0.0744 .........etc. If the GLM is with interactions don't work Ø acacia3<-glm(acacia~T*t*c,binomial) Ø > glht(acacia3, linfct = mcp(T = "Tukey")) Ø Error in modelparm.default(model, ...) : Ø dimensions of coefficients and covariance matrix don't match Ø Warning message: Ø In mcp2matrix(model, linfct = linfct) : Ø covariate interactions found -- default contrast might be inappropriate Other function could be simtes but...
2012 Jan 12
0
glht (multicomparisons) with an interaction factor
...his ways, but doesn't work 1. > summary(glht(mq5, linfct=mcp((estacion:zona)="Tukey", interaction_average=TRUE))) 2.> s<-interaction(zona,estacion) > mqs<-glm(rojos~edadysexo+zona+estacion+s,quasipoisson) > summary(glht(mqs, linfct=mcp(s="Tukey"))) Error en modelparm.default(model, ...) : dimensions of coefficients and covariance matrix don't match Anyone can helps? ----- 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....
2012 Jan 13
1
GLHT in multcomp: Two similar models, one doesn't work
...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 Salamanc...
2007 Nov 23
0
R users in Cyprus
...following error: Running commands: amod <- aov(minutes ~ blanket, data = recovery) rht <- glht(amod, linfct = mcp(blanket = "Dunnett"), alternative = "less") Errors are: Error in try(coef.(model)) : could not find function "coef." Error in modelparm.default(model, ...) : no 'coef' method for 'model' found! Thanks! Regards, Anqi Qiu Assistant Professor Division of Bioengineering, Faculty of Engineering National University of Singapore Email: bieqa at nus.edu.sg tel: +65 6516 7002 [[alternative HTML versio...