Skip to contents

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.

Usage

p_fisher(P, Q)

Arguments

P

An m x n matrix of prices (row country, column goods).

Q

An m x n matrix of quantities (row country, column goods).

Value

An m x m matrix of country pair comparisons.

Examples

Pt <- matrix(1:6, ncol = 2)
Qt <- matrix(2:7, ncol = 2)
p_fisher(Pt,Qt)
#>          [,1]     [,2]      [,3]
#> [1,] 1.000000 0.754298 0.6017806
#> [2,] 1.325736 1.000000 0.7981460
#> [3,] 1.661735 1.252904 1.0000000