ANOVA - independence assumption I have conducted a study in which I have gathered 3 sentences per participant. These sentences were then classified and the words per sentence were counted. I want to test if there are significant differences in the word count means for the different categories of the classification. 
However, because the sentences are not fully independent (each participant has entered 3 sentences), I am worried that ANOVA would not be the right analysis, since it assumes the independence of the cases.
Would it be better to carry out non-parametric statistics on transformed word counts, or is it okay to do an ANOVA?
PS I have asked a related question about using the $\chi^2$ test in a similar situation to identify interactions between factors.
 A: In this case, unlike your $\chi^2$ question, the unit of analysis is a sentence and the randomness is very much associated with the sentence level, and hence you do need to worry about their independence.  As @dominic999 suggests, a multi-level model (also known as a mixed effects model) will probably be appropriate, with participant as a grouping level and number of words as the response.  Because the response is a count, you will probably find a mixed effects generalized linear model with a Poisson distribution is what you want.
However, an additional problem is that your classification happens after the experiment and hence is likely to be conflated with your response.  Each time someone classifies the sentence they may be influenced by how many words the sentence has.  This makes the experiment very different from a design where the classification is an independent variable in which you are interested in its impact on the response.  There might be a way around this with some kind of two-way causality model similar to structural equation modelling; but my hunch is that better would be to take a step back and think through the aims of the research.  Depending on more information about how your classification works, this issue may or may not be a problem.
