The problem of optimal wealth allocation is solved under the assumptions that interest rates are stochastic and stock returns are predictable with observed and unobserved factors. The stock risk premium is taken to be an affine function of the predictive variables and the stock return volatility...