Dear reader,
I have some trouble running the F-test including an interaction term. I have to run an F-test on the ESG score and the interaction term of the following regression:
When I try to run the following command:
I get the following error: i: operator invalid
Thought I did not have to include ESG as a variable in the main regression since when running i.Law##c.ESG, stata automatically adds the ESG, and the Law variable as well as the interaction term ESG*Law.
Is there anyone who knows how I can perform the F-test?
Thanks in advance!
I have some trouble running the F-test including an interaction term. I have to run an F-test on the ESG score and the interaction term of the following regression:
Code:
reg ROA i.Law##c.ESG Size Leverage sales_growth PPE i.Industry_n i.year, robust
Code:
test ESG=i.Law##c.ESG=0
Thought I did not have to include ESG as a variable in the main regression since when running i.Law##c.ESG, stata automatically adds the ESG, and the Law variable as well as the interaction term ESG*Law.
Is there anyone who knows how I can perform the F-test?
Thanks in advance!
Comment