Hello all,
I am trying to use csdid command as my treatment group has a different starting time of the policy intervention across the institutions. So, I just used treatment variable as a gvar in command. The treatment variable is 1 for treated and 0 for non-treated.
However, I still get an error like this: "Gvar max value is 1 and there are no periods available before that treatment. Verify that Gvar is correctly defined."
May I ask if I need to use a different type of treatment variable to be used in gvar?
Thank you in advance.
I am trying to use csdid command as my treatment group has a different starting time of the policy intervention across the institutions. So, I just used treatment variable as a gvar in command. The treatment variable is 1 for treated and 0 for non-treated.
However, I still get an error like this: "Gvar max value is 1 and there are no periods available before that treatment. Verify that Gvar is correctly defined."
May I ask if I need to use a different type of treatment variable to be used in gvar?
Code:
csdid outcome $cov, ivar(id) time(year) gvar(treat) notyet
Thank you in advance.
Comment