two determinants of aggregate demand