Panel regression with standard errors robust to two-way clustering and serial correlation in time effects Use xtregtwo With STATA 18
http://ristek.link/xtregtwo