[R] Help with analysis of variance

2014-08-22 Thread McCulloch, Andrew
Hi, I have an observational dataset which consists of eight annual observations (year) for children (id) recording the rate of unemployment in the neighbourhood in which they lived (rate). I know if children move home so the data also has an identifier for spells in the same neighbourhood

Re: [R] Help with analysis of variance

2014-08-22 Thread Richard M. Heiberger
Andrew, I plotted your data first. Then I made id, spell, year into factors and did the ANOVA. From the graph, it looks like the two ids who had more than one spell show variability in rate. The ANOVA table agrees by showing high significance for the id:spell interaction. The numbers in this