I have two groups of data, one is a group aof people at age 5 and the other set of data is the same group of people when they are 8 years old. I want to test if group two (age 8) eat more food under a certain condition, compare to when they were 5 years old.
However, I know that in general kids eat more when they are older, hence, simply a paired t-test would give me the statistical difference, but I wouldn't know if this difference is the result of the age or condition.
I'm wondering what test I can use which would take into account this.