Hi everyone!
I am a new user of STATA and I am not sure about how to run a panel data analysis.
I have my data on an Excel file. I have uploaded them in STATA and i have declared that data are panel with the command "tsset id year".
Now idk how to proceed: I know how to choose between a random and a fixed effects model with the Hausman test but I am wondering how to understand if one or more of my independent variables are endogenous.
Could someone help me?
Thanks a lot
dependent variable: life expectancy
independent variable: pub, priv, gdp, graduates, income.dist, alchool
I am a new user of STATA and I am not sure about how to run a panel data analysis.
I have my data on an Excel file. I have uploaded them in STATA and i have declared that data are panel with the command "tsset id year".
Now idk how to proceed: I know how to choose between a random and a fixed effects model with the Hausman test but I am wondering how to understand if one or more of my independent variables are endogenous.
Could someone help me?
Thanks a lot

dependent variable: life expectancy
independent variable: pub, priv, gdp, graduates, income.dist, alchool
