From 0170924656e516fe546d416835cfcdfb3db9b5cf Mon Sep 17 00:00:00 2001 From: corentinchoisy Date: Fri, 5 Jan 2024 15:39:29 +0100 Subject: [PATCH] Edited scenario numbering error --- .../DIF/scenarios_DIF_baseline_100.do | 130 ++++++++--------- .../DIF/scenarios_DIF_baseline_200.do | 132 +++++++++--------- .../DIF/scenarios_DIF_baseline_300.do | 132 +++++++++--------- 3 files changed, 197 insertions(+), 197 deletions(-) diff --git a/Scripts/Scenarios/DIF/scenarios_DIF_baseline_100.do b/Scripts/Scenarios/DIF/scenarios_DIF_baseline_100.do index 41605d2..daa6e06 100644 --- a/Scripts/Scenarios/DIF/scenarios_DIF_baseline_100.do +++ b/Scripts/Scenarios/DIF/scenarios_DIF_baseline_100.do @@ -6,7 +6,7 @@ * * ado-files needed : - simirt (version 4.3 August 29, 2019, available on OSF) * - * outputs : scenario_1,scenario_2,scenario_3,scenario_4, for N=100/200/300 + * outputs : scenario_1,scenario_2,scenario_3,scenario_5, for N=100/200/300 * * * Warning : To obtain reproduce the data obtained in the .csv files in this repository, use 'simirt_setseed.ado' instead of 'simirt.ado' @@ -33,11 +33,11 @@ local Nn = 100 **** Scenarios with : DIF size 0.3 **** -** Scenario 4: J = 4 items / M = 2 modalities / DIF SIZE = 0.3 +** Scenario 5: J = 4 items / M = 2 modalities / DIF SIZE = 0.3 -* Scenario 4A : H_0 is TRUE / DIF on treatment +* Scenario 5A : H_0 is TRUE / DIF on treatment -di "SCENARIO 4A - N=100" +di "Scenario 5A - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -86,12 +86,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4A_100.csv", replace + export delimited using "`path'/scenario_5A_100.csv", replace - * Scenario 4B : H_1 is TRUE / Effect size 0.2 / DIF on treatment + * Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 4B - N=100" + di "Scenario 5B - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -140,11 +140,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4B_100.csv", replace + export delimited using "`path'/scenario_5B_100.csv", replace -* Scenario 4C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 4C - N=100" + di "Scenario 5C - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -193,12 +193,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4C_100.csv", replace + export delimited using "`path'/scenario_5C_100.csv", replace -* Scenario 4D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 4D - N=100" + di "Scenario 5D - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -247,11 +247,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4D_100.csv", replace + export delimited using "`path'/scenario_5D_100.csv", replace -* Scenario 4E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 4E - N=100" + di "Scenario 5E - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -300,7 +300,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4E_100.csv", replace + export delimited using "`path'/scenario_5E_100.csv", replace @@ -313,11 +313,11 @@ forvalues replication = 1/1000 { -** Scenario 5: J = 4 items / M = 4 modalities / DIF SIZE = 0.3 +** Scenario 6: J = 4 items / M = 4 modalities / DIF SIZE = 0.3 -* Scenario 5A : H_0 is TRUE / DIF on treatment +* Scenario 6A : H_0 is TRUE / DIF on treatment -di "SCENARIO 5A - N=100" +di "Scenario 6A - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -366,11 +366,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5A_100.csv", replace + export delimited using "`path'/scenario_6A_100.csv", replace -* Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment +* Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 5B - N=100" + di "Scenario 6B - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -419,11 +419,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5B_100.csv", replace + export delimited using "`path'/scenario_6B_100.csv", replace -* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 5C - N=100" + di "Scenario 6C - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -472,11 +472,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5C_100.csv", replace + export delimited using "`path'/scenario_6C_100.csv", replace -* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 5D - N=100" + di "Scenario 6D - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -525,11 +525,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5D_100.csv", replace + export delimited using "`path'/scenario_6D_100.csv", replace -* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 5E - N=100" + di "Scenario 6E - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -578,7 +578,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5E_100.csv", replace + export delimited using "`path'/scenario_6E_100.csv", replace @@ -590,11 +590,11 @@ forvalues replication = 1/1000 { **** Scenarios with : DIF size 0.5 **** -** Scenario 6: J = 4 items / M = 2 modalities / DIF SIZE = 0.5 +** Scenario 7: J = 4 items / M = 2 modalities / DIF SIZE = 0.5 -* Scenario 6A : H_0 is TRUE / DIF on treatment +* Scenario 7A : H_0 is TRUE / DIF on treatment -di "SCENARIO 6A - N=100" +di "Scenario 7A - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -643,12 +643,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6A_100.csv", replace + export delimited using "`path'/scenario_7A_100.csv", replace - * Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment + * Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 6B - N=100" + di "Scenario 7B - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -697,11 +697,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6B_100.csv", replace + export delimited using "`path'/scenario_7B_100.csv", replace -* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 6C - N=100" + di "Scenario 7C - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -750,12 +750,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6C_100.csv", replace + export delimited using "`path'/scenario_7C_100.csv", replace -* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 6D - N=100" + di "Scenario 7D - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -804,11 +804,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6D_100.csv", replace + export delimited using "`path'/scenario_7D_100.csv", replace -* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 6E - N=100" + di "Scenario 7E - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -857,7 +857,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6E_100.csv", replace + export delimited using "`path'/scenario_7E_100.csv", replace @@ -870,11 +870,11 @@ forvalues replication = 1/1000 { -** Scenario 7: J = 4 items / M = 4 modalities / DIF SIZE = 0.5 +** Scenario 8: J = 4 items / M = 4 modalities / DIF SIZE = 0.5 -* Scenario 7A : H_0 is TRUE / DIF on treatment +* Scenario 8A : H_0 is TRUE / DIF on treatment -di "SCENARIO 7A - N=100" +di "Scenario 8A - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -923,11 +923,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7A_100.csv", replace + export delimited using "`path'/scenario_8A_100.csv", replace -* Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment +* Scenario 8B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 7B - N=100" + di "Scenario 8B - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -976,11 +976,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7B_100.csv", replace + export delimited using "`path'/scenario_8B_100.csv", replace -* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 8C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 7C - N=100" + di "Scenario 8C - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1029,11 +1029,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7C_100.csv", replace + export delimited using "`path'/scenario_8C_100.csv", replace -* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 8D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 7D - N=100" + di "Scenario 8D - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1082,11 +1082,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7D_100.csv", replace + export delimited using "`path'/scenario_8D_100.csv", replace -* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 8E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 7E - N=100" + di "Scenario 8E - N=100" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1135,4 +1135,4 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7E_100.csv", replace + export delimited using "`path'/scenario_8E_100.csv", replace diff --git a/Scripts/Scenarios/DIF/scenarios_DIF_baseline_200.do b/Scripts/Scenarios/DIF/scenarios_DIF_baseline_200.do index ae06492..5398f19 100644 --- a/Scripts/Scenarios/DIF/scenarios_DIF_baseline_200.do +++ b/Scripts/Scenarios/DIF/scenarios_DIF_baseline_200.do @@ -6,7 +6,7 @@ * * ado-files needed : - simirt (version 4.3 August 29, 2019, available on OSF) * - * outputs : scenario_1,scenario_2,scenario_3,scenario_4, for N=200/200/300 + * outputs : scenario_1,scenario_2,scenario_3,scenario_5, for N=200/200/300 * * * Warning : To obtain reproduce the data obtained in the .csv files in this repository, use 'simirt_setseed.ado' instead of 'simirt.ado' @@ -19,7 +19,7 @@ adopath+"/home/corentin/Documents/These/Recherche/Simulations/Modules/" * Set data output folder path -local path = "/home/corentin/Documents/These/Recherche/Simulations/Data/DIF/N200" +local path = "/home/corentin/Documents/These/Recherche/Simulations/Data/DIF/N100" local Nn = 200 @@ -33,11 +33,11 @@ local Nn = 200 **** Scenarios with : DIF size 0.3 **** -** Scenario 4: J = 4 items / M = 2 modalities / DIF SIZE = 0.3 +** Scenario 5: J = 4 items / M = 2 modalities / DIF SIZE = 0.3 -* Scenario 4A : H_0 is TRUE / DIF on treatment +* Scenario 5A : H_0 is TRUE / DIF on treatment -di "SCENARIO 4A - N=200" +di "Scenario 5A - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -86,12 +86,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4A_200.csv", replace + export delimited using "`path'/scenario_5A_100.csv", replace - * Scenario 4B : H_1 is TRUE / Effect size 0.2 / DIF on treatment + * Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 4B - N=200" + di "Scenario 5B - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -140,11 +140,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4B_200.csv", replace + export delimited using "`path'/scenario_5B_100.csv", replace -* Scenario 4C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 4C - N=200" + di "Scenario 5C - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -193,12 +193,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4C_200.csv", replace + export delimited using "`path'/scenario_5C_100.csv", replace -* Scenario 4D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 4D - N=200" + di "Scenario 5D - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -247,11 +247,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4D_200.csv", replace + export delimited using "`path'/scenario_5D_100.csv", replace -* Scenario 4E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 4E - N=200" + di "Scenario 5E - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -300,7 +300,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4E_200.csv", replace + export delimited using "`path'/scenario_5E_100.csv", replace @@ -313,11 +313,11 @@ forvalues replication = 1/1000 { -** Scenario 5: J = 4 items / M = 4 modalities / DIF SIZE = 0.3 +** Scenario 6: J = 4 items / M = 4 modalities / DIF SIZE = 0.3 -* Scenario 5A : H_0 is TRUE / DIF on treatment +* Scenario 6A : H_0 is TRUE / DIF on treatment -di "SCENARIO 5A - N=200" +di "Scenario 6A - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -366,11 +366,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5A_200.csv", replace + export delimited using "`path'/scenario_6A_100.csv", replace -* Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment +* Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 5B - N=200" + di "Scenario 6B - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -419,11 +419,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5B_200.csv", replace + export delimited using "`path'/scenario_6B_100.csv", replace -* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 5C - N=200" + di "Scenario 6C - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -472,11 +472,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5C_200.csv", replace + export delimited using "`path'/scenario_6C_100.csv", replace -* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 5D - N=200" + di "Scenario 6D - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -525,11 +525,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5D_200.csv", replace + export delimited using "`path'/scenario_6D_100.csv", replace -* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 5E - N=200" + di "Scenario 6E - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -578,7 +578,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5E_200.csv", replace + export delimited using "`path'/scenario_6E_100.csv", replace @@ -590,11 +590,11 @@ forvalues replication = 1/1000 { **** Scenarios with : DIF size 0.5 **** -** Scenario 6: J = 4 items / M = 2 modalities / DIF SIZE = 0.5 +** Scenario 7: J = 4 items / M = 2 modalities / DIF SIZE = 0.5 -* Scenario 6A : H_0 is TRUE / DIF on treatment +* Scenario 7A : H_0 is TRUE / DIF on treatment -di "SCENARIO 6A - N=200" +di "Scenario 7A - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -643,12 +643,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6A_200.csv", replace + export delimited using "`path'/scenario_7A_100.csv", replace - * Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment + * Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 6B - N=200" + di "Scenario 7B - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -697,11 +697,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6B_200.csv", replace + export delimited using "`path'/scenario_7B_100.csv", replace -* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 6C - N=200" + di "Scenario 7C - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -750,12 +750,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6C_200.csv", replace + export delimited using "`path'/scenario_7C_100.csv", replace -* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 6D - N=200" + di "Scenario 7D - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -804,11 +804,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6D_200.csv", replace + export delimited using "`path'/scenario_7D_100.csv", replace -* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 6E - N=200" + di "Scenario 7E - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -857,7 +857,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6E_200.csv", replace + export delimited using "`path'/scenario_7E_100.csv", replace @@ -870,11 +870,11 @@ forvalues replication = 1/1000 { -** Scenario 7: J = 4 items / M = 4 modalities / DIF SIZE = 0.5 +** Scenario 8: J = 4 items / M = 4 modalities / DIF SIZE = 0.5 -* Scenario 7A : H_0 is TRUE / DIF on treatment +* Scenario 8A : H_0 is TRUE / DIF on treatment -di "SCENARIO 7A - N=200" +di "Scenario 8A - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -923,11 +923,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7A_200.csv", replace + export delimited using "`path'/scenario_8A_100.csv", replace -* Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment +* Scenario 8B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 7B - N=200" + di "Scenario 8B - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -976,11 +976,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7B_200.csv", replace + export delimited using "`path'/scenario_8B_100.csv", replace -* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 8C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 7C - N=200" + di "Scenario 8C - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1029,11 +1029,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7C_200.csv", replace + export delimited using "`path'/scenario_8C_100.csv", replace -* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 8D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 7D - N=200" + di "Scenario 8D - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1082,11 +1082,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7D_200.csv", replace + export delimited using "`path'/scenario_8D_100.csv", replace -* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 8E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 7E - N=200" + di "Scenario 8E - N=200" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1135,4 +1135,4 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7E_200.csv", replace + export delimited using "`path'/scenario_8E_100.csv", replace diff --git a/Scripts/Scenarios/DIF/scenarios_DIF_baseline_300.do b/Scripts/Scenarios/DIF/scenarios_DIF_baseline_300.do index caccc0e..4402b1f 100644 --- a/Scripts/Scenarios/DIF/scenarios_DIF_baseline_300.do +++ b/Scripts/Scenarios/DIF/scenarios_DIF_baseline_300.do @@ -6,7 +6,7 @@ * * ado-files needed : - simirt (version 4.3 August 29, 2019, available on OSF) * - * outputs : scenario_1,scenario_2,scenario_3,scenario_4, for N=300/200/300 + * outputs : scenario_1,scenario_2,scenario_3,scenario_5, for N=300/200/300 * * * Warning : To obtain reproduce the data obtained in the .csv files in this repository, use 'simirt_setseed.ado' instead of 'simirt.ado' @@ -19,7 +19,7 @@ adopath+"/home/corentin/Documents/These/Recherche/Simulations/Modules/" * Set data output folder path -local path = "/home/corentin/Documents/These/Recherche/Simulations/Data/DIF/N300" +local path = "/home/corentin/Documents/These/Recherche/Simulations/Data/DIF/N100" local Nn = 300 @@ -33,11 +33,11 @@ local Nn = 300 **** Scenarios with : DIF size 0.3 **** -** Scenario 4: J = 4 items / M = 2 modalities / DIF SIZE = 0.3 +** Scenario 5: J = 4 items / M = 2 modalities / DIF SIZE = 0.3 -* Scenario 4A : H_0 is TRUE / DIF on treatment +* Scenario 5A : H_0 is TRUE / DIF on treatment -di "SCENARIO 4A - N=300" +di "Scenario 5A - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -86,12 +86,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4A_300.csv", replace + export delimited using "`path'/scenario_5A_100.csv", replace - * Scenario 4B : H_1 is TRUE / Effect size 0.2 / DIF on treatment + * Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 4B - N=300" + di "Scenario 5B - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -140,11 +140,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4B_300.csv", replace + export delimited using "`path'/scenario_5B_100.csv", replace -* Scenario 4C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 4C - N=300" + di "Scenario 5C - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -193,12 +193,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4C_300.csv", replace + export delimited using "`path'/scenario_5C_100.csv", replace -* Scenario 4D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 4D - N=300" + di "Scenario 5D - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -247,11 +247,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4D_300.csv", replace + export delimited using "`path'/scenario_5D_100.csv", replace -* Scenario 4E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 4E - N=300" + di "Scenario 5E - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -300,7 +300,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_4E_300.csv", replace + export delimited using "`path'/scenario_5E_100.csv", replace @@ -313,11 +313,11 @@ forvalues replication = 1/1000 { -** Scenario 5: J = 4 items / M = 4 modalities / DIF SIZE = 0.3 +** Scenario 6: J = 4 items / M = 4 modalities / DIF SIZE = 0.3 -* Scenario 5A : H_0 is TRUE / DIF on treatment +* Scenario 6A : H_0 is TRUE / DIF on treatment -di "SCENARIO 5A - N=300" +di "Scenario 6A - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -366,11 +366,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5A_300.csv", replace + export delimited using "`path'/scenario_6A_100.csv", replace -* Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment +* Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 5B - N=300" + di "Scenario 6B - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -419,11 +419,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5B_300.csv", replace + export delimited using "`path'/scenario_6B_100.csv", replace -* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 5C - N=300" + di "Scenario 6C - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -472,11 +472,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5C_300.csv", replace + export delimited using "`path'/scenario_6C_100.csv", replace -* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 5D - N=300" + di "Scenario 6D - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -525,11 +525,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5D_300.csv", replace + export delimited using "`path'/scenario_6D_100.csv", replace -* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 5E - N=300" + di "Scenario 6E - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -578,7 +578,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_5E_300.csv", replace + export delimited using "`path'/scenario_6E_100.csv", replace @@ -590,11 +590,11 @@ forvalues replication = 1/1000 { **** Scenarios with : DIF size 0.5 **** -** Scenario 6: J = 4 items / M = 2 modalities / DIF SIZE = 0.5 +** Scenario 7: J = 4 items / M = 2 modalities / DIF SIZE = 0.5 -* Scenario 6A : H_0 is TRUE / DIF on treatment +* Scenario 7A : H_0 is TRUE / DIF on treatment -di "SCENARIO 6A - N=300" +di "Scenario 7A - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -643,12 +643,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6A_300.csv", replace + export delimited using "`path'/scenario_7A_100.csv", replace - * Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment + * Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 6B - N=300" + di "Scenario 7B - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -697,11 +697,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6B_300.csv", replace + export delimited using "`path'/scenario_7B_100.csv", replace -* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 6C - N=300" + di "Scenario 7C - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -750,12 +750,12 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6C_300.csv", replace + export delimited using "`path'/scenario_7C_100.csv", replace -* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 6D - N=300" + di "Scenario 7D - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -804,11 +804,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6D_300.csv", replace + export delimited using "`path'/scenario_7D_100.csv", replace -* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 6E - N=300" + di "Scenario 7E - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -857,7 +857,7 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_6E_300.csv", replace + export delimited using "`path'/scenario_7E_100.csv", replace @@ -870,11 +870,11 @@ forvalues replication = 1/1000 { -** Scenario 7: J = 4 items / M = 4 modalities / DIF SIZE = 0.5 +** Scenario 8: J = 4 items / M = 4 modalities / DIF SIZE = 0.5 -* Scenario 7A : H_0 is TRUE / DIF on treatment +* Scenario 8A : H_0 is TRUE / DIF on treatment -di "SCENARIO 7A - N=300" +di "Scenario 8A - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -923,11 +923,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7A_300.csv", replace + export delimited using "`path'/scenario_8A_100.csv", replace -* Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment +* Scenario 8B : H_1 is TRUE / Effect size 0.2 / DIF on treatment - di "SCENARIO 7B - N=300" + di "Scenario 8B - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -976,11 +976,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7B_300.csv", replace + export delimited using "`path'/scenario_8B_100.csv", replace -* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control +* Scenario 8C : H_1 is TRUE / Effect size 0.2 / DIF on control - di "SCENARIO 7C - N=300" + di "Scenario 8C - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1029,11 +1029,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7C_300.csv", replace + export delimited using "`path'/scenario_8C_100.csv", replace -* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment +* Scenario 8D : H_1 is TRUE / Effect size 0.4 / DIF on treatment - di "SCENARIO 7D - N=300" + di "Scenario 8D - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1082,11 +1082,11 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7D_300.csv", replace + export delimited using "`path'/scenario_8D_100.csv", replace -* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control +* Scenario 8E : H_1 is TRUE / Effect size 0.4 / DIF on control - di "SCENARIO 7E - N=300" + di "Scenario 8E - N=300" forvalues replication = 1/1000 { if mod(`replication',10)==0 { @@ -1135,4 +1135,4 @@ forvalues replication = 1/1000 { qui save `data',replace } } - export delimited using "`path'/scenario_7E_300.csv", replace + export delimited using "`path'/scenario_8E_100.csv", replace