1. Introduction
Calcium and magnesium are essential micronutrients that significantly contribute to various physiological processes, particularly concerning cardiometabolic health. Calcium, primarily recognized for its function in skeletal health, is essential for providing the mineral density necessary to prevent fractures and osteoporosis. Calcium is also essential for cellular signaling, muscle contraction, and neurotransmission [
1,
2,
3]. In addition, cardiovascular health relies on calcium’s regulatory roles in cardiac rhythm and vascular contraction, influencing blood pressure and vascular resistance [
4,
5]. Similarly important, magnesium supports metabolic pathways and is involved in more than 600 enzyme reactions that regulate processes such as energy production, protein synthesis, and bone mineralization [
3,
6,
7]. The relationship between calcium and magnesium, particularly through an optimal dietary intake ratio, carries notable implications, as imbalances have been associated with higher risks of developing noncommunicable diseases such as hypertension, diabetes, and inflammatory diseases [
8]. Therefore, it is crucial to evaluate the ratio of calcium (Ca) to magnesium (Mg) dietary intakes to understand its fundamental role in metabolic regulation and the prevention of chronic disease.
The dietary Ca:Mg ratio indicates the balance of these two minerals in the diet, which has important health implications due to their common absorptive pathways in the intestine. An excessive calcium intake compared to magnesium could interfere with absorption, potentially resulting in magnesium deficiency and impacting various physiological systems [
2,
6,
8]. A dietary calcium-to-magnesium ratio of around 2:1 is thought to optimize the body’s demands for these two essential minerals’ roles in several physiological processes, including bone mineralization, cardiovascular function, and neuromuscular stability [
9]. However, research has linked a disproportionate dietary calcium intake (due to excessive or low calcium intake and low magnesium intake) in relation to magnesium, to adverse health outcomes, potentially counteracting magnesium’s beneficial effects on cardiovascular function and glucose metabolism [
2,
6,
10]. An accurate nutritional assessment of the dietary calcium-to-magnesium (Ca:Mg) ratio enables the identification of disruptions and assists in the customization of dietary recommendations to support cardiovascular and metabolic health.
Previous studies have linked a high dietary Ca:Mg ratio, often resulting from excessive calcium intake relative to magnesium, to several adverse health outcomes. This high dietary Ca:Mg ratio may increase the risk of metabolic syndrome, a group of conditions that include obesity, hypertension, insulin resistance, and dyslipidemia, all of which collectively increase the risk of cardiovascular disease [
1,
2,
6,
10]. Furthermore, an imbalance in the ratio of dietary Ca:Mg may lead to a decrease in bone mineral density and increase the risk of osteoporosis, particularly among populations with inadequate magnesium intake who are unable to effectively optimize calcium utilization [
1,
11]. A high dietary Ca:Mg ratio exacerbates magnesium deficiency, which could negatively impact endothelial function and cause inflammation, potentially accelerating the progression of both atherosclerosis and hypertension. Magnesium is essential for blood pressure regulation because it promotes muscular relaxation and regulates vascular tone. However, excessive dietary intake of calcium in comparison to magnesium could counteract these benefits, possibly increasing the risk of hypertension and other cardiovascular diseases [
6]. Furthermore, a high dietary Ca:Mg ratio may lead to vascular calcification; this condition plays a crucial role in the progression of atherosclerosis and significantly increases the risk of heart attacks and strokes.
Although previous studies have gained valuable insights, they have limitations, particularly when it comes to nutritionally assessing the dietary Ca:Mg ratio. Several studies have used 24 h dietary recalls in order to estimate magnesium and calcium intake, which might not be representative of individual dietary patterns over the long-term [
12]. The limitations of this method, including variability in daily intake and recall bias, may affect the accuracy of the dietary Ca:Mg intake assessments and constrain the reliability of conclusions regarding long-term health effects. Moreover, limited research has studied the impact of demographic factors, such as BMI, age, and race, on the calcium ratio in dietary intake, despite the potential significant influence of these factors on mineral metabolism. BMI, for example, may influence nutrient absorption, while age-related changes may impact mineral requirements. Additionally, racial or ethnic differences could also affect mineral absorption due to genetic and dietary variations [
2,
6,
12]. To better understand the health consequences of this ratio and to provide individualized recommendations, it is then important to fill these gaps.
These methodological drawbacks are coupled with the fact that the dietary adequacy of calcium and magnesium on a population scale would add much needed background to the interpretation of the dietary Ca:Mg ratio.
Dietary adequacy of calcium and magnesium has been shown to affect the regulatory processes of calciotrophic hormones and body composition. Lack of magnesium is common in the adult population, and a growing body of evidence has shown that Mg deficiency could reduce the metabolism of vitamin D and increase the concentration of parathyroid hormone (PTH), thus interfering with calcium homeostasis [
7,
13]. Conversely, calcium inadequacy is related to raised PTH and altered bone turnover. Studies on nutrient adequacy among demographic groups (sex, age, BMI, and race) show that the younger and leaner population is found to have better calcium adequacy, while magnesium inadequacy is common among women and the overweight population [
14,
15,
16]. Considering these physiological and demographic variations, the current study assessed participants to determine their adherence to the Recommended Dietary Allowances (RDA) of calcium and magnesium, providing an essential context in interpreting relationships between dietary ratios of Ca:Mg, PTH, and 25(OH)D levels.
The primary aim of this study is to assess the differences in the dietary Ca:Mg ratio of adult men and women and understand the effects of demographic and physiological factors on the dietary Ca:Mg ratio. This study aims to address shortcomings in previous studies through the use of validated Mineral FFQs developed particularly to estimate calcium and magnesium intake [
17].
Therefore, we hypothesized that the dietary Ca:Mg ratio differs among participants’ demographics, including age groups, BMI categories, racial groups, and genders. Additionally, we hypothesized that there would be an association between the dietary Ca:Mg ratio and body compositions (body fat and lean mass). Finally, we hypothesized that there is a relationship between the dietary Ca:Mg ratio and vitamin D, and this relationship is mediated by the parathyroid hormone levels, considering age and race as covariates that might influence the relationships among these variables.
2. Materials and Methods
Using data from previously completed studies (NCT03134417 and NCT03600675) [
11,
18], we assessed the relationships between the dietary Ca:Mg ratio, body composition and bone-regulating hormones.
2.1. Anthropometrics and Demographics
Participants were adults who participated in two previous studies that took place at the Bone Lab at Drexel University (Philadelphia, PA, USA): a cross-sectional study of Caucasian and South Asian Indian (SAI) men (NCT03600675) [
18] and a randomized, blind, placebo-controlled trial among overweight/obese adults (NCT03134417) [
11]. Both studies obtained approval from the Drexel University Institutional Review Board, and all participants provided written informed consent prior to the study’s execution. In the case of the cross-sectional study, the inclusion criteria were that the participants had to be Caucasian or SAI men between the ages of 20 and 60 years with a BMI less than 40 kg/m
2; SAIs were immigrants in the United States who had lived in the country for more than 2 years up to 5 years at the time of inclusion. In the randomized trial, the included participants were women and men with BMI > 25 kg/m
2 and aged 30–70 years who were otherwise healthy. Exclusion criteria were a diagnosis or condition that could affect vitamin D, magnesium, glucose, or calcium metabolism (e.g., type 2 diabetes mellitus, cardiovascular disease, kidney or liver disease, immune or autoimmune disorder, untreated thyroid disease, hypercalcemia, or bone disease), pregnancy or breastfeeding, acute illness, tobacco consumption, and alcohol consumption exceeding 30 g/day. There was no self-supplementation of vitamin D or magnesium; calcium or vitamin K supplements were only used in the randomized trial and noted. The medical history questionnaire was a standardized version that used demographics (self-reported race/ethnicity and date of birth), weight history, medication use, and vitamin/mineral and herbal supplement use.
Anthropometric measurements included weight using a calibrated scale and height using a stadiometer (Seca 700, Seca, Chino, CA, USA). Waist circumference was measured using a non-stretchable tape at the midpoint between the iliac crest and the lowest rib to assess central adiposity.
2.2. Dietary Assessment
Dietary Magnesium and calcium intake data were collected using the validated Magnesium-Food Frequency (Mg-FFQ) [
19] and Calcium-Food Frequency (Ca-FFQ) [
20] questionnaires. The 33-item semi-quantitative Mg-FFQ was designed to assess magnesium intake based on commonly consumed magnesium-rich foods such as leafy greens, nuts, seeds, whole grains, and dairy products. The International Osteoporosis Foundation endorsed the validated Ca-FFQ, which assesses calcium intake from various dietary sources and supplements [
20]. Dietary calcium and magnesium nutrient values were assessed using FoodWorks software version 17 (Long Valley, NJ, USA) for nutritional analysis and compared across the USDA nutrient database [
19,
20].
Trained research personnel administered Mg-FFQ and Ca-FFQ, collecting data on portion sizes and frequency of consumption for each food item. Nutritional values were calculated to determine the daily average dietary intakes of calcium and magnesium. The validation of both tools against 14-day food diaries demonstrated strong agreement and accuracy in capturing dietary intake over extended periods [
19,
20].
In the current analysis, dietary calcium and magnesium are assessed as the intakes of the foods recorded by Ca-FFQ. Calcium and magnesium supplements were not included in the dietary intake totals or in the calculation of the dietary calcium-to-magnesium (Ca:Mg) ratio. Using or not using supplements was determined through the medical history questionnaire in both studies; self-supplementation was not allowed to use vitamin D or magnesium in either study, but supplementation with calcium and vitamin K was allowed in the randomized only and noted. Drinking water intake and the mineral content of the drinking water (tap water and bottled water) were not calculated and thus not factored into the intake estimates.
Determination of Dietary Adequacy: Dietary Adequacy Classification for Calcium and Magnesium
The Institute of Medicine (IOM) was our measure of adequacy of dietary calcium and magnesium according to the Estimated Average Requirement (EAR) thresholds as our main criteria [
14,
15]. For the dietary magnesium, we have used the updated body weight-adjusted EAR values that represent the updated recommendations ([
14,
16], and a sensitivity analysis used the 1997 IOM values as a point of comparison. While age and sex EARs of dietary calcium were used to define dietary adequacy [
15]. Mean daily intakes of validated FFQs were compared with EARs of each participant, and they were classified as either adequate or inadequate. Only food intakes were recorded; however, supplementary sources and water sources of calcium and magnesium were documented separately from the participant medical forms. The differences between groups (in terms of adequacy (sex, age, race, and BMI)) were calculated by Pearson chi-square tests, and the
p-value under 0.05 was taken as statistically significant. The sensitivity analyses on RDA were performed to validate subgroup patterns. Separate models were run for magnesium (EAR and RDA) and calcium (EAR and RDA) adequacy definitions [
14,
15]. Interaction terms were included to test moderation, and indirect effects were estimated using bootstrapping for magnesium models. Due to small group sizes, calcium models used normal-theory standard errors to calculate confidence intervals.
2.3. Body Composition Analysis
The Dual-energy X-ray absorptiometry (DXA)—(DXA; Lunar iDXA, enCORE Software Version 17, GE Healthcare, Amersham, UK) was used to analyze body composition, which provides comprehensive measurements of visceral adipose tissue (VAT), fat mass, lean body mass, and bone mineral density (BMD).
2.4. Blood Chemistries
Using standard phlebotomy methods as described previously [
19,
20], blood samples were taken while the subjects were fasting and examined for biochemical markers related to bone health and metabolism. Using commercially available assay kits as described previously in the original studies, the serum concentrations of 25-hydroxyvitamin D (25OHD) and parathyroid hormone (PTH), critical regulators of bone health and mineral metabolism, were measured using test kits that are commercially available assay kits as described previously [
18]. Participants’ 25OHD levels were used to assess their vitamin D status, which is important for calcium absorption and bone metabolism, and PTH levels [
21].
2.5. Statistical Analysis Plan
Statistical analyses were conducted using IBM SPSS Statistics software version 29.9.2.9 (IBM Corp., Armonk, NY, USA: IBM Corp.,
https://www.ibm.com/products/spss-statistics (accessed on 18 January 2025)) [
22] and R Core R version 4.5.1 (13 June 2025 ucrt)—“Great Square Root” [
23]. The primary dependent variable was the dietary calcium-to-magnesium ratio (Ca:Mg). Secondary measures included nutritional and health variables, specifically total fat mass and lean mass assessed via dual-energy X-ray absorptiometry (DXA). Serum vitamin D concentrations (25OHD) were classified into three categories according to the American Clinical Association: deficient (<20 ng/mL), insufficient (20–29.9 ng/mL), and sufficient (≥30 ng/mL) [
24].
Independent demographic variables comprised age (18–29, 30–39, 40–49, ≥50 years), body mass index (BMI: underweight < 18.5, normal weight 18.5–24.9, overweight 25–29.9, obese ≥ 30), self-reported race, and gender.
Descriptive statistics for dietary Ca:Mg ratios, including medians, interquartile ranges (IQR), and 95% confidence intervals, were computed for each demographic subgroup. Normality of the data was assessed using the Shapiro–Wilk test, histograms, and Q-Q plots. Homogeneity of variances across groups was evaluated with Levene’s test.
Due to the non-normal distribution of the dietary Ca:Mg ratios, Kruskal–Wallis tests were utilized for comparisons across demographic groups, with post hoc pairwise analyses conducted using Mann–Whitney U tests, corrected for multiple comparisons with the Sidak adjustment, selected for its lower risk of type I error inflation compared to traditional methods.
Variables related to secondary aims (body composition, vitamin D levels) that violated normality assumptions underwent logarithmic transformation. Spearman’s rank correlation was employed to assess the association between the dietary Ca:Mg ratio and both total body fat and lean mass. Linear regression analyses were conducted on transformed variables to confirm robustness and identify potential predictors.
Exploratory moderated mediation analyses were performed to assess the direct and indirect effects of dietary Ca:Mg intake ratios, parathyroid hormone (PTH) concentrations, calcium and magnesium intakes, and vitamin D levels, while incorporating age and race as covariates. To investigate whether the relationship between the dietary calcium-to-magnesium (Ca:Mg) ratio and serum vitamin D levels is mediated by parathyroid hormone (PTH), and whether this mediation is conditional on demographic factors (age and race), we applied Hayes’ PROCESS Model 7 framework for moderated mediation [
25]. All analyses were conducted in R [
23] using the processR package [
26], which leverages the lavaan structural equation modeling package [
27] to implement conditional process models. Data were imported using readxl [
28] and preprocessed using dplyr [
29], a core component of the tidyverse suite [
30]. Data visualization and diagnostic plots were created using ggplot2 [
31].
In the moderated mediation model, the dietary Ca:Mg ratio, age, and race were specified as the independent variable (X), continuous moderator (W), and categorical moderator (Z), respectively; PTH was specified as the mediator (M), and vitamin D level was the outcome variable (Y). Continuous variables were mean-centered to enhance the interpretability of interaction terms. Model 7 tested whether the indirect effect of dietary Ca:Mg on vitamin D via PTH (a × b) was moderated by age and race. Conditional indirect effects were estimated using 5000 bootstrap samples to compute bias-corrected confidence intervals. Interaction terms (the dietary Ca:Mg × Age and the dietary Ca:Mg × Race) were included to test the moderation of both mediated and direct effects. This approach allowed for testing whether, and under what conditions, the mediation pathway was operative. Data visualizations for the moderated mediation were created with assistance from Claude AI (Anthropic) for figure design and layout optimization.
In the secondary analyses, we tested the hypothesis that the nutritional adequacy of magnesium and calcium affected the indirect impact of age and race on serum vitamin D through PTH. In the case of age, we employed the PROCESS Model 7 of Hayes, whereby age is used to predict PTH (a-path), vitamin D is used to predict PTH (b-path), and the a-path is moderated by magnesium or calcium adequacy (EAR and RDA definition) [
14,
15]. In the case of race, comparable moderated mediation analyses were estimated using nutrient adequacy (magnesium EAR/RDA and calcium EAR/RDA) [
14,
15] as covariates that are categorical. The estimation of indirect effects (a × b) consisted of 1000 bootstrap resamples of magnesium models; since the size of the subgroups was small, calcium models were built using normal-theory standard errors to build confidence intervals.
3. Results
Our primary hypothesis was that dietary calcium-to-magnesium (Ca:Mg) ratios differ across key demographic strata (race, age, BMI category, and gender). A total of 155 healthy participants were included in all analyses.
Table 1 describes the stratification of participants based on demographic categories such as race, gender, age, and Body Mass Index (BMI).
There were no differences in the dietary Ca:Mg ratio based on gender (U = 2.578, p = 0.425) or BMI (H(2) = 0.591, p = 0.744). However, there were significant differences in the dietary calcium-to-magnesium (Ca:Mg) ratios by race (H(4) = 11.30, p = 0.023) and by age group (H(3) = 10.16, p = 0.017). Specifically, for race differences, the dietary Ca:Mg ratio was significantly higher for SAI and Caucasians compared to Asians (Mdn = 3.08, IQR = 3.01) and African Americans, who exhibited the lowest dietary Ca:Mg ratio (Mdn = 2.67, IQR = 2.55). Interestingly, the highest dietary Ca:Mg ratio (Mdn = 4.73, IQR = 3.94) was observed in the youngest cohort (18–29 years) compared to the 40-to-49-year age group (Mdn = 2.80, IQR = 2.56), p = 0.017. The finding indicates that race and age influenced the dietary Ca:Mg ratios, whereas gender and BMI did not influence these values within this cohort.
3.1. Correlation Analysis
The correlation analysis (see
Table 2) showed some significant correlations in the overall sample. There was a substantial correlation of age to BMI (r = 0.364,
p < 0.001) and PTH (r = 0.224,
p < 0.01). In addition, as expected, a significant negative correlation was found between vitamin D and PTH (r = −0.169,
p < 0.05), showing that the higher PTH levels were associated with lower vitamin D levels.
Dietary Ca:Mg ratio did not have any significant correlation with fat mass or lean mass among females. In contrast, females (
n = 57) had a number of other significant relationships: age had a positive relationship with BMI (r = 0.265,
p < 0.05); BMI had a positive relationship with fat mass (r = 0.620,
p < 0.001) and a negative relationship with lean mass (r = −0.274,
p < 0.05); and PTH had a negative relationship with vitamin D (r = −0.312,
p < 0.05) (
Table 3).
3.2. Race Categories
This section on the results of ethnic variations in dietary Ca:Mg ratios extends on preliminary work presented in a conference paper [
32]. The Kruskal–Wallis H test revealed a significant difference in the dietary calcium-to-magnesium (Ca:Mg) ratios among racial groups (H(4) = 11.301,
p = 0.023). The findings indicated that South Asian Indians (SAI), who had the highest median dietary Ca:Mg ratio (Mdn = 4.83), displayed a greater mineral imbalance compared to other racial groups. Specifically, Caucasians (Mdn = 4.02) and African Americans (Mdn = 2.67) showed the lowest median ratios among the studied groups. Depicted in
Figure 1 are raincloud plots illustrating the distribution of the dietary calcium-to-magnesium (Ca:Mg) ratios across different racial categories (African American, Asian, Caucasian, Hispanic, and Other). Each plot combines a half-violin plot, a box plot, and individual data points, providing a comprehensive visualization of central tendency, spread, and density within each group.
The distribution of the dietary Ca:Mg ratios was found to differ significantly when comparing the race groups with the Kruskal–Wallis test (H(4) = 11.301,
p = 0.023). In
Figure 1, the Asian group exhibits the lowest median dietary Ca:Mg ratio and the most tightly clustered distribution, suggesting low variability. In contrast, the Other and African American groups show higher medians and broader spreads, with visible right-skewness and extreme values (potential outliers), indicating greater heterogeneity in the dietary Ca:Mg ratios. The Caucasian group displays a relatively symmetric distribution centered around a moderate dietary Ca:Mg ratio, while the Hispanic group has a narrower interquartile range but also shows moderate right-skewness.
These differences in distributional shape and central tendency across racial groups may reflect underlying variations in dietary intake, supplementation practices, or metabolic processing of calcium and magnesium. These distributional characteristics, such as skewness and outliers, lead to the use of non-parametric tests.
3.3. Age Categories
Kruskal–Wallis showed a significant association between the dietary Ca:Mg ratio and age groups, H(3) = 10.164, p = 0.017. The 18 to 29 group had the highest median dietary Ca:Mg ration, while the 40 to 49 group had the lowest median dietary Ca:Mg ratio: Mdn = 4.73, IQR = 3.94, and Mdn = 2.80, IQR = 2.56, respectively. Interestingly, pairwise comparisons, including post hoc Mann–Whitney tests, highlighted significant differences between the youngest (18–29 years) with the highest mean rank of 91.25 and the middled-age (40–49) age groups with a mean rank of 56.70. Raw data, untransformed, was used in the analysis.
Figure 2 shows horizontal raincloud plots of the dietary calcium-to-magnesium (Ca:Mg) ratio stratified by age group (18–29, 30–39, 40–49, 50+). Each group’s distribution is visualized using a density plot (top), a boxplot (middle), and raw data points (bottom), providing insight into both distributional shape and individual variation.
The 18–29 and 50+ age groups exhibit the broadest distributions, indicating greater variability in dietary Ca:Mg ratios than the middle-aged groups. Notably, the median dietary Ca:Mg ratio appears lowest in the 40–49 group and highest in the 50+ group. The presence of right-skewness in most age groups—particularly in the 18–29 and 50+ categories—suggests a subset of individuals with disproportionately elevated dietary Ca:Mg ratios. This pattern may reflect age-related physiological or dietary differences affecting mineral balance.
Dietary Ca:Mg ratios differed significantly by age (H(3) = 10.164, p = 0.017), with higher median ratios observed in the youngest (18–29 years; Mdn = 4.73, IQR = 3.94) and oldest (≥50 years; Mdn = 4.09, IQR = 4.23) groups compared with the middle-aged groups (30–49 years).
These distributional characteristics, such as skewness and outliers, also justify the use of non-parametric tests.
3.4. BMI and Gender
The Kruskal–Wallis test revealed no significant differences in the dietary Ca:Mg ratios among the different BMI groups, H(2) = 0.51, p = 0.744. Participants with a BMI ≥30 kg/m2 had a median dietary Ca:Mg ratio of 4.47 (IQR = 3.69), which was higher compared to those with a normal BMI (<24.9 kg/m2; Mdn = 3.76, IQR = 4.34) and those classified as overweight (Mdn = 3.62, IQR = 2.65). These findings indicate that BMI does not significantly impact the dietary Ca:Mg ratios across the studied groups. Similarly, the Mann–Whitney U test showed no significant differences in the dietary Ca:Mg ratios between genders, U (2578, p = 0.425). Males had a higher median dietary Ca:Mg ratio of 3.94 (IQR = 3.72), while females had a lower median of 3.65 (IQR = 2.45). The pattern was similar in the sex comparison of correlation with other variables; thus, in males, Ca:Mg was positively correlated with PTH (r = +0.203, p < 0.05) and negatively with vitamin D (r = −0.282, p < 0.01), but not with BMI, fat mass, and lean mass.
Food-only intake via FFQs; supplements and water minerals excluded.
Sensitivity analyses using RDA thresholds yielded lower adequacy percentages overall with similar subgroup patterns.
Table 4 depicts dietary magnesium adequacy versus body weight-adjusted thresholds of EAR [
14,
15]. Participants only achieved the magnesium adequacy criterion (food intake only) at 16.8%. There was also a significant difference in adequacy by sex (
p = 0.043) and race (
p = 0.028), with males and African American participants having a higher percentage of adequate Mg intakes. There were no significant associations between age and BMI. RDA-based sensitivity analysis showed reduced overall adequacy but maintained subgroup trends.
According to
Table 4, 45.8% of the participants were within the EAR of dietary calcium [
14,
15]. Adequacy was found to vary according to sex (
p = 0.041) and age (
p < 0.001), with the highest adequacy levels (74.5%) being among the younger (18–29) adults. It also had race-related differences (
p = 0.038), which were led mainly by increased adequacy by the South Asian Indian participants. The same trends existed with RDA thresholds, but the number of participants who met the adequacy criteria was lower.
3.5. Moderated Mediation Analysis
3.5.1. Race-Moderated Mediation Model
Model Results and Path Analysis
The overall race-moderated mediation model was a good fit (PTH mediator model: R2 = 0.184, F(8146) = 4.13, p < 0.001; vitamin D outcome model: R2 = 0.245, F(6148) = 8.01, p < 0.001). The correlation between the dietary Ca:Mg ratio and PTH was noted to be significant (a-path: b = 3.80, SE = 1.42, p = 0.007), implying that these higher ratios of dietary Ca:Mg are associated with higher levels of PTH. Vitamin D was substantially predicted by PTH (b-path = −0.089, SE = 0.022, p < 0.001), with higher PTH levels associated with lower vitamin D concentrations. A non-significant impact (c′:b = −0.34, p = 0.061) of the direct dietary Ca:Mg ratio relationship on vitamin D was indicative of complete mediation by PTH.
Conditional Indirect Effects by Race
The conditional indirect effects of Ca:Mg ratio on vitamin D status via PTH differed across racial eth/ethnic groups. The highest and most negative effect was observed among African American participants (b = −0.762, 95% CI [−1.298, −0.234]), suggesting that this group may be particularly susceptible to the dietary Ca:Mg related variations in vitamin D status. Caucasian participants also showed a significant negative indirect effect (b = −0.347, 95% CI [−0.672, −0.089]), consistent with the interpretation that elevated dietary Ca:Mg ratios may contribute to reduced vitamin D through increases in PTH. In contrast, the indirect effects were not significant in Indian South Asian participants (b = −0.152, [95% CI [−0.401, 0.043]]) and Asian participants (b= −0.237, [95% CI [−0.623, 0.089]]). Notably, Hispanic respondents demonstrated a positive but non-significant indirect effect (b = +0.267, 95% CI [−0.156, 0.789]), suggesting possible heterogeneity in the relationship that warrants further study.
3.5.2. Age-Moderated Mediation Model
Model Specification and Hypothesis
We hypothesized that the indirect impact of the dietary Ca:Mg ratio on vitamin D through PTH would be age-dependent, and the metabolism patterns across the age groups are different because of the age-dependent variations in the regulation and sensitivity to minerals and hormones. Two models (see
Figure 4) were estimated to test a moderated mediation framework in which the dietary calcium-to-magnesium intake ratio (Ca:Mg) was hypothesized to influence serum Vitamin D levels through parathyroid hormone (PTH) concentrations, and where Age was examined as a moderator of both the a-path (dietary Ca:Mg → PTH) and b-path (PTH → Vitamin D).
In Model 1, PTH was regressed on the dietary Ca:Mg, Age, and their interaction term (Ca:Mg × Age), testing for the moderation of the indirect effect’s first stage.
In Model 2, serum Vitamin D was regressed on the dietary Ca:Mg, PTH, Age, dietary Ca:Mg × Age, and PTH × Age, allowing for conditional direct and indirect effects depending on Age.
This model allows for both the direct effect of the dietary Ca:Mg on Vitamin D and the indirect effect via PTH to vary as a function of Age, constituting a second-stage moderated mediation model.
We tested whether Age moderated the indirect pathway linking the dietary Ca:Mg ratio to Vitamin D via PTH (Hayes Model 7; see
Figure 5). The dietary Ca:Mg ratio did not directly predict PTH (a1 = −0.251, 95% CI [−1.638, 1.136],
p = 0.671), whereas Age was positively associated with PTH (a2 = 0.550, 95% CI [0.169, 0.931],
p = 0.005). PTH negatively predicted Vitamin D (b1 = −0.047, 95% CI [−0.090, −0.003],
p = 0.033), with marginal evidence that this effect weakened with age (b3 = 0.095, 95% CI [−0.015, 0.205],
p = 0.091). The direct effect of Ca:Mg on Vitamin D was non-significant (c′ ≈ 0.01, 95% CI [−0.286, 0.435],
p = 0.958).
Conditional indirect effects indicated an age-dependent reversal: Younger adults showed a positive indirect effect (+0.078), middle-aged adults a near-zero effect (+0.012), and older adults a negative effect (−0.021). Thus, the dietary Ca:Mg ®PTH®Vitamin D pathway appears beneficial in early adulthood but attenuates and reverses with aging, consistent with age-related alterations in mineral hormone regulation. This a cautionary note, given the modest sample size and wide confidence intervals, these conditional effects should be interpreted as preliminary and warrant replication in larger cohorts.
3.6. Dietary Adequacy Classification for Calcium and Magnesium
3.6.1. Race-Related Moderated Mediation Including Nutrient Adequacy
This section summarizes a series of moderated mediation analyses testing the indirect effect of race on serum vitamin D levels through parathyroid hormone (PTH), with nutrient adequacy (magnesium and calcium) serving as categorical covariates. Analyses examined both EAR and RDA adequacy definitions, and statistical inference was based on 1000 bootstrapped replications. Separate models were run for magnesium and calcium adequacy to compare their effects.
Table 5 summarizes regression coefficients, standard errors,
p-values, indirect effects, and bootstrapped confidence intervals for each model.
Figure 6 below illustrates the estimated indirect effects (a × b) across all models with 95% bootstrapped confidence intervals.
Across all four models (Magnesium EAR, Magnesium RDA, Calcium EAR, Calcium RDA), the estimated indirect effects of race on vitamin D through PTH were negative, suggesting a consistent pattern in the data. However, none of the effects reached statistical significance, as all bootstrapped confidence intervals included zero. Additionally, the effects of race on PTH and of PTH on vitamin D approached but did not reach significance in several models.
These findings indicate that although there may be a directional association consistent with theoretical expectations, magnesium and calcium adequacy do not significantly moderate the indirect pathway between race and vitamin D via PTH in this sample.
The consistency of the indirect effect estimates across both nutrients and adequacy thresholds enhances the robustness of the findings, but the lack of statistical significance suggests that further studies with larger and more diverse samples are needed to validate these pathways.
3.6.2. Moderated Mediation Report: Age, PTH, Vitamin D with Magnesium and Calcium Adequacy
Table 6 summarizes the indirect effects (a × b) for all age-based models:
In models that included magnesium and calcium adequacy, the age effect on PTH was still positive, whereas the effect of vitamin D was negative.
Table 6 is the summary of the indirect effects of age-based models. In the case of magnesium, the indirect effect of age on vitamin D via PTH was small but significantly different with both EAR and RDA definitions of adequacy (EAR model indirect effect = −0.032, 95% CI −0.066, −0.005; RDA model indirect effect = −0.033, 95% CI −0.066, −0.007), suggesting that older age was indirectly related to less vitamin D. In contrast, the calcium adequacy models were not able to provide consistent estimates of the indirect effects due to low data values in various adequacy categories; indirect effects and confidence are not interpretable and are not emphasized further.