REPRO-Bench / 17 /replication_package /code /lib /stata /ado /reg_treatment.ado
anonymous-submission-acl2025's picture
add 17
8a79f2e
raw
history blame
263 Bytes
program reg_treatment
syntax, yvar(str) [suffix(str) indep(str) if(str) simple]
if ("`simple'" == "simple") {
reg `yvar' B`suffix' L`suffix' `indep' `if', robust
}
else {
reg `yvar' B`suffix' L_*`suffix' `indep' `if', robust
}
end
exit