Stochastics and partial differential equations in macroeconomics