Greetings,
Is there a Stata command to code unique data as missing? I am working with the basic version of stata and need to delete a child's school ID, teacher ID, and class ID if a child is a unique observation to keep only the repeating school IDs.
these are the variables I want to code as missing "." if they are a unique identifier for a child: F1989SchID S1999SchID F1999SchID S2000SchID S2002SchID S2004SchID S2007SchID F98T_ID S99T_ID S00T_ID S02T_ID Sp04ReadT_ID Sp04MaT_ID Sp07EngT_ID Sp07MaT_ID Sp04ReadCLS_ID Sp04MaCLS_ID Sp07EngCLA_ID Sp07MaCLS_ID
sorry if that is not clear! Thanks in advance.
Is there a Stata command to code unique data as missing? I am working with the basic version of stata and need to delete a child's school ID, teacher ID, and class ID if a child is a unique observation to keep only the repeating school IDs.
these are the variables I want to code as missing "." if they are a unique identifier for a child: F1989SchID S1999SchID F1999SchID S2000SchID S2002SchID S2004SchID S2007SchID F98T_ID S99T_ID S00T_ID S02T_ID Sp04ReadT_ID Sp04MaT_ID Sp07EngT_ID Sp07MaT_ID Sp04ReadCLS_ID Sp04MaCLS_ID Sp07EngCLA_ID Sp07MaCLS_ID
sorry if that is not clear! Thanks in advance.
Comment