Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

From |
William Buchanan <[email protected]> |

To |
"[email protected]" <[email protected]> |

Subject |
Re: st: Testing joint hypothesis on means, ANOVA |

Date |
Sat, 4 Jan 2014 10:17:50 -0600 |

Try -help contrast-. You should also provide a bit more information regarding how you specify the ANOVA itself since that could also create issues when doing the other comparisons. Sent from my iPhone > On Jan 4, 2014, at 9:39, Jules Perng <[email protected]> wrote: > > Greetings all, > I have two factors and a dataset with repeated measures. I have > reshaped it so that it looks a bit like the following: > > Subject Factor_1 Factor_2 Amount > 1 1 1 5 > 1 1 2 7 > 1 1 3 3 > 2 3 1 5 > 2 3 2 2 > 2 3 3 8 > 3 2 1 4 > 3 2 2 8 > 3 2 3 4 > 4 5 1 4 > 4 5 2 3 > 4 5 3 7 > 5 3 1 9 > 5 3 2 5 > 5 3 3 8 > 6 4 1 8 > 6 4 2 9 > 6 4 3 4 > > Where each subject will select one from five choices of Factor_1 and > select an Amount for each of Factor_2. > > I will be arranging the data like so: > > Factor_2: 1 Factor_2: 2 Factor_2: > 3 F stat. > All Factor_1 (total) > Factor_1: 1 > Factor_1: 2 > Factor_1: 3 > Factor_1: 4 > Factor_1: 5 > > Where I will have the means for each within the matrix. > > I would like to run joint hypothesis tests stating that all of the the > row means for each of 1 through 5 of Factor_1 are jointly different > from the total means (in the first row). I would find an F-stat for > each, so there would be 5 F-statistics (the first row would be blank). > > I have been quite stuck on how to do this. I found this reference: > http://www.stata.com/support/faqs/statistics/multiple-comparison-tests/ > - and it seems that I should run anova, and then test. However, the > example doesn't show how to compare one level to all of the levels > together. I also played a bit with the manova command, but it didn't > give me what I wanted. > > It would be great if someone knew the response to this. I have combed > the internet so hopefully this is not a repeated inquiry. > > Thanks so much. > > -- > Jules Perng > 503-943-9574 > * > * 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/ * * 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/

**Follow-Ups**:**Re: st: Testing joint hypothesis on means, ANOVA***From:*Jules Perng <[email protected]>

**References**:**st: Testing joint hypothesis on means, ANOVA***From:*Jules Perng <[email protected]>

- Prev by Date:
**st: Testing joint hypothesis on means, ANOVA** - Next by Date:
**RE: st: Overwritten?** - Previous by thread:
**st: Testing joint hypothesis on means, ANOVA** - Next by thread:
**Re: st: Testing joint hypothesis on means, ANOVA** - Index(es):