Chronic exposure assessment, daily consumed foods¶
Model based usual intake¶
Foods are consumed on a daily basis.
For individual i on day j let Yij denote the 24 hour recall of a food (i=1…n;j=1…ni). In most cases within-individual random variation is dependent on the individual mean and has a skewed distribution. It is therefore customary to define a one-way random effects model for Yij on some transformed scale
with bi∼N(0,σ2b) and wij∼N(0,σ2w)
Note that bi represents variation between individuals and wij represents variation within individuals between days.
The mean μi may depend on a set of covariate Zi=(Zi1,…,Zip):
where β0 and β1 are regression coefficients.
The usual intake Ti for an individual i is defined as the mean consumption over many many days. This assumes that the untransformed intakes Yij are unbiased for true usual intake rather than the transformed intakes Y∗ij. In mathematical terms Ti is the expectation of the intake for this individual where the expectation is taken over the random day effect:
Model based usual intake on the transformed scale¶
For the model based usual intake first note that the conditional distribution
It follows that the usual intake Ti is given by
Model based using a logarithmic transformation¶
For the logarithmic transform the usual intake Ti can be written in closed form using the formula for the mean of the lognormal distribution:
In this case Ti follows a log-normal distribution with mean μi+σ2w/2 and variance σ2b. This fully specifies the usual intake distribution, e.g. the mean and variance of the usual intake are given by
Model based using a power transformation¶
For the power transformation the integral can be approximated by means of N-point Gauss-Hermite integration. This results in the following usual intake
with p the inverse of the power transformation. A similar approximation can be used for the Box-Cox transformation. There can be a small problem with Gauss-Hermite integration. The summation term (μi+bi+√2σwxj)p can not be calculated when the factor between round brackets is negative and the power p is not an integer. This can happen when (μi+bi) is small relative to the between day standard error σw. In that case the corresponding term is set to zero. This is not a flaw in the numerical method but in the statistical model since the model allows negative intakes on the transformed scale which cannot be transformed back to the natural scale. The mean and variance of Ti can be approximated again by using Gauss-Hermite integration:
An alternative method for obtaining model based usual intakes for the power transformation employs a Taylor series expansion for the power, see e.g. Kipnis et al. (2009). This is however less accurate than Gauss-Hermite integration. For the power transformation simulation is required to derive the usual intake distribution: simulate a random effect bi for many individuals and then approximate Ti for these individuals. The Ti values then form a sample form the usual intake distribution.
Model assisted usual intake on the transformed scale¶
The model assisted approach employs a prediction for the usual intakes of every individual in the study. This requires a prediction of the individual random effect bi for every individual.
In the one-way random effects model the Best Linear Unbiased Prediction for (μi+bi) is given by
in which ˉY∗i is the mean of the transformed intakes for individual i. BLUPs have optimal properties for some purposes, but not for the purpose of representing the variation σ2b between individuals. This can be seen by noting that
and thus
which is smaller than the between individual variance σ2b. As an alternative a modified BLUP can be defined by means of
which has the correct variance σ2b and also the correct mean μi. However these optimal properties disappear when modified BLUPs are directly backtransformed to the original scale.
Model assisted using a logarithmic transformation¶
For the logarithmic transformation the usual intake Ti follows a log-normal distribution with mean μi+σ2w/2 and variance σ2b. If we can construct a BLUP like stochastic variable with the same mean and variance, then this variable be an unbiased predictor with the correct variance. It is easy to see that the following variable has the same distribution as Ti
So the model assisted individual intake exp(modelassistedBLUPi) has the same distribution as the usual intake and is thus the best predictor for usual intake.
Kipnis et al. (2009) employs the conditional distribution of bi given the observations Yi1,⋯,Yini to obtain a prediction. First note that
Since all distributions in the one-way random effects model are normal it follows that:
where the last parameter represents the covariance between bi and ˉY∗i. It follows that the conditional distribution
with
and
A prediction for the usual intake Ti=F(bi) is then obtained by the expectation
For the logarithmic transform F(bi)=exp(μi+bi+σ2w/2) and the expectation reduces to
which is a function of ˉY∗i through μc. To obtain the mean and variance of the prediction note that
It follows that the expectation of the prediction equals
which equals the mean of the usual intake. However the variance of the prediction equals
Which is less than the variance of the usual intake. The approach of Kipnis et al. (2009) will therefor result in too much shrinkage of the model assisted usual intake.
Model assisted using a power transformation¶
For the power transformation a model assisted BLUP with optimal properties, as derived above, cannot be constructed. The approach of Kipnis et al. (2009) can however be used to obtain a prediction in the following way. First approximate Ti=F(bi) by Gauss-Hermite integration:
Secondly again use Gauss-Hermite to approximate the expectation of the conditional distribution giving the prediction Pi.
which is a function of ˉY∗i through μc. It is likely that the thus obtained predictions Pi have a variance that is too small. If we would know the mean μiP and variance σ2iP of the predictions, the predictions could be linearly rescaled to have the correct mean μiT and variance 2iT. The mean and variance of the prediction can be calculated using Gauss-Hermite integration.
The proposed prediction then equals