Code:
did_multiplegt ln_gift id month shock , controls(member age gender) robust_dynamic dynamic(5) breps(50) cluster(id) longdiff_placebo placebo(5)
If your treatment is continuous or takes a large number of values, you may need to use
the threshold_stable_treatment option to ensure you have groups whose treatment does not change
over time. You may also need to use the recat_treatment option to discretize your treatment variable.
the threshold_stable_treatment option to ensure you have groups whose treatment does not change
over time. You may also need to use the recat_treatment option to discretize your treatment variable.
Why does the error occurs? And How to fix this problem?
Thanks for any suggestions.
Comment