Maritime Health Research and Education-NET/EDUCATION/Education module links/Theoretical research modules/Electronic Research tools 2

Defining new variables and recoding, make and use Programs

 * 1) READ {config:BMI for fiskere2003 copy}:[BMI for fiskere $]
 * 2) Program Editor
 * 3) Open Pgm
 * 4) MARK: Text File
 * 5) One Drive Documents
 * 6) Select Agegroup12 ...
 * 7) Run Commands
 * DEFINE AG NUMERIC
 * RECODE AGE TO AG
 * 1 - 20 = "1"
 * 21 - 60 = "2"
 * END
 * DEFINE BMIGROUP
 * RECODE BMI TO BMIGROUP
 * 20 - 50 = "1"
 * 51 - 60 = "2"
 * END
 * FREQ AG BMIGROUP