|
|
@ -37,7 +37,7 @@ local Nn = 100
|
|
|
|
di "Scenario 5A - N=100"
|
|
|
|
di "Scenario 5A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -72,6 +72,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -92,7 +93,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 5B - N=100"
|
|
|
|
di "Scenario 5B - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -128,6 +129,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -147,7 +149,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 5C - N=100"
|
|
|
|
di "Scenario 5C - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -183,6 +185,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -203,7 +206,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 5D - N=100"
|
|
|
|
di "Scenario 5D - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -239,6 +242,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -258,7 +262,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 5E - N=100"
|
|
|
|
di "Scenario 5E - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -294,6 +298,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -326,7 +331,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 6A - N=100"
|
|
|
|
di "Scenario 6A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -361,6 +366,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -380,7 +386,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 6B - N=100"
|
|
|
|
di "Scenario 6B - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -416,6 +422,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -435,7 +442,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 6C - N=100"
|
|
|
|
di "Scenario 6C - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -471,6 +478,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -490,7 +498,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 6D - N=100"
|
|
|
|
di "Scenario 6D - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -526,6 +534,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -545,7 +554,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 6E - N=100"
|
|
|
|
di "Scenario 6E - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -581,6 +590,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -612,7 +622,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 7A - N=100"
|
|
|
|
di "Scenario 7A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -648,6 +658,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -668,7 +679,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 7B - N=100"
|
|
|
|
di "Scenario 7B - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -704,6 +715,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -723,7 +735,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 7C - N=100"
|
|
|
|
di "Scenario 7C - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -759,6 +771,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -779,7 +792,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 7D - N=100"
|
|
|
|
di "Scenario 7D - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -815,6 +828,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -834,7 +848,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 7E - N=100"
|
|
|
|
di "Scenario 7E - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -870,6 +884,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -902,7 +917,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 8A - N=100"
|
|
|
|
di "Scenario 8A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -938,6 +953,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -957,7 +973,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 8B - N=100"
|
|
|
|
di "Scenario 8B - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -993,6 +1009,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1012,7 +1029,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 8C - N=100"
|
|
|
|
di "Scenario 8C - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -1048,6 +1065,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1067,7 +1085,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 8D - N=100"
|
|
|
|
di "Scenario 8D - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -1103,6 +1121,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1122,7 +1141,7 @@ forvalues replication = 1/1000 {
|
|
|
|
di "Scenario 8E - N=100"
|
|
|
|
di "Scenario 8E - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
|
qui local difi = runiformint(1,4)
|
|
|
@ -1158,6 +1177,7 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1197,7 +1217,7 @@ di "Scenario 9A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1251,6 +1271,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1272,7 +1294,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1326,6 +1348,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1346,7 +1370,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1400,6 +1424,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1421,7 +1447,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1475,6 +1501,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1495,7 +1523,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1549,6 +1577,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1576,7 +1606,7 @@ di "Scenario 10A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1630,6 +1660,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1651,7 +1683,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1705,6 +1737,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1725,7 +1759,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1779,6 +1813,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1800,7 +1836,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1854,6 +1890,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1874,7 +1912,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -1928,6 +1966,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -1952,7 +1992,7 @@ di "Scenario 11A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2006,6 +2046,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2027,7 +2069,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2081,6 +2123,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2101,7 +2145,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2155,6 +2199,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2176,7 +2222,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2230,6 +2276,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2250,7 +2298,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2304,6 +2352,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2331,7 +2381,7 @@ di "Scenario 12A - N=100"
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2385,6 +2435,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2406,7 +2458,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2460,6 +2512,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2480,7 +2534,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2534,6 +2588,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2555,7 +2611,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2609,6 +2665,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
@ -2629,7 +2687,7 @@ forvalues replication = 1/1000 {
|
|
|
|
|
|
|
|
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
forvalues replication = 1/1000 {
|
|
|
|
clear
|
|
|
|
clear
|
|
|
|
if mod(`replication',10)==0 {
|
|
|
|
if mod(`replication',100)==0 {
|
|
|
|
di "replication = `replication'"
|
|
|
|
di "replication = `replication'"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
qui set obs 4
|
|
|
|
qui set obs 4
|
|
|
@ -2683,6 +2741,8 @@ forvalues replication = 1/1000 {
|
|
|
|
use `grp0'
|
|
|
|
use `grp0'
|
|
|
|
qui append using `grp1'
|
|
|
|
qui append using `grp1'
|
|
|
|
drop id
|
|
|
|
drop id
|
|
|
|
|
|
|
|
qui gen dif1 = `difi'
|
|
|
|
|
|
|
|
qui gen dif2 = `difj'
|
|
|
|
qui gen id = _n
|
|
|
|
qui gen id = _n
|
|
|
|
order(id)
|
|
|
|
order(id)
|
|
|
|
qui gen replication = `replication'
|
|
|
|
qui gen replication = `replication'
|
|
|
|