I wonder if someone can help me with an ANCOVA covariate question? Perhaps you may know the answer to my problem.
Subjects were assigned to a treatment or control group, and I measured a (continuous) dependent variable. There is also a covariate, and it is continuous. But the covariate is not independent for each subject.
Subjects are assigned to two different kinds of teaching method (treatment and control). In each condition, they do 15 tasks e.g. homework problems, and they get grades for each (continuous dependent variable). But the homework problems have varying levels of difficulty (continuous covariate) and we wish to control for that (also study it).
Is it ok to just treat problem-difficulty as a covariate?
Put another way, each record in the data is a single subject on a single problem. But the covariate is not indepedent for each subject on each problem. Instead, it is a function only of the problem; all subjects have the same value for problem-difficulty for a given problem. Is it ok to just treat problem-difficulty as a covariate?
Thank you very much for any insights.