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
edit
- READ {config:BMI for fiskere2003 copy}:[BMI for fiskere $]
- Program Editor
- Open Pgm
- MARK: Text File
- One Drive Documents
- Select Agegroup12 ...
- 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