Hi all,
I am new to Stata. I am performing a regression with panel data. The panel contains data of >1 million firms in five different countries over 8 years. I want to test whether a company's profitability measures influence the chance of being a target in an acquisition strategy.
The dependent variable is a dummy indicator with a value of 1 if the company has been a target in an acquisition strategy. I want to add country, year and industry fixed effects and I do this by adding i.COUNTRY, i.YEAR and clustering by industry. Countries are referred to by numbers 1 to 5 and years simply by 2008 to 2015. I added nonest to the regression formula because some firms change from 1 industry to another during the time period. When I run the regression, it states for countries 2,3 and 5: omitted. What is going wrong?
The commands I use are as follows:
xtset FIRM YEAR
xtreg dummytarget independent variables (profitability measures) i.COUNTRY i.YEAR, fe vce (cluster INDUSTRY) nonest
Your help is greatly appreciated.
I am new to Stata. I am performing a regression with panel data. The panel contains data of >1 million firms in five different countries over 8 years. I want to test whether a company's profitability measures influence the chance of being a target in an acquisition strategy.
The dependent variable is a dummy indicator with a value of 1 if the company has been a target in an acquisition strategy. I want to add country, year and industry fixed effects and I do this by adding i.COUNTRY, i.YEAR and clustering by industry. Countries are referred to by numbers 1 to 5 and years simply by 2008 to 2015. I added nonest to the regression formula because some firms change from 1 industry to another during the time period. When I run the regression, it states for countries 2,3 and 5: omitted. What is going wrong?
The commands I use are as follows:
xtset FIRM YEAR
xtreg dummytarget independent variables (profitability measures) i.COUNTRY i.YEAR, fe vce (cluster INDUSTRY) nonest
Your help is greatly appreciated.
Comment