ipc_1994 <- c(Cote_Ivoire = 139.9, France = 110.2, Japon = 107.2, États_Unis = 114.6, Allemagne = 116.3,
Italie = 124.0, Royaume_Uni = 115.8, Sénégal = 128.5)
taux_change_1993 <- c(FCFA_USD = 294.78, USD_FRF = 5.89, USD_JPY = 111.85, USD_DEM = 1.72,
USD_ITL = 2340, USD_GBP = 0.68, FCFA_SEN = 1)
taux_change_1994 <- c(FCFA_USD = 534.60, USD_FRF = 5.34, USD_JPY = 99.74, USD_DEM = 1.54,
USD_ITL = 2379, USD_GBP = 0.64, FCFA_SEN = 1)
# Conversion des taux de change en termes de FCFA/monnaie partenaire
taux_change_1993_fcfa <- c(
France = taux_change_1993["FCFA_USD"] / taux_change_1993["USD_FRF"],
Japon = taux_change_1993["FCFA_USD"] / taux_change_1993["USD_JPY"],
Allemagne = taux_change_1993["FCFA_USD"] / taux_change_1993["USD_DEM"],
États_Unis = taux_change_1993["FCFA_USD"],
Italie = taux_change_1993["FCFA_USD"] / taux_change_1993["USD_ITL"],
Royaume_Uni = taux_change_1993["FCFA_USD"] / taux_change_1993["USD_GBP"],
Sénégal = taux_change_1993["FCFA_SEN"]
)
taux_change_1994_fcfa <- c(
France = taux_change_1994["FCFA_USD"] / taux_change_1994["USD_FRF"],
Japon = taux_change_1994["FCFA_USD"] / taux_change_1994["USD_JPY"],
Allemagne = taux_change_1994["FCFA_USD"] / taux_change_1994["USD_DEM"],
États_Unis = taux_change_1994["FCFA_USD"],
Italie = taux_change_1994["FCFA_USD"] / taux_change_1994["USD_ITL"],
Royaume_Uni = taux_change_1994["FCFA_USD"] / taux_change_1994["USD_GBP"],
Sénégal = taux_change_1994["FCFA_SEN"]
)
# Calcul du TCER pour 1993
tcer_1993 <- sum(sapply(names(pondérations), function(pays) {