use example31, clear
xtevent y eta, panelvar(i) timevar(t) policyvar(z) impute(stag) window(11)
gen _k_eq_p10 = runiform()
xtevent y eta _k_eq_p10, panelvar(i) timevar(t) policyvar(z) impute(stag) window(11)
we get the expected error that it is not allowed to include variables with the _k prefix, but the original variable _k_eq_p10 is dropped as well.
When running
we get the expected error that it is not allowed to include variables with the _k prefix, but the original variable
_k_eq_p10
is dropped as well.