We want to do a substitution analysis to estimate substitution effects of healthy foods for potato in a realistic setting, we used a serving-based replacement to assess potential effects of substituting consumption of whole grains for consumption of potatoes. According to Walter Willett suggested calculation: "By including continuous variables of whole-grain intake and potato food intake in the same model, point estimates and variances for each exposure and the covariance between them were obtained. Point estimate for the replacement of potato foods with whole grains was calculated as the differences in point estimates of whole grains and potatoes, and SE was calculated: the square root of the sum of their variances - (2 * covariance)." Unfortunately, we cannot found wisely SE for substitution after several times calculation. Do you ever use this analysis? Can you help us for calculation please?
Also, in Wallett’s formula, "variances" means HR's variance? or variable variance? The formula is not clear for us at all. Also, there is no any description in internet and other papers.
Our data is as following:
Variance for potatoes (not HR variance)= 1472
Variance for whole grains= 21565
Covariance = 393
HR for potatoes= 0.96
HR for whole grain = 0.99