ABSTRACT
This can be useful if you have details of patients' height and weight, but do not already have a BMI value recorded.
In ANALYSIS (with a dataset selected), type:
1 DEFINE BMI # # . # 2 Press (ENTER) 3 LET BMI = WEIGHT I (HEIGHT" 2) 4 Press (ENTER) 5 FREQ BMI 6 Press (ENTER)
This assumes that:
• your file contains the fieldnames 'height' and 'weight' • height is in metres • weight is in kilograms.