Hello,

i should perform panelregressions with industry and year fixed effetcs. The F test shows i should go FE. Now i have to perform the Breusch Pagan LM test and the Hausman test. However bothe of these do not work for a few reasons.
This does not work since there is not industry that can only be assigned to one year
Code:
tsset industry_key year
repeated time values within panel
Next I tried
Code:
tsset id year
One year can be assigned to one number from the id however this is suboptimal
When i got BP LM and hausman next, i get this for the BP LM

Code:
 quietly xtreg firm_beta_w esg_single_lag1 diversification_lag1 operating_leverage_lag1 RnD_lag1 advertising_lag1 leverage_lag1 capex_lag1 cash_lag1 size_lag1 earnings_variability_lag1 state_tax_lag1 cash_flow_lag1 c.industry_key c.year, re
insufficient observations
When i go hausman , I get this

Code:
quietly xtreg tobins_Q_w esg_single_lag1 diversification_lag1 RnD_lag1 advertising_lag1 leverage_lag1 capex_lag1 cash_lag1 size_lag1 earnings_variability_lag1 state_tax_lag1 cash_flow_lag1, re
insufficient observations
Does anyone know how to solve this issue?
Appreciate some help.