I am having a hard time doing this on Stata. I have a group of 32 students. All perform a pretest and are scored. Next, half of them are randomized to receiving an intervention and the other half don't receive it. Next, all are brought back after 1 week to perform a post-test and are scored.
I know that it is wrong to compare post-test scores with a t-test between intervention and control groups. Apparently I have to do this with "adjusting for baseline" and online I think this has to do with an ANCOVA approach.
Can someone please assist me with getting the code? I'm not sure how to do this. Thank you!