title: Fixed effects in regression model
body: <p>I am currently working on my master thesis and I have a number of different regression models as well as types of regressions (censor regression, log models etc). For all of these models I would like to include firm fixed effects and year fixed effect (in my data, I have different dependent variables, only one main independent variable, 2 interaction effects and several control variables). I am measuring the effects of CEO narcissism on internationalization with a dataset of different M&amp;A deals of 33 firms (and 70 CEOs) </p>
  
  <p>How do I include now the firm and year fixed effects into all my regression models in R (which exact code do I have to use, if I do not want to create for each firm (33 of them) and each year (40 years) a separate dummy variable?) </p>
  
  <p>Many thanks in advance! </p>