Thanks for your insight papers,
"Accelerated biological aging and risk of depression and anxiety: evidence from 424,299 UK Biobank participants" and
"A toolkit for quantification of biological age from blood chemistry and organ function test data: BioAge".
Both papers provide the formula to evaluate the biological aging process and its impact on health.
When we try to understand its basic theory and application, we get confused about the calculation of KDM-BA prediction.
In the formula,

In the BioAge package and corresponding kdm_calc function,

There is an inconsistency between the formula and the R code, we are wondering which one is correct.
Thanks for your insight papers,
"Accelerated biological aging and risk of depression and anxiety: evidence from 424,299 UK Biobank participants" and
"A toolkit for quantification of biological age from blood chemistry and organ function test data: BioAge".
Both papers provide the formula to evaluate the biological aging process and its impact on health.
When we try to understand its basic theory and application, we get confused about the calculation of KDM-BA prediction.

In the formula,
In the BioAge package and corresponding

kdm_calcfunction,There is an inconsistency between the formula and the R code, we are wondering which one is correct.