I have panel data; independent variable-market cap, MTB(market to book), ROA(return on asset), tangibility, growth, covid-19(dummy variable)/ dependent variable-leverage ratio of corporate/ TIme: fyear from 2016 to 2021 and ID: compid(companies ID)
I am trying to run the command "xtreg dependent variable independent variable if fyear == 2016, re" to get regression results for 2016.
However, I get "insufficient observation''
I would like to get a table that contains the coefficient of each independent variables with p-value in each year like the above following pic including the dummy variable (covid-19).
If I am doing it wrong, please let me know!
All your help and advice are appreciated.

Comment