This paper solves numerically the intertemporal consumption and portfolio choice problem of an infinitely lived investor who faces a time varying equity premium. There is now considerable evidence that the excess return on stocks over Treasury bills is predictable (see Campbell 1987, Campbell and Shiller 1988, Fama and French 1988, 1989, Hodrick 1992, or the textbook treatment in Campbell, Lo, and MacKin lay 1997, Chapter 7). Merton (1969, 1971), Samuelson (1969), and Giovannini and Weil (1989) have shown that time variation in investment opportunities affects portfolio choice unless investors have unit relative risk aversion. But the large literature on the equity premium puzzle finds that average excess stock returns are too high to be consistent with a representative0investor model with unit relative risk aversion (see Campbell 1996, Cecchetti, Lam, and Mark 1994, Cochrane and Hansen 1992, Hansen and Jagannathan 1991, Kocherlakota 1996, Mehra and Prescott 1985, or the textbook treatment in Campbell, Lo, and MacKinlay 1997, Chapter 8). Therefore, it is important to analyze optimal consumption and portfolio decisions when there is time variation in the investment opportunity set and investors have risk aversion different from one.
The problem, however, is not trivial analytically. Nonlinearities in both the Euler equations and the intertemporal budget constraint make it extremely hard to find exact analytical solutions. Recently a few special cases have been solved. In a continuous time model with a constant riskless interest rate and a single risky asset whose expected return follows a mean0reverting AR(1) process, for example, the model can be solved if long lived investors have power utility defined over terminal wealth (Kim and Omberg 1996), or if investors have power utility defined over consumption and the innovation to the expected asset return is perfectly correlated with the innovation to the unexpected return, making the asset market effectively complete (Wachter 1999), or if the investor has Epstein0Zin utility with intertemporal elasticity of substitution restricted to equal one (Campbell and Viceira 1999, Schroder and Skiadas 1999).