Intro
Evidence suggests that higher vitamin D status is associated with a decreased risk of various cancers and chronic diseases, beyond its essential role in bone health [ 1 ]. In epidemiologic studies examining vitamin D deficiency as a risk factor for disease, vitamin D status is measured as the serum concentration of 25-hydroxyvitamin D (25[OH]D) [ 2 ]. However, for large-scale health surveys, measuring 25(OH)D concentration for each participant is not always feasible because of the logistics of blood collection and the costs of vitamin D testing.
To overcome this problem, it has been common to use an indicator of vitamin D status, such as latitude or level of solar ultraviolet radiation, as a proxy for 25(OH)D [ 3 – 5 ]. Recent studies have however shifted toward using multivariable linear regression models to predict 25(OH)D concentration [ 6 ]. Briefly, the relationship between measured 25(OH)D concentration and determinants is identified by multivariable linear regression within a subset of participants. Based on the estimates derived, the unobserved 25(OH)D concentration is predicted and then the predicted value is used to analyze the association with the health outcome of interest. This methodology has been used to demonstrate a protective association between vitamin D sufficiency and risk of various cancers [ 6 – 9 ].
Here we firstly restate this approach in a simple but general mathematical framework. We deduce that the variables, called instrumental variables, which appear only in the multivariable linear regression for the prediction, but not in the health outcome equation, are vital for the correct identification of the association between 25(OH)D concentration and the health outcome. If the instrumental variables are in fact associated with the health outcome, and therefore are invalid as instruments, the estimated effect may be significantly biased. We then use Monte Carlo simulation and real data from the National Health and Nutrition Examination Survey (NHANES) to demonstrate this potential bias. Overall, we highlight problems that may occur when using this methodology to gain a better understanding of the potential for misleading results due to the use of invalid instrumental variables.
Recent studies using predicted 25(OH)D concentrations based on multivariable linear regression to investigate associations between vitamin D status and health outcomes, such as incidence of cancers, diabetes, or Crohn’s disease are summarized in Table 1 .
a Adjusted for waist circumference in Stage II ;
b Since backwards stepwise regression was employed, the instrumental variables used varied across regressions.
This is a two-stage, two-dataset method.
The determinants of 25(OH)D concentration are identified based on the analysis of a subset of the full dataset which is assumed to be representative of the whole sample. Measured 25(OH)D concentration is available in this subset. The following model is estimated:
D = a x + d z + e , (1)
where x and z are the possible determinants of 25(OH)D concentration, D , and e is the error term. For the sake of simplicity, x and z are assumed to be single variables, however, the derivation can be generalized to the case of multiple regression by allowing x and z to be vectors. Furthermore, either x or z is assumed to be uncorrelated with e , and so the parameter estimates, a ^ and d ^ are unbiased.
In the Full Dataset, the Missing 25(OH)D Concentration (“Score”) Is Predicted as
The predicted 25(OH)D score, D ^ , is used as a proxy for the real 25(OH)D concentration, even for those with measured values.
Here we use the Cox proportional hazard model in Stage II as an example, as it has been widely used in the research-to-date that has employed this approach. The form of the model is:
H ( t ) = h 0 ( t ) exp ( α x + β y + θ D ^ ) , (3)
where H ( t ) and h
0 ( t ) are the hazard rate and the baseline hazard respectively.
In this example, x is a common covariate in Stage I and II and in practice includes, for example, age and sex; y appears only in Stage II and is a factor associated with the health outcome but not with 25(OH)D concentration, for example, vegetable and fruit intake and family history of the disease. The variable z is excluded from Stage II . The exclusion of z (hereafter, referred to as an “instrumental variable”) from Eq ( 3 ) is necessary to avoid a problem with multicollinearity that arises because D ^ is a linear combination of x and z (using the predictive model derived in Stage 1 ) [ 10 ]. If x , z and D ^ are all introduced, most computer software packages will drop one of them and the estimation will be equivalent to that of Eq ( 3 ). Among papers utilizing this approach, variables such as geographic residence, vitamin D intake, race, alcohol intake and variants of genes, are used as instrumental variables Table 1 .
There are two important requirements of a valid instrumental variable. First, it must be significantly associated with the 25(OH)D concentration, D , conditioning on x ; and, second it should not be a risk factor for the disease of interest except through its effect on D . If the first requirement is not satisfied, the estimated standard error of the association between the 25(OH)D score and the health outcome may be very large and/or the effect estimate will be inconsistent. However, this problem is easily detected and avoided in practice, since whether z is statistically significant in Stage I can be easily checked. We will not discuss this problem further.
We examine the effect of violation of the second requirement, that an instrumental variable should not be a risk factor for the disease except through its effect on D . This cannot be detected statistically and may result in bias in the estimate of interest.
Consider theoretically,
H ( t ) = h 0 ( t ) exp ( α x + β y + δ z + θ D ^ ) ; (4)
Here, z is employed as an instrumental variable although it is not valid, and Eq ( 3 ) is estimated. As demonstrated in S1 Appendix , the bias in the estimated effect of 25(OH)D concentration on the health outcome is δ / d ^ where d ^ is the estimate of the association between measured 25(OH)D concentration and z . The intuitive explanation is illustrated in Fig 1 . That is, the bias occurs because the direct association between z and the health outcome, H ( t ), forms part of the association between 25(OH)D concentration, D , and the health outcome, H ( t ). Thus, on the one hand, the bias is positively associated with δ (i.e. the larger the effect estimate of the association between z and the health outcome, the greater is the contribution of that association to the association of z with 25(OH)D, D ). On the other hand, the stronger the association between z and D , the greater is the ‘proportion’ of the association between z and the health outcome that is working via the 25(OH)D concentration, and the smaller the ‘proportion’ that is the direct association between z and the health outcome. As a result, the bias is inversely associated with d .
In theory, the total effect of z on health outcome, H, is δ + θd . In practice, using z as an instrumental variable causes bias in the estimated effect of the 25(OH)D score, D , on the health outcome, because the direct effect of z on the health outcome is incorrectly captured as being mediated by D .
These deductions can be generalized to generalized linear models (GLMs), such as linear, logistic, or Poisson regression [ 11 , 12 ]. In these cases, α x + β y + θ D ^ is the linear predictor in the GLM framework.
In order to assess the empirical importance of correctly choosing the instrumental variables, we implemented Monte Carlo simulations to generate a series of virtual datasets as well as examining real data from NHANES 2005–2006 to examine the association between 25(OH)D concentration and systolic blood pressure.
Results
The effect estimates for the different variables, based on virtual samples for all three specifications, are in Table 2 . The results confirmed that valid instrumental variables are essential for the estimates to be unbiased. If the instrumental variable is invalid, the bias in the estimated effect of 25(OH)D on the health outcome ( θ ) can be large, even if all of the coefficients in these models are reasonably small. For example, when d
1 and δ
1 were 0.2 and 0.4 respectively, the bias was 2 ( δ
1 / d
1 = 0.4/0.2), with the estimated coefficient nearly five-fold higher than the “real” (pre-set) value of θ (see Specification I Table 2 ). For Specification II (using z
1 and z
2 as instrumental variables), the bias in the estimate of the association between 25(OH)D and the health outcome, ( θ ) remained significant (p<0.001) but was smaller. Only when the instrumental variable is valid are the estimates statistically identical to the pre-set values (Specification III).
a
z
1 is the only instrumental variable, but it is invalid;
b
z
1 and z
2 are the invalid and valid instrumental variables respectively;
c
z
2 is the only instrumental variable, and it is valid. Specification III is correct.
Fig 2(A) shows that the bias in the estimate of θ is inversely correlated with the magnitude of the association between z
1 and 25(OH)D concentration. The results, when d
1 is very close to 0, are not shown because the bias is theoretically infinite. The bias caused by the invalid instrumental variable decreases with increasing δ
1 . When δ
1 is zero, z is a valid instrumental variable and the estimate is unbiased. Further, the comparison between Specification I and II suggests that, although the introduction of a valid instrumental variable improves the performance of the model, bias is still present.
Fig 2(B) shows that the estimate of θ increases almost linearly with the association between z and the health outcome. Again, bias is absent only if δ
1 is equal to zero. A valid instrumental variable is helpful to identify the presence of an association between the 25(OH)D score and the health outcome, but the effect estimate is biased.
Table 3 presents summary data on the 4,002 adults in NHANES 2005–06 who had complete information on blood pressure and 25(OH)D concentration. Severe vitamin D deficiency was more common in participants who were overweight or obese compared to those of normal weight (p<0.001). Mean systolic blood pressure increased across categories of lower vitamin D status (p<0.001).
a P values were derived from Kolmogorov-Smirnov tests;
b P values for trend (two-sided) were derived from trend tests.
The results in the first column of Table 4 show that the measured 25(OH)D concentration was inversely associated with systolic blood pressure after controlling for age, sex, and overweight or obesity status (β = -0.16 (95% CI: -0.21, -0.11; p<0.001)). In addition, systolic blood pressure was positively and significantly associated with overweight status: when BMI was greater than 25, the systolic blood pressure was higher by 3.13 (95% CI: 2.08, 4.18; p<0.001) mm Hg.
The results of the OLS linear regression in Stage I based on the measured 25(OH)D concentration, shown in Column (2) of Table 4 , suggested that overweight or obesity status was a significant predictor of 25(OH)D concentration. Compared to a BMI of ≤25, a BMI of greater than 25 was associated with a 3ng/ml lower measured 25(OH)D concentration (β = -3.16; 95% CI: -3.79, -2.53 ng/mL; p<0.001). The Stage II estimate for the association between the predicted 25(OH)D score and systolic blood pressure, where overweight or obesity status was employed as the instrumental variable, was β = -1.15 (95% CI: -1.48, -0.82; p<0.001) (Column (3) of Table 4 ). This is significantly different from the estimate based on the measured 25(OH)D concentration (Column (1) of Table 4 ) (p<0.001).
In addition, because the coefficient of the association between overweight or obesity status and systolic blood pressure was 3.13, and that between overweight or obesity status and 25(OH)D concentration was -3.16 (See Column (1) and (2) of Table 4 respectively), the bias is theoretically -0.99 (= 3.13/-3.16) when overweight or obesity status is used as the instrumental variable. Thus, the estimated effect of the predicted 25(OH)D score on systolic blood pressure is β = -1.15 (= [-0.16] +[-0.99]), that is, the sum of the estimated effect of the measured 25(OH)D concentration in Column (1) of Table 4 and the bias. This is statistically identical with the estimate in column (3) of Table 4 , -1.15 (95% CI: -1.48, -0.82).
Conclusions
The results indicate that the prediction of 25(OH)D concentration based on multivariable linear regression may be correct, but care needs to be taken when applying this methodology. Even if only one of the instrumental variables used is invalid, the estimates of the association between 25(OH)D concentration and the health outcome will be unreliable. It should be noted that the second requirement of a valid instrument variable, that it should not be a risk factor for the disease, cannot be test mathematically or statistically and can only be judged according to biological findings from past research. Thus, the reasons for the choice of instrumental variables should be discussed, and the lack of correlation with the health outcome confirmed. Previous studies using this methodology have not provided an adequate consideration of the potential biases that could occur. For example, several papers used variables such as physical activity, BMI, smoking status, alcohol intake and race as instrumental variables, despite substantial evidence these factors are strongly associated with many diseases, including the outcomes of interest [ 6 , 15 – 18 ]. Vitamin D intake has also been used as an instrumental variable [ 8 , 19 ], but may also be associated with disease risk as a marker of a healthier lifestyle and thus lower disease risk [ 20 ].
In some studies, stratification by a potential confounder, or meta-analysis of findings have been used to indicate a greater likelihood of a “real” finding. However, a stratified analysis cannot demonstrate that the results are “correct” or robust. For example, where BMI is used in the predictive model for 25(OH)D score, then the effect estimate of 25(OH)D score on the health outcome, e.g. digestive cancer, may be compared across strata of BMI. Higher BMI is a known risk factor for digestive cancer and is therefore an invalid instrumental variable. In this case, if the effect estimates from the two strata are the same or similar, then the conclusion may be that the association between 25(OH)D score and the health outcome is the same for both strata, or, alternatively, that the bias caused by the invalid instrumental variable plus the real association is the same for both strata. But it is not possible to distinguish between these two possible conclusions. Similarly, meta-analysis does not help although it is useful to estimate the summary effects over a number of previous studies particularly when the sample size in any single study is insufficient. If all of the individual studies use invalid instrumental variables, all of the effect estimates are biased, and the weighted average of these biased estimations will be similarly biased.
Most recently, variants of genes that affect 25(OH)D synthesis or substrate availability (e.g. CYP2R1 , GC and DHCR7 ) have been used as instrumental variables either individually or through creation of a genetic score that acts as a proxy for long-term 25(OH)D levels [ 21 ]. This method does not predict 25(OH)D levels per se, but may be more disease-relevant than a single 25(OH)D measurement for which intraclass correlation coefficients range from 0.42–0.72 between 2 direct measures taken 2–14 years apart [ 6 , 22 – 24 ]. The substrate from which vitamin D is synthesised is 7-dehydrocholesterol (7-DHC) located in epidermal cells of the skin. The DHCR7 gene encodes the enzyme 7-DHC reductase and both 7-DHC and 7-DHC reductase are part of the cholesterol biosynthesis pathway. Using a genetic synthesis score, a recent meta-analysis showed a modest association between higher genetically instrumented 25(OH)D concentration and lower systolic blood pressure A valid instrument has an effect on the outcome only through the factor that it is a proxy for, in this case 25(OH)D concentration. In the recent study, the synthesis score was highly correlated with measured 25(OH)D concentration, but also had an overall association with higher serum total cholesterol (p = 0.04), suggesting a possible separate pathway of effect of this genetic score on higher systolic blood pressure. Thus genetic 25(OH)D scores should also be used as instrumental variables with caution, given the pleiotropic effects of some vitamin D pathway genes, e.g. GC and its association with lipid metabolism, inflammation and metabolic feedback loops.
In practice, it is common to generate a dichotomous variable based on the predicted score to categorize participants as suffering from vitamin D deficiency or not, and this further complicates the situation. In this situation, the bias caused by use of an invalid instrumental variable will be further distorted by the distribution of the predicted 25(OH)D score. The direction of the bias cannot be determined theoretically.
The method discussed here is similar to the method of Two-Stage Least Squares (2SLS) which is widely used to estimate causal relationships in economics [ 25 , 26 ]. Differences between the two methods include that 25(OH)D concentration is available in the main data for Stage 1, but not Stage II, while 2SLS usually uses the same dataset in both stages. The 2SLS method aims to solve the bias caused by omitted confounders; an instrumental variable can be used only if it: 1) has a strong association with the variable (exposure) of interest; and 2) is not an independent risk factor for the outcome. These two criteria also apply for the methodology using a predicted 25(OH)D score.
Although applying the predicted 25(OH)D score method to identify the association between 25(OH)D concentration and health outcomes is not straightforward, there are clinical applications for predicted data. Recently there have been large increases in vitamin D testing in several countries due to concern about possible widespread vitamin D deficiency and purported links to a wide range of health risks [ 27 ], with considerable costs to healthcare systems [ 28 ]. One solution to reduce unnecessary tests is to predict those who are at high risk of vitamin D deficiency using available data, and test only these people. However, when predicted levels are used in large-scale epidemiological studies seeking to clarify links between vitamin D status and disease risks, there is considerable risk of bias in the estimates of effect arising from incorrect specification of an instrumental variable. This must be fully considered and discussed in studies using this methodology.
Materials|Methods
The Monte Carlo design assumes the 25(OH)D concentration is generated according to the following linear equation
We set a
0 = 0.1, a
1 = 0.4, d
1 = 0.2 and d
2 = 0.3. The covariates, x , z
1 and z
2 are all drawn independently from the standard normal distribution, and the error term e from a uniform distribution between -0.5 and 0.5.
The hazard of the health outcome is defined as a function of x , y, z
1 and D .
We set α
1 = 0.1, β = 0.3, δ
1 = 0.4, θ = 0.5 and h
0 ( t ) = 1. The covariate y was drawn from the standard normal distribution independently.
The method for the generation of the survival time for the proportional hazard models is introduced in S2 Appendix . Furthermore, in order to show how the bias changes with either of d
1 or δ
1 , d
1 was set to change from -1 to 1 with a step size of 0.1 with δ
1 fixed at 0.4; and δ
1 was set to change from -1 to 1 with a step size of 0.1 with d
1 fixed at 0.2. For each level of d
1 and δ
1 1,000 datasets with 5,000 observations were generated. Note, z
2 is always a valid instrumental variable; however only when δ
1 = 0, is z
1 valid because only in this case is z
1 not an explanatory factor for the health outcome.
When estimating, three specifications were employed. In Specification I, only z
1 is used as an instrumental variable. In other words, z
1 is included in the equation to predict 25(OH)D score, but not in the equation testing the association with the health outcome. In Specification II, both z
1 and z
2 are used as instrumental variables, and in Specification III, only z
2 is used as an instrumental variable. Hence, only Specification III is correct and the estimates arising should be unbiased.
The means of the estimated association with the health outcome over the 1,000 datasets for each level of d
1 and δ
1 were compared with each actual value.
The methodology for NHANES 2005–06 is well-described elsewhere [ 13 ]. Briefly, the survey is designed to assess the health and nutritional status of adults and children in the United States. NHANES 2005–06 was the seventh NHANES and included more than 10,000 participants from 30 sites across the United States. The data from this survey are used here as 25(OH)D concentration is available on a large sample size.
We chose to examine the association between 25(OH)D concentration and systolic blood pressure (as the health outcome of interest) as an example. It is unclear that there is any causal relationship between 25(OH)D level and blood pressure. Nevertheless the association is used here to demonstrate the potential bias caused by the use of an invalid instrumental variable. Exclusion of data from participants with missing values for 25(OH)D concentration or with fewer than three readings of systolic blood pressure and children (aged<18 years), resulted in a final sample of 4,002 participants. The missing data for 25(OH)D concentration and systolic blood pressure were missing at random [ 14 ]; specifically, missingness was associated with gender and overweight or obesity status
The dependent variable, systolic blood pressure, is continuous; thus ordinary least squares regression (OLS) is used for Stage II . This also provides an opportunity to test the generalizability of our theoretical analysis.
First, we estimated the association between 25(OH)D concentration and systolic blood pressure. The results were used as the benchmark against which to check whether there was bias caused by use of invalid instrumental variables. Covariates included age, sex (reference category = ‘Female’), and overweight or obesity status (reference category = ‘BMI≤25’).
Next, we developed a predictive model for 25(OH)D concentration using a multivariable OLS linear regression model ( Stage I ). The determinants of 25(OH)D concentration included sex, and overweight or obesity.
In Stage II , we used the same dataset but set all of the values of 25(OH)D concentration to be missing, and replaced these with a predicted 25(OH)D score derived from Stage I . We used OLS regression again, using sex and the predicted 25(OH)D score to assess the association between 25(OH)D score and systolic blood pressure ( Stage II ). Thus, the instrumental variable of interest was overweight or obesity status (included in Stage I , but not Stage II ). There are many potential explanatory variables in both stages; however, use of only overweight/obesity is sufficient to illustrate the outcome of using an invalid instrumental variable.
All analyses were performed using Stata 11.
Supplementary Material
(DOCX)
Click here for additional data file.
(DOCX)
Click here for additional data file.
Text is read by the "Ask this paper" AI Q&A widget below.
Extraction quality varies by source — PMC NXML preserves structure
cleanly, OA-HTML may include some navigation residue, and OA-PDF can
have broken hyphenation. The publisher copy
(via DOI)
is the canonical version.