Witold Eryk Wolski
2005-Mar-20 18:32 UTC
[R] Interaction term in anova - how it should be written in a manuscript table?
Dear Rgurus, Interaction terms in the linear models function lm are specified by the colon : eg: x ~ a + b + a:b a shortcut for the above is: x ~ a*b the output if calling anova on the lm object will be the same in both cases a .... b .... a:b ... Resdiuals ... What I am wondering is how the interaction term (a:b) given above should be written in a table in an manuscript? a ) a*b b ) a$\cdot$ b c ) a:b d) .... Cheers Eryk.
Spencer Graves
2005-Mar-20 19:22 UTC
[R] Interaction term in anova - how it should be written in a manuscript table?
Hi, Eryk: What is the target journal(s) / audience(s) for your work? Can you find recent publications in that field and copy them? hope this helps. spencer graves Witold Eryk Wolski wrote:> Dear Rgurus, > > Interaction terms in the linear models function lm are specified by > the colon : > eg: x ~ a + b + a:b > > a shortcut for the above is: > x ~ a*b > > the output if calling anova on the lm object will be the same in both > cases > > a .... > b .... > a:b ... > Resdiuals ... > > What I am wondering is how the interaction term (a:b) given above > should be written in a table in an manuscript? > > a ) a*b > b ) a$\cdot$ b > c ) a:b > d) .... > > Cheers Eryk. > > ______________________________________________ > 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
Liaw, Andy
2005-Mar-20 20:44 UTC
[R] Interaction term in anova - how it should be written in a manuscript table?
I'd suggest a $\times$ b, as you'd find in most stat textbook. Andy> From: Witold Eryk Wolski > > Dear Rgurus, > > Interaction terms in the linear models function lm are > specified by the > colon : > eg: x ~ a + b + a:b > > a shortcut for the above is: > x ~ a*b > > the output if calling anova on the lm object will be the same > in both cases > > a .... > b .... > a:b ... > Resdiuals ... > > What I am wondering is how the interaction term (a:b) given > above should > be written in a table in an manuscript? > > a ) a*b > b ) a$\cdot$ b > c ) a:b > d) .... > > Cheers Eryk. > > ______________________________________________ > 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 > > >