[EpiData-list] Re: EpiData-list Digest, Vol 42, Issue 5

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Thu Apr 12 13:56:52 CDT 2007


I useful little trick I picked up for us crazy Americans who insist on using inches and pounds:  Calculate pounds/(height in inches)^2.  Multiple the result by 703.0814 (or however precise you want the result) and you have BMI.

Richard Herrell
NIMH


epidata-list at lists.umanitoba.ca wrote: Dear Ali,

It seems to be a simple task. First, as far as I know the BMI is calculated
as weight/(heigh*heigh). However this values should be in Kg and m. If you
have the data in pounds and feet, then youl should transform them before. To
make it easier, create a variable in the qes file with this information.

qes file

v1      heigh in feet ##.#
v2         heigh in m #.##
v3 weight in pound ###.##
v4      weight in Kg ###.#
v5                  bmi ##.##

chk file

v1
  after entry
    let v2 = round(v1*0,4536)
  end
end

v2
  noenter
end

v3
  after entry
     let v4=round(v3/3,28)
  end
end

v4
  noenter
end

v5
  before entry
    let v5=v4/(v2*v2)
    goto v6
  end
end

I hope this works fine for you because didnt test it! ;)

Succes,
Pedro Emmanuel Brasil

2007/4/12, epidata-list-request at lists.umanitoba.ca <
epidata-list-request at lists.umanitoba.ca>:
>
> Send EpiData-list mailing list submissions to
>        epidata-list at lists.umanitoba.ca
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.umanitoba.ca/mailman/listinfo/epidata-list
> or, via email, send a message with subject or body 'help' to
>        epidata-list-request at lists.umanitoba.ca
>
> You can reach the person managing the list at
>        epidata-list-owner at lists.umanitoba.ca
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of EpiData-list digest..."
>
>
> EpiData-list mailing list
> ___________________________________
>
> Today's Topics:
>
>   1. BMI Calculation (epidata-list at lists.umanitoba.ca)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 12 Apr 2007 08:12:37 -0400
> From: epidata-list at lists.umanitoba.ca
> Subject: [EpiData-list] BMI Calculation
> To: epidata-list at lists.umanitoba.ca
> Message-ID:
>        <9aeb5bc30704120512q55329040pc02a85328844f8d1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Thanks.
> I just recently started using Epidata, and I need some help on creating a
> Check string for automatically calculating BMI using Weight and Height (in
> pounds and feet/inches). Thanks, again.
>
>
>
> --
> Ali B. Mansaray
> MANSA Consulting Services
> 6530 Davidson Road
> Columbia, SC 29209
> 803-381-6864
> ali.mansaray at gmail.com
>
>
> ------------------------------
>
> ________________________________________
> EpiData-list at lists.umanitoba.ca
> http://lists.umanitoba.ca/mailman/listinfo/epidata-list
>
>
> End of EpiData-list Digest, Vol 42, Issue 5
> *******************************************
>
_______________________________________________
EpiData-list mailing list
EpiData-list at lists.umanitoba.ca
http://lists.umanitoba.ca/mailman/listinfo/epidata-list


       
---------------------------------
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives. Check it out.


More information about the EpiData-list mailing list