Hello I need to calculate BMI in a dataset, however my measurements of height (in feet) and weight (in stone) have been measured across two variables each (feet+inches and stones+pounds).
I'd like to create a new variable to so that height and weight are each displayed as a single variable (e.g. 5.4 for height and 10.0 for weight), so that I can then convert these into metres and kgs.
A bit of a stata newbie here and have been unable to work this out online!
I'd like to create a new variable to so that height and weight are each displayed as a single variable (e.g. 5.4 for height and 10.0 for weight), so that I can then convert these into metres and kgs.
HEIGHT | HEIGHTM | HEIGHTFT | HEIGHTINCH | WEIGHT | WEIGHTKG | WEIGHTST | WEIGHTSP |
Feet | 5 | 4 | Stone | 10 | 0 | ||
Metre | 1.82 | Kilog | 83 | ||||
Metre | 1.77 | Kilog | 63 |
A bit of a stata newbie here and have been unable to work this out online!
Comment