User:Saltrabook/Department of Occupational and Environmental Health Sciences, University of Panamá/Formación en metodología de la investigación/Herramientas electrónicas de investigación 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