Dear Stata users,
I am running the jwdid command with the ETWFE method as follows:
use ${usr_data}/data_sdid_84, clear
local spec "MAIN"
jwdid fdi, ivar(id_ci_cj) tvar(year) gvar(first_treat_3) method(ppmlhdfe) fe(idt_ci idt_cj)
estat simple, predict(xb)
However, Stata returns the following error:
last estimates not found
r(301);
Could anyone please explain why this happens?
I was hoping to obtain the fitted values (xb) after running jwdid using the ppmlhdfe method, similar to what we do with other estimation commands. Is there a specific postestimation command or syntax for generating predicted values after jwdid?
Thank you very much for your help.
Best regards,
Hinh
I am running the jwdid command with the ETWFE method as follows:
use ${usr_data}/data_sdid_84, clear
local spec "MAIN"
jwdid fdi, ivar(id_ci_cj) tvar(year) gvar(first_treat_3) method(ppmlhdfe) fe(idt_ci idt_cj)
estat simple, predict(xb)
However, Stata returns the following error:
last estimates not found
r(301);
Could anyone please explain why this happens?
I was hoping to obtain the fitted values (xb) after running jwdid using the ppmlhdfe method, similar to what we do with other estimation commands. Is there a specific postestimation command or syntax for generating predicted values after jwdid?
Thank you very much for your help.
Best regards,
Hinh

Comment