Methods of macroeconomic dynamics