Gheary Khamis world prices and quantity index
gk.Rd
Calculates the Gheary Khamis "world prices" and the corresponding quantity index (normalized by the prices of the last good being set to unity).
Arguments
- P
An m x n matrix (or dataframe) of prices (row country, column goods).
- Q
An m x n matrix (or dataframe) of quantities (row country, column goods).
- pop
Optional m-vector of population numbers (if Q is per capita).
Details
For the Gheary Khamis index, it makes a difference whether the quantities are total country-numbers or if they are per capita numbers. If the quantity matrix is per capita, one should also supply a population vector for the proper weighting. If per capita quantities are supplied, the quantity index returned are also per capita.