SUMMARY A spectral estimate of the generalized prediction variance of a stationary time series is considered and a modification which uses a frequency domain regression to allow for the effect of exogenous variables is introduced. Strong consistency and a central limit theorem are proved for this estimate and for several statistics derived from it. The results of some simulations are presented, together with the results of application to two published sets of data.