Deborah.Renz@stud.unibas.ch
2004-Jan-05 17:27 UTC
[R] Heeeeeelp! Estimatet Marginal Means of ANOVA needed!
Hello! I urgently need to know if it is possible (and if so, how to do) to get the "Estimatet marginal means" from an ANOVA. Or explained more coplicated: It's about plants sewn in 2 densities & 2 patterns. The Variable is biomass and I also use a Covariate. There are highly significant differences between density & pattern but I don't know which of the 2 densities gives the higher biomass values. I would like to get something analoge to the "Estimatet Marginal Means" you get with SPSS. Who can help me as soon as possible? Thanks Deborah Renz ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/
Spencer Graves
2004-Jan-05 17:35 UTC
[R] Heeeeeelp! Estimatet Marginal Means of ANOVA needed!
Have you considered feeding the ANOVA fit to "predict"? A second alternative might be "tapply". hope this helps. spencer graves Deborah.Renz at stud.unibas.ch wrote:>Hello! > >I urgently need to know if it is possible (and if so, how to do) to get >the "Estimatet marginal means" from an ANOVA. >Or explained more coplicated: It's about plants sewn in 2 densities & 2 >patterns. The Variable is biomass and I also use a Covariate. There are highly >significant differences between density & pattern but I don't know which of the >2 densities gives the higher biomass values. >I would like to get something analoge to the "Estimatet Marginal Means" you get >with SPSS. >Who can help me as soon as possible? > >Thanks >Deborah Renz > > >------------------------------------------------- >This mail sent through IMP: http://horde.org/imp/ > >______________________________________________ >R-help at stat.math.ethz.ch mailing list >https://www.stat.math.ethz.ch/mailman/listinfo/r-help >PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > >
I've never used SPSS, so don't know what it refers to as "estimated marginal means". However, my guess is that they are probably what SAS calls LS (least squares) means. I know Prof. Yandell has written a lsmeans() function for his "pda" package (supporting his book, "Practical Data Analysis for Designed Experiments") which you can find on his web page. Hope this helps, Andy> From: Deborah.Renz at stud.unibas.ch > > Hello! > > I urgently need to know if it is possible (and if so, how to > do) to get > the "Estimatet marginal means" from an ANOVA. > Or explained more coplicated: It's about plants sewn in 2 > densities & 2 > patterns. The Variable is biomass and I also use a Covariate. > There are highly > significant differences between density & pattern but I don't > know which of the > 2 densities gives the higher biomass values. > I would like to get something analoge to the "Estimatet > Marginal Means" you get > with SPSS. > Who can help me as soon as possible? > > Thanks > Deborah Renz------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
Dear Deborah, The effects package may do what you want. John At 06:27 PM 1/5/2004 +0100, Deborah.Renz at stud.unibas.ch wrote:>Hello! > >I urgently need to know if it is possible (and if so, how to do) to get >the "Estimatet marginal means" from an ANOVA. >Or explained more coplicated: It's about plants sewn in 2 densities & 2 >patterns. The Variable is biomass and I also use a Covariate. There are >highly >significant differences between density & pattern but I don't know which >of the >2 densities gives the higher biomass values. >I would like to get something analoge to the "Estimatet Marginal Means" >you get >with SPSS. >Who can help me as soon as possible? > >Thanks >Deborah Renz____________________________ John Fox Department of Sociology McMaster University email: jfox at mcmaster.ca web: http://www.socsci.mcmaster.ca/jfox