Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Convert Equation Help

  • 03-07-2007 5:22pm
    #1
    Closed Accounts Posts: 1


    I am trying to convert the following equation into a format that uses only addition, multiplication, subtraction and division. This is a formula for calculating glomerular filtration rate, and the archaic programming language my lab system uses does not have any advanced math functions. Help!
    Formula is:

    186 X (creatinine)-1.154 X (age) -0.0203 X (.742 if female or 1.210 if African-american)

    NOTE: items in red are exponents, sample creatinine value is 1.7...


Comments

  • Closed Accounts Posts: 7,669 ✭✭✭Colonel Sanders


    can you use indicator variables for the last part?

    a 0 for no and a 1 for yes?

    186 x creatine - 1.154 x age - 0.023 x 0.742 x female_indicator -0.023 x 1.210 x african_american_indicator

    for a female the inputs would be (creatine, age, 1, 0)

    for an african american the inputs would be (creatine, age, 0, 1)


  • Closed Accounts Posts: 80 ✭✭mcyclist


    can you use logs?. If not what exactly is the language you are using.

    If that doesn't work try Cystatin C. more accurate than creatinine clearence


  • Registered Users, Registered Users 2 Posts: 1,328 ✭✭✭Sev


    You could try taylor expanding Creatine^-1.154 and Age^-0.0203 about 1


Advertisement