Dear Stata experts,
I would like to follow a paper using seemingly unrelated regression together with two-way cluster robust errors to do my analysis. Here's the description in the paper: "We utilized OLS regression techniques coupled with Seemingly Unrelated Estimation (SUE). ... Therefore, we utilize two-way cluster robust errors (Petersen,2009; Cameron et al., 2011; Thompson, 2011) which cluster around the both firm as well as time."
In Stata, I learned that I can use suest which allows one-way cluster robust errors. I tried to use vce2way (or vcemway) together with suest for seemingly unrelated estimation with two-way cluster robust errors:
reg y1 x1 x2 x3
est store y1
reg y2 x1 x2 x3
est store y2
reg y3 x1 x2 x3
est store y3
vce2way suest y1 y2 y3, cluster(id year)
vcemway suest y1 y2 y3, cluster(id year)
But it always shows the error message "if not allowed r(101); ". So, I am writing to ask how to solve this problem, or whether there is any other way to do it.
Thank you very much!
I would like to follow a paper using seemingly unrelated regression together with two-way cluster robust errors to do my analysis. Here's the description in the paper: "We utilized OLS regression techniques coupled with Seemingly Unrelated Estimation (SUE). ... Therefore, we utilize two-way cluster robust errors (Petersen,2009; Cameron et al., 2011; Thompson, 2011) which cluster around the both firm as well as time."
In Stata, I learned that I can use suest which allows one-way cluster robust errors. I tried to use vce2way (or vcemway) together with suest for seemingly unrelated estimation with two-way cluster robust errors:
reg y1 x1 x2 x3
est store y1
reg y2 x1 x2 x3
est store y2
reg y3 x1 x2 x3
est store y3
vce2way suest y1 y2 y3, cluster(id year)
vcemway suest y1 y2 y3, cluster(id year)
But it always shows the error message "if not allowed r(101); ". So, I am writing to ask how to solve this problem, or whether there is any other way to do it.
Thank you very much!
Comment