A comparison of elasticities of demand obtained by different methods