Hello,
Pretty new to Stata so forgive this possibly really easy question. I have a data set where students exit a program at a certain score. I coded the following for one grade for example
generate exit = 1 if num_grade==0 & domain=="COMPOSITE" & score>=325
replace exit = 0 if num_grade==0 & domain=="COMPOSITE" & score<325
This gave me binary data as to whether someone exited or not.
One of my research questions seeks to find out if students with lower proficiency levels performed differently than those closer to proficiency. To do this I want to generate a score around the exit criteria. So in the example above, the exit criteria for grade 0 (K) is 325. If a student got a 326, they would be +1 whereas a 324 would be a -1. How can I get stata to do this?
Thanks so much!
Pretty new to Stata so forgive this possibly really easy question. I have a data set where students exit a program at a certain score. I coded the following for one grade for example
generate exit = 1 if num_grade==0 & domain=="COMPOSITE" & score>=325
replace exit = 0 if num_grade==0 & domain=="COMPOSITE" & score<325
This gave me binary data as to whether someone exited or not.
One of my research questions seeks to find out if students with lower proficiency levels performed differently than those closer to proficiency. To do this I want to generate a score around the exit criteria. So in the example above, the exit criteria for grade 0 (K) is 325. If a student got a 326, they would be +1 whereas a 324 would be a -1. How can I get stata to do this?
Thanks so much!
Comment