Closed MoujibChahid closed 1 year ago
I'd like to point out that all the fields relating to the results of sensitivity and uncertainty analyses are empty (see example below), since they've already been calculated by COINr. I think this is the crux of the problem, and precisely the reason why the graphs are empty.
N.B.: I even activated the "ggplot2" library in case it could help me solve the problem, but it didn't work.
$Sensitivity Variable Si STi Si_q5 Si_q95 STi_q5 STi_q95 1 Normalisation NA NaN NA NA NA NA 2 Weights NA NaN NA NA NA NA 3 Aggregation NA NaN NA NA NA NA
I managed to fill in the "right" addresses for the various assumptions. Now, all calculations run without error and/or confirmation messages indicating a "NULL" address. However, some results are still empty, which prevents me from performing this analysis. Note that all plot_() graphs are completely empty. Only the plot_uncertainty(SA_res) graph contains a scatter plot that doesn't follow the country ranking, but just a straight line according to the equation y=x. Can you remedy this problem?
$Sensitivity Variable Si STi Si_q5 Si_q95 STi_q5 STi_q95 1 Winmax NaN NaN NA NA NA NA 2 Normalisation NaN NaN NA NA NA NA 3 Aggregation NaN NaN NA NA NA NA
$Nominal uCode Score Rank 1 CYP 44.748819 5 2 DZA 8.647698 10 3 EGY 9.738348 9 4 ESP 53.199804 3 5 FRA 77.565345 1 6 GRC 45.540569 4 7 ITA 66.731987 2 8 MAR 22.006930 8 9 TUN 23.051055 7 10 TUR 28.695319 6
Hi, if you are still having a problem with this please give me the means to reproduce the problem: the coin object plus the command you are running and the sensitivity specifications.
Hi, I returned to the old version of COINr6 and was able to carry out my calculations and obtain my graphs without any problem, using the same data.
Hi Mr. Becker,
I'm entering the final step in the construction of my composite indicator, after several months of hard work. This involves carrying out an uncertainty and sensitivity analysis, following the OECD and JRC methodological guide, as well as your very rich and relevant documentation. However, after several attempts, these two important tests failed to run on COINr. I followed your documentation "literally" and used the same codes as you, but to no avail.
Here is the code used to set SA_specs (I have restricted the analysis to three assumptions) :
As you can see, the "corner" is built correctly and the weights created by the noise are displayed correctly too. Then I run this code and I validate address messages as specified in your documentation because I only use global_specs : SA_res <- get_sensitivity(coin, SA_specs = SA_specs, N = 100, SA_type = "UA", dset = "Aggregated", iCode = "Index")
Immediately afterwards, several error messages start to appear, knowing that calculations are still continuing. Among the messages obtained : Rep 1 of 100 ... 1% complete Regen failed. Probably a conflict between methods.
Rep 100 of 100 ... 100% complete Regen failed. Probably a conflict between methods.
Time elapsed = 12.88s, average 0.13s/rep.
Even when the calculations have been completed, no results are displayed and all fields are empty. When I run plot_uncertainty(SA_res) or plot_sensitivity(SA_res), the graphics are completely empty (see attachments).
I think it's just a coding problem to visualize the results with the plot_() function because when I run the get_sensitivity() function directly, all the results are displayed correctly but I can't visualize them graphically (see example below).
Could you remedy this display problem so that I can benefit from these very important results?
Thank you in advance for helping me overcome this LAST difficulty.
$Para$Aggregation [1] "a_gmean" "a_gmean" "a_gmean" "a_amean" "a_gmean" "a_gmean" "a_amean" "a_amean" "a_amean" "a_gmean" "a_gmean" [12] "a_gmean" "a_amean" "a_amean" "a_amean" "a_amean" "a_amean" "a_gmean" "a_gmean" "a_gmean" "a_amean" "a_gmean" [23] "a_gmean" "a_gmean" "a_amean" "a_gmean" "a_gmean" "a_gmean" "a_amean" "a_amean" "a_amean" "a_amean" "a_amean" [34] "a_amean" "a_gmean" "a_amean" "a_gmean" "a_gmean" "a_amean" "a_gmean" "a_amean" "a_gmean" "a_gmean" "a_amean" [45] "a_amean" "a_amean" "a_amean" "a_gmean" "a_gmean" "a_gmean" "a_amean" "a_gmean" "a_amean" "a_gmean" "a_gmean" [56] "a_gmean" "a_amean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" "a_amean" [67] "a_amean" "a_amean" "a_gmean" "a_amean" "a_amean" "a_amean" "a_gmean" "a_gmean" "a_gmean" "a_amean" "a_gmean" [78] "a_amean" "a_amean" "a_gmean" "a_gmean" "a_gmean" "a_amean" "a_amean" "a_amean" "a_gmean" "a_gmean" "a_gmean" [89] "a_gmean" "a_gmean" "a_gmean" "a_amean" "a_amean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" "a_gmean" [100] "a_amean"
$Nominal uCode Score Rank 1 CYP 43.970603 5 2 DZA 8.647698 10 3 EGY 9.701159 9 4 ESP 53.199804 3 5 FRA 77.486926 1 6 GRC 45.263828 4 7 ITA 66.540628 2 8 MAR 19.881592 8 9 TUN 22.408466 7 10 TUR 28.659578 6