Calculate cost of living index number by family budget method.
Consumer price index number by family budget method
w = Weights.