-
Notifications
You must be signed in to change notification settings - Fork 3
Testing
EszopiCoder edited this page Mar 10, 2020
·
4 revisions
Each of these functions were tested using the following parameters. Outputs should be the same for some inputs.
Height |
Weight |
Metric |
Output |
---|---|---|---|
5'9" | 180 | FALSE | 26.578 |
69 | 180 | FALSE | 26.578 |
173 | 64 | TRUE | 21.384 |
173 | 64 | 21.384 |
DuBois Formula
Height |
Weight |
Metric |
Output |
---|---|---|---|
5'9" | 180 | FALSE | 1.406 |
69 | 180 | FALSE | 1.406 |
173 | 64 | TRUE | 1.764 |
173 | 64 | 1.764 |
Mosteller Formula
Height |
Weight |
Metric |
Output |
---|---|---|---|
5'9" | 180 | FALSE | 1.994 |
69 | 180 | FALSE | 1.994 |
173 | 64 | TRUE | 1.754 |
173 | 64 | 1.754 |
Devine Formula
Height |
Female |
Metric |
Output |
---|---|---|---|
5'9" | TRUE | FALSE | 66.2 |
69 | TRUE | FALSE | 66.2 |
173 | FALSE | TRUE | 68.654 |
173 | FALSE | 68.654 | |
4'9" | TRUE | FALSE | 38.600 |
57 | TRUE | FALSE | 38.600 |
145 | FALSE | TRUE | 43.299 |
145 | FALSE | 43.299 |
Devine Formula
Height |
Weight |
Female |
Metric |
Output |
---|---|---|---|---|
5'9" | 230 | TRUE | FALSE | 81.451 |
69 | 230 | TRUE | FALSE | 81.451 |
173 | 100 | FALSE | TRUE | 81.192 |
173 | 100 | FALSE | 81.192 |
Height |
Weight |
Female |
Metric |
Output |
---|---|---|---|---|
5'9" | 230 | TRUE | FALSE | 56.667 |
69 | 230 | TRUE | FALSE | 56.667 |
173 | 100 | FALSE | TRUE | 54.746 |
173 | 100 | FALSE | 54.746 |
Baseline Method
Height |
Female |
Metric |
Output |
---|---|---|---|
4'9" | TRUE | FALSE | 43.225 |
57 | TRUE | FALSE | 43.225 |
145 | FALSE | TRUE | 47.572 |
145 | FALSE | 47.572 |
BMI Method
Height |
Female |
Metric |
Output |
---|---|---|---|
4'9" | TRUE | FALSE | 41.064 |
57 | TRUE | FALSE | 41.064 |
145 | FALSE | TRUE | 45.262 |
145 | FALSE | 45.262 |
Hume Method
Height |
Weight |
Female |
Metric |
Output |
---|---|---|---|---|
4'9" | 85 | TRUE | FALSE | 28.644 |
57 | 85 | TRUE | FALSE | 28.644 |
145 | 39 | FALSE | TRUE | 32.474 |
145 | 39 | FALSE | 32.474 |
Cockcroft-Gault Formula
Age |
Weight |
sCr |
Female |
Metric |
Output |
---|---|---|---|---|---|
50 | 150 | 0.9 | TRUE | FALSE | 80.324 |
50 | 150 | 0.9 | FALSE | FALSE | 94.498 |
50 | 70 | 0.9 | TRUE | TRUE | 82.639 |
50 | 70 | 0.9 | TRUE | 82.639 |
Salazar-Corcoran Formula
Age |
Height |
Weight |
sCr |
Female |
Metric |
Output |
---|---|---|---|---|---|---|
50 | 5'9" | 230 | 0.9 | TRUE | FALSE | 106 |
50 | 69 | 230 | 0.9 | TRUE | FALSE | 106 |
50 | 173 | 100 | 0.9 | FALSE | TRUE | 123 |
50 | 173 | 100 | 0.9 | FALSE | 123 |
CKDEPI Formula
Age |
sCr |
Femae |
Black |
Output |
---|---|---|---|---|
50 | 0.9 | TRUE | TRUE | 86.409 |
50 | 0.9 | TRUE | FALSE | 74.554 |
50 | 0.9 | FALSE | TRUE | 115.018 |
50 | 0.9 | FALSE | FALSE | 99.239 |
MDRD Formula
Age |
sCr |
Female |
Black |
Output |
---|---|---|---|---|
50 | 0.9 | TRUE | TRUE | 80.326 |
50 | 0.9 | TRUE | FALSE | 66.276 |
50 | 0.9 | FALSE | TRUE | 108.257 |
50 | 0.9 | FALSE | FALSE | 89.321 |
TDD |
Actual |
Target |
Rapid |
Output |
---|---|---|---|---|
40 | 160 | 140 | TRUE | 0.444 |
40 | 160 | 140 | 0.444 | |
40 | 160 | 0.444 | ||
40 | 160 | 130 | FALSE | 0.8 |
40 | 160 | 130 | TRUE | 0.667 |
40 | 160 | 130 | 0.667 |
TDD |
Carbs |
Output |
---|---|---|
40 | 10 | 0.8 |
80 | 10 | 1.6 |
Age |
GA |
Output |
---|---|---|
10 | 29 | 7.25 |
12 | 15 | 5.75 |
Bedside-Schwartz Formula
Height |
sCr |
Metric |
Output |
---|---|---|---|
2'10" | 0.9 | FALSE | 34.967 |
30 | 0.9 | FALSE | 34.967 |
100 | 0.9 | TRUE | 45.889 |
100 | 0.9 | 45.889 |