|
|
@ -19,7 +19,7 @@ adopath+"/home/corentin/Documents/These/Recherche/Simulations/Modules/"
|
|
|
|
|
|
|
|
|
|
|
|
* Set data output folder path
|
|
|
|
* Set data output folder path
|
|
|
|
|
|
|
|
|
|
|
|
local path = "/home/corentin/Documents/These/Recherche/Simulations/Data/DIF/N100"
|
|
|
|
local path = "/home/corentin/Documents/These/Recherche/Simulations/Data/DIF/N200"
|
|
|
|
local Nn = 200
|
|
|
|
local Nn = 200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -86,7 +86,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_5A_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_5A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
|
* Scenario 5B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
@ -140,7 +140,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_5B_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_5B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
* Scenario 5C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -193,7 +193,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_5C_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_5C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
|
* Scenario 5D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
@ -247,7 +247,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_5D_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_5D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
* Scenario 5E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -300,7 +300,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_5E_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_5E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -366,7 +366,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_6A_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_6A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
|
* Scenario 6B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
|
|
|
|
|
|
|
|
@ -419,7 +419,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_6B_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_6B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
* Scenario 6C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -472,7 +472,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_6C_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_6C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
|
* Scenario 6D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
|
|
|
|
|
|
|
|
@ -525,7 +525,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_6D_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_6D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
* Scenario 6E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -578,7 +578,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_6E_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_6E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -643,7 +643,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_7A_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_7A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
|
* Scenario 7B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
@ -697,7 +697,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_7B_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_7B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
* Scenario 7C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -750,7 +750,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_7C_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_7C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
|
* Scenario 7D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
@ -804,7 +804,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_7D_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_7D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
* Scenario 7E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -857,7 +857,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_7E_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_7E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -923,7 +923,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_8A_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_8A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 8B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
|
* Scenario 8B : H_1 is TRUE / Effect size 0.2 / DIF on treatment
|
|
|
|
|
|
|
|
|
|
|
@ -976,7 +976,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_8B_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_8B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 8C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
* Scenario 8C : H_1 is TRUE / Effect size 0.2 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -1029,7 +1029,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_8C_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_8C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 8D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
|
* Scenario 8D : H_1 is TRUE / Effect size 0.4 / DIF on treatment
|
|
|
|
|
|
|
|
|
|
|
@ -1082,7 +1082,7 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_8D_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_8D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 8E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
* Scenario 8E : H_1 is TRUE / Effect size 0.4 / DIF on control
|
|
|
|
|
|
|
|
|
|
|
@ -1135,4 +1135,4 @@ forvalues replication = 1/1000 {
|
|
|
|
qui save `data',replace
|
|
|
|
qui save `data',replace
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
export delimited using "`path'/scenario_8E_100.csv", replace
|
|
|
|
export delimited using "`path'/scenario_8E_200.csv", replace
|
|
|
|