Factors affecting cost of living