Hello here,
I want to obtain Energy Adjusted Dietary Inflammatory Index (DII). I used Proc surveyreg to run linear regression and obtain an output data set containing predicted values and residual Dietary inflammatory index values by modelling DII as dependent variables and Total energy intake as independent variable. To assume actual intake, I must add a constant to these residuals. This constant is the predicted DII value at mean total Energy intake according to Walter willett's paper "Adjustment for total energy intake intake in epidemiological studies".
I don"t know how to write the sas code to obtain that constant. I need your help. Thanks.