I?m trying to run a factorial model with binomial error distribution on R program but I had some problems. I'm quite sure it is a bug and would like to know if it was alread corrected. The output don?t gives me the effects of factors, it mix the names of factors with the names of factor?s levels. For instances: specieserythroxylum ('species? is the name of the factor and 'erythroxylum? the name of one of the species used). I ran these same data and structure with an ANOVA and it worked well. Could it be some kind of bug or am I missing some step? Thanks and all the best. Andr?? ------------------------------- Andr?? Tavares Corr??a Dias Laborat??rio de Ecologia Vegetal Departamento de Ecologia - IB Universidade Federal do Rio de Janeiro Ilha do Fund??o, CCS Rio de Janeiro, RJ. Brasil CEP 21941-590 CP 68020 Tel. (21)2562-6377 ------------------------------- Andr?? Tavares Corr??a Dias Laborat??rio de Ecologia Vegetal Departamento de Ecologia - IB Universidade Federal do Rio de Janeiro Ilha do Fund??o, CCS Rio de Janeiro, RJ. Brasil CEP 21941-590 CP 68020 Tel. (21)2562-6377
The output is giving you the coefficients, which is what is supposed to happen. If you want an anova (more precisely, analysis of deviance) table use the anova() function on your fitted model. -thomas On Wed, 11 Aug 2004, [ISO-8859-1] Andr?? Tavares[ISO-8859-1] Corr??a Dias wrote:> > I?m trying to run a factorial model with binomial error distribution on R > program but I had some problems. I'm quite sure it is a bug and would like to > know if it was alread corrected. The output don?t gives me the effects of > factors, it mix the names of factors with the names of factor?s levels. For > instances: specieserythroxylum ('species? is the name of the factor > and 'erythroxylum? the name of one of the species used). > I ran these same data and structure with an ANOVA and it worked well. Could it > be some kind of bug or am I missing some step? > > > Thanks and all the best. > Andr?? > > > > ------------------------------- > Andr?? Tavares Corr??a Dias > Laborat??rio de Ecologia Vegetal > Departamento de Ecologia - IB > Universidade Federal do Rio de Janeiro > Ilha do Fund??o, CCS > Rio de Janeiro, RJ. Brasil > CEP 21941-590 CP 68020 > Tel. (21)2562-6377 > > > > > > ------------------------------- > Andr?? Tavares Corr??a Dias > Laborat??rio de Ecologia Vegetal > Departamento de Ecologia - IB > Universidade Federal do Rio de Janeiro > Ilha do Fund??o, CCS > Rio de Janeiro, RJ. Brasil > CEP 21941-590 CP 68020 > Tel. (21)2562-6377 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >Thomas Lumley Assoc. Professor, Biostatistics tlumley at u.washington.edu University of Washington, Seattle
> From: Andr?? TavaresCorr??a Dias > > I'm trying to run a factorial model with binomial error > distribution on R > program but I had some problems. I'm quite sure it is a bug > and would like to > know if it was alread corrected. The output don't gives me > the effects of > factors, it mix the names of factors with the names of > factor's levels. For > instances: specieserythroxylum ('species' is the name of the factor > and 'erythroxylum' the name of one of the species used). > I ran these same data and structure with an ANOVA and it > worked well. Could it > be some kind of bug or am I missing some step?The latter, I believe. glm() fits a regression model. If you have factors, they enter the model as contrasts. What you are seeing are the coefficients for the contrasts. If you want to see factor effect, use anova() on the glm object. Prof. Fox's `car' package on CRAN also has the Anova() function, which you might find useful. Please don't confuse your mis-understanding with bugs! Andy> > Thanks and all the best. > Andr?? > > > > ------------------------------- > Andr?? Tavares Corr??a Dias > Laborat??rio de Ecologia Vegetal > Departamento de Ecologia - IB > Universidade Federal do Rio de Janeiro > Ilha do Fund??o, CCS > Rio de Janeiro, RJ. Brasil > CEP 21941-590 CP 68020 > Tel. (21)2562-6377 > > > > > > ------------------------------- > Andr?? Tavares Corr??a Dias > Laborat??rio de Ecologia Vegetal > Departamento de Ecologia - IB > Universidade Federal do Rio de Janeiro > Ilha do Fund??o, CCS > Rio de Janeiro, RJ. Brasil > CEP 21941-590 CP 68020 > Tel. (21)2562-6377 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >