Hi everyone,
I'm a newbie. Please share some tips to run a panel data regression. My data set is unbalanced panel, N= 1,497, t = 5 from 2017-2021. I usually do as follows:
1/ Run pool model: reg y x1 x2...
2/check multicollinear for pool: vif
3/check heteros for pool: imtest, white
4/ check serial correlation for pool: xtserial y x1 x2...
If pool model has heteros and serial correlation we have to choose FEM or REM:
5/ Choose FEM or REM:
xtreg, fe --> est sto fe
xtreg, re --> est sto re
hausman fe re
6/ Check heteros for Fem by xttest3 or Rem by xttest0
7/ Check serial correlation on FEM or REM by xtserial y x1 x2 ...
My questions are:
Q1/ Is my process correct?
Q2/ If there are heteros and serial correlation on FEM or REM, how can I correct them on my unbalanced panel?
Thanks so so much.
I'm a newbie. Please share some tips to run a panel data regression. My data set is unbalanced panel, N= 1,497, t = 5 from 2017-2021. I usually do as follows:
1/ Run pool model: reg y x1 x2...
2/check multicollinear for pool: vif
3/check heteros for pool: imtest, white
4/ check serial correlation for pool: xtserial y x1 x2...
If pool model has heteros and serial correlation we have to choose FEM or REM:
5/ Choose FEM or REM:
xtreg, fe --> est sto fe
xtreg, re --> est sto re
hausman fe re
6/ Check heteros for Fem by xttest3 or Rem by xttest0
7/ Check serial correlation on FEM or REM by xtserial y x1 x2 ...
My questions are:
Q1/ Is my process correct?
Q2/ If there are heteros and serial correlation on FEM or REM, how can I correct them on my unbalanced panel?
Thanks so so much.
Comment