From 8f843811ebe188f85fcc21f1870da8b4053d7190 Mon Sep 17 00:00:00 2001 From: corentinchoisy Date: Mon, 29 Jan 2024 11:51:04 +0100 Subject: [PATCH] Fix indexing error in DIF account scenario analysis output --- Scripts/Analysis/NoDIF/pcm_nodif_100.do | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Analysis/NoDIF/pcm_nodif_100.do b/Scripts/Analysis/NoDIF/pcm_nodif_100.do index d642ac5..c2c3f63 100644 --- a/Scripts/Analysis/NoDIF/pcm_nodif_100.do +++ b/Scripts/Analysis/NoDIF/pcm_nodif_100.do @@ -65,7 +65,7 @@ mat outmat[`k',`j'] = W[1,1+3*`j'] // items après le premier dif } } - mat outmat[`k',`nbitems'+1] = W[1,2*`difitems1'+1] // coef de dif + mat outmat[`k',`nbitems'+1] = W[1,3*`difitems1'-1] // coef de dif mat outmat[`k',`nbitems'+2] = W[1,3*`nbitems'+2] // beta mat outmat[`k',`nbitems'+3] = W[2,3*`nbitems'+2] // se beta mat outmat[`k',`nbitems'+4] = `difitems1' // numéro item de dif