Hi everyone,
I am very new to Stata and I have to use foreach loops and forvalues loops for the first time. For an assignment, I basically have to find the mean values for average test scores in four different grades from kindergarten to grade3 depending on three different classroom types: small, regular, regular+aide and if the individuals were in the STAR project. It does not matter if the same participant was not in the STAR project in another grade. The variables are as follows:
Thank you in advance, Alec.
I am very new to Stata and I have to use foreach loops and forvalues loops for the first time. For an assignment, I basically have to find the mean values for average test scores in four different grades from kindergarten to grade3 depending on three different classroom types: small, regular, regular+aide and if the individuals were in the STAR project. It does not matter if the same participant was not in the STAR project in another grade. The variables are as follows:
- Avgtestk Avgtest1 Avgtest2 Avgtest3 (average test scores from kindergarten to grade 3, 999=.)
- ctypek ctype1 ctype2 ctype3 (class type assigned, 1=small, 2=regular, 3=regular with aide, 9=.)
- stark star1 star2 star3 (part of the STAR project, 1=yes, 2=no, 9=.)
Thank you in advance, Alec.
Comment