|
|
|
@ -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_5, for N=100/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'
|
|
|
|
@ -37,7 +37,7 @@ local Nn = 200
|
|
|
|
|
|
|
|
|
|
* Scenario 5A : H_0 is TRUE / DIF on treatment
|
|
|
|
|
|
|
|
|
|
di "Scenario 5A - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 5B - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 5C - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 5D - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 5E - N=100"
|
|
|
|
|
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_5E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_5E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -317,7 +317,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
* Scenario 6A : H_0 is TRUE / DIF on treatment
|
|
|
|
|
|
|
|
|
|
di "Scenario 6A - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 6B - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 6C - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 6D - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 6E - N=100"
|
|
|
|
|
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_6E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_6E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -594,7 +594,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
* Scenario 7A : H_0 is TRUE / DIF on treatment
|
|
|
|
|
|
|
|
|
|
di "Scenario 7A - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 7B - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 7C - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 7D - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 7E - N=100"
|
|
|
|
|
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_7E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_7E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -874,7 +874,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
* Scenario 8A : H_0 is TRUE / DIF on treatment
|
|
|
|
|
|
|
|
|
|
di "Scenario 8A - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 8B - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 8C - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 8D - N=100"
|
|
|
|
|
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_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
|
|
|
|
|
|
|
|
|
|
di "Scenario 8E - N=100"
|
|
|
|
|
di "Scenario 8E - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1135,7 +1135,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_8E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_8E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1158,7 +1158,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
* Scenario 9A : H_0 is TRUE / DIF on treatment x 2
|
|
|
|
|
|
|
|
|
|
di "Scenario 9A - N=100"
|
|
|
|
|
di "Scenario 9A - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1243,12 +1243,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9A_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 9B : H_1 is TRUE / Effect size 0.2 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 9B - N=100"
|
|
|
|
|
di "Scenario 9B - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1333,11 +1333,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9B_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 9C : H_1 is TRUE / Effect size 0.2 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 9C - N=100"
|
|
|
|
|
di "Scenario 9C - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1422,12 +1422,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9C_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 9D : H_1 is TRUE / Effect size 0.4 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 9D - N=100"
|
|
|
|
|
di "Scenario 9D - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1512,11 +1512,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9D_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 9E : H_1 is TRUE / Effect size 0.4 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 9E - N=100"
|
|
|
|
|
di "Scenario 9E - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1601,12 +1601,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 9F : H_0 is TRUE / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 9F - N=100"
|
|
|
|
|
di "Scenario 9F - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1671,12 +1671,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9F_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9F_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 9G : H_1 is TRUE / Effect size 0.2 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 9G - N=100"
|
|
|
|
|
di "Scenario 9G - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1741,11 +1741,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9G_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9G_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 9H : H_1 is TRUE / Effect size 0.4 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 9H - N=100"
|
|
|
|
|
di "Scenario 9H - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1810,7 +1810,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_9H_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_9H_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -1824,7 +1824,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
* Scenario 10A : H_0 is TRUE / DIF on treatment x 2
|
|
|
|
|
|
|
|
|
|
di "Scenario 10A - N=100"
|
|
|
|
|
di "Scenario 10A - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -1910,12 +1910,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10A_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 10B : H_1 is TRUE / Effect size 0.2 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 10B - N=100"
|
|
|
|
|
di "Scenario 10B - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2001,11 +2001,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10B_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 10C : H_1 is TRUE / Effect size 0.2 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 10C - N=100"
|
|
|
|
|
di "Scenario 10C - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2091,12 +2091,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10C_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 10D : H_1 is TRUE / Effect size 0.4 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 10D - N=100"
|
|
|
|
|
di "Scenario 10D - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2182,11 +2182,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10D_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 10E : H_1 is TRUE / Effect size 0.4 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 10E - N=100"
|
|
|
|
|
di "Scenario 10E - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2272,12 +2272,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 10F : H_0 is TRUE / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 10F - N=100"
|
|
|
|
|
di "Scenario 10F - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2342,12 +2342,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10F_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10F_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 10G : H_1 is TRUE / Effect size 0.2 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 10G - N=100"
|
|
|
|
|
di "Scenario 10G - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2412,11 +2412,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10G_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10G_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 10H : H_1 is TRUE / Effect size 0.4 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 10H - N=100"
|
|
|
|
|
di "Scenario 10H - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2481,7 +2481,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_10H_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_10H_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -2496,7 +2496,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
* Scenario 11A : H_0 is TRUE / DIF on treatment x 2
|
|
|
|
|
|
|
|
|
|
di "Scenario 11A - N=100"
|
|
|
|
|
di "Scenario 11A - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2581,12 +2581,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11A_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 11B : H_1 is TRUE / Effect size 0.2 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 11B - N=100"
|
|
|
|
|
di "Scenario 11B - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2671,11 +2671,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11B_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 11C : H_1 is TRUE / Effect size 0.2 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 11C - N=100"
|
|
|
|
|
di "Scenario 11C - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2760,12 +2760,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11C_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 11D : H_1 is TRUE / Effect size 0.4 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 11D - N=100"
|
|
|
|
|
di "Scenario 11D - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2850,11 +2850,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11D_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 11E : H_1 is TRUE / Effect size 0.4 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 11E - N=100"
|
|
|
|
|
di "Scenario 11E - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -2939,12 +2939,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 11F : H_0 is TRUE / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 11F - N=100"
|
|
|
|
|
di "Scenario 11F - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3009,12 +3009,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11F_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11F_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 11G : H_1 is TRUE / Effect size 0.2 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 11G - N=100"
|
|
|
|
|
di "Scenario 11G - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3079,11 +3079,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11G_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11G_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 11H : H_1 is TRUE / Effect size 0.4 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 11H - N=100"
|
|
|
|
|
di "Scenario 11H - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3148,7 +3148,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_11H_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_11H_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -3162,7 +3162,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
* Scenario 12A : H_0 is TRUE / DIF on treatment x 2
|
|
|
|
|
|
|
|
|
|
di "Scenario 12A - N=100"
|
|
|
|
|
di "Scenario 12A - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3248,12 +3248,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12A_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12A_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 12B : H_1 is TRUE / Effect size 0.2 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 12B - N=100"
|
|
|
|
|
di "Scenario 12B - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3339,11 +3339,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12B_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12B_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 12C : H_1 is TRUE / Effect size 0.2 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 12C - N=100"
|
|
|
|
|
di "Scenario 12C - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3429,12 +3429,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12C_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12C_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 12D : H_1 is TRUE / Effect size 0.4 / DIF on treatment x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 12D - N=100"
|
|
|
|
|
di "Scenario 12D - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3520,11 +3520,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12D_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12D_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 12E : H_1 is TRUE / Effect size 0.4 / DIF on control x2
|
|
|
|
|
|
|
|
|
|
di "Scenario 12E - N=100"
|
|
|
|
|
di "Scenario 12E - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3610,12 +3610,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12E_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12E_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 12F : H_0 is TRUE / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 12F - N=100"
|
|
|
|
|
di "Scenario 12F - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3680,12 +3680,12 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12F_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12F_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Scenario 12G : H_1 is TRUE / Effect size 0.2 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 12G - N=100"
|
|
|
|
|
di "Scenario 12G - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3750,11 +3750,11 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12G_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12G_200.csv", replace
|
|
|
|
|
|
|
|
|
|
* Scenario 12H : H_1 is TRUE / Effect size 0.4 / DIF on treatment + DIF on control (other item)
|
|
|
|
|
|
|
|
|
|
di "Scenario 12H - N=100"
|
|
|
|
|
di "Scenario 12H - N=200"
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
@ -3819,7 +3819,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
qui save `data',replace
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
export delimited using "`path'/scenario_12H_100.csv", replace
|
|
|
|
|
export delimited using "`path'/scenario_12H_200.csv", replace
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|