View source: R/building_blocks.R
p_fisher | R Documentation |
The Fisher ideal index takes the geometric mean of the Paasche and the Laspeyre indices. If there are m countries and n goods, the data are (m x n) matrices.
p_fisher(P, Q)
P |
An m x n matrix of prices (row country, column goods). |
Q |
An m x n matrix of quantities (row country, column goods). |
An m x m matrix of country pair comparisons.
Pt <- matrix(1:6, ncol = 2) Qt <- matrix(2:7, ncol = 2) p_fisher(Pt,Qt)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.