This is a book on stochastic dynamic macroeconomics from a Keynesian perspective. It shows that including Keynesian features in intertemporal models considerably contributes to resolve major puzzles arising in the context of the Dynamic General Equilibrium (DGE) model. It also demonstrates that including microeconomic intertemporal behavior of economic agents in macroeconomics is not inconsistent with Keynesian economics.