Analysing the stability of demand-for-money equations