Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | David Hoaglin <dchoaglin@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: anova account for the same individuals |
Date | Tue, 19 Nov 2013 18:04:48 -0500 |
Dear Llling, Since each person rated all eight ads, an analysis of variance of your scores should have two factors: ad and person. It would be a two-way analysis of variance. If the 54 people constitute, in some reasonable sense, a sample from some population, you would classify person as a random factor. You probably are not considering the eight ads as a sample from a population of ads (though that would be appropriate in some instances), so you would classify ad as a fixed factor. This ANOVA enables you to make comparisons among ads within person. In that way, it generalizes the analysis underlying a paired t-test. Stata may want you to treat the analysis as involving repeated measures: anova score person ad, repeated(ad) You can get further information from the documentation for -anova-. You have not mentioned the scale of values for the rating scores. If the scale has only a few values, the ANOVA may not be entirely appropriate. I hope this helps. David Hoaglin On Tue, Nov 19, 2013 at 2:22 PM, HUANG, LILING <HUANGL@mailbox.sc.edu> wrote: > Dear Statalisters, > > I have a group of people (n=54), rating eight different ads. So, I have 432 observations in a long format dataset. After I ran ANOVA on the rating scores among ads (F (7, 424) = 13.37, p<0.001), I used pairwise comparisons (tukey hsd) to test whether rating scores are significantly different between ads. My question now is how I can account for the ratings come from the same 54 people rather than from 432 people in this analysis since the ratings from the same individual (id) among ads are dependent. Please let me know how specify this in my syntax below. Or should I use other statistic method? > > anova score ad > tukeyhsd ad > > > Your prompt response to my inquiry will be greatly appreciated. > > Liling Huang * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/faqs/resources/statalist-faq/ * http://www.ats.ucla.edu/stat/stata/