Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to calculate BMI using height & weight

    Good afternoon,

    I was wondering if any of you, STATA experts, could assist me and guide me in how to calculate MBI using height (I have it in cm, so I would need to convert it to m) and weight (kg)? I know that to calculate BMI, I need to divide kilograms by the square of height in meters, but I'm not sure how to code this.

    Any help would be greatly appreciated!

  • #2
    Code:
    gen BMI = weight / (height/100)^2

    Comment


    • #3
      Thank you so much!

      Comment

      Working...
      X