0
$\begingroup$

I have a data set about 125 companies. For each company I have the salary and some other variables about the top 5 managers in each company. One observation contains the top 5 managers in each one of the 125 firms from 2010 to 2018, so every company has the data for its managers for each year. For some companies some years are missed or it is for less than top 5 managers. I want to check the effect of a regulation that occurred in 2016, and my question is :

Is it OK to do linear regression for the observations before 2016 at once ?, I am not sure about that because every year has the same companies with the data of that year.

Can anyone tell me if it is Ok to do that or help by advising another regression method

$\endgroup$
0
$\begingroup$

Your data structure is a panel, i.e. repeated observations of the same entities (companies in your case). Pooling all observations in a standard linear regression and ignoring the fact that many observations are repeated will lead to biased estimates. The most straightforward method for your case is a Fixed Effects Estimator. Check your statistical package on how to do this. The idea is to do a linear regression on the company-specific mean values of dependent and independent variables. This way, you implicitly control for all time-constant firm characteristics.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.