# Use predicted or actual values for 'unknown' independent variables in linear regression?

When performing linear regression for the sake of prediction, I am left with the conundrum of whether I should use the actual values of the independent variables or the values I would have predicted for those independent variables. This obviously only concerns independent variables that have to be predicted, and not ones whose values are known before the observation of the dependent variable took place.

For example, let’s say you’re trying to predict the annual growth of a tree, using last year’s tree growth rate and current year rainfall (and assume you’re going to use linear regression for this prediction). When running the regression over a dataset of, say, 50 years - should you use what the rainfall actually was for each year or what you would have had predicted the rainfall would be for each year? Keeping in mind that, when it comes to predicting ‘n.ahead’, you are going to have to use a predicted value for that year’s rainfall. Note also that you won’t have this problem with the other independent variable (last year’s tree growth rate) as this is known at the point of prediction.

And if you should use predicted values but you can’t assemble the necessary data to make the predictions for the previous 50 years, is it a mathematically sound alternative to use actual values instead?