I have five variables[ (fid or firm id - Panel identifier), (year- time ), (group variable - first_treat constructed in which year a firm received the treatment), depvar- Log(loans+1) and indepvar (relationship with a private bank or not)] in the dataset for now. The only problem in the data is that there are few fid which never got treated and there are many firms which got the treatment later on.
When I run the csdid command in the stata as
csdid ln_loans priv, ivar(fid) time (year) gvar(first_treat) method(reg)
It shows that number of observations are 0 and everything is absorbed (basically omitted).
I dropped the firms in the dataset which never received the treatment and rerun the same. It did not work with that as well.
I have five variables[ (fid or firm id - Panel identifier), (year- time ), (group variable - first_treat constructed in which year a firm received the treatment), depvar- Log(loans+1) and indepvar (relationship with a private bank or not)] in the dataset for now. The only problem in the data is that there are few fid which never got treated and there are many firms which got the treatment later on.
When I run the csdid command in the stata as csdid ln_loans priv, ivar(fid) time (year) gvar(first_treat) method(reg)
It shows that number of observations are 0 and everything is absorbed (basically omitted).
I dropped the firms in the dataset which never received the treatment and rerun the same. It did not work with that as well.
Kindly help.
Thank you!!