Stata Panel Data

Are entities affected by common shocks (e.g., global financial crisis)?

: Before running any analysis, you must tell Stata your data is a panel using xtset : xtset country_id year 2. Exploring and Visualizing stata panel data

RE assumes unobserved effects are uncorrelated with regressors. Are entities affected by common shocks (e

xtscc gdp fdi trade gcf, fe lag(2)

xtline ln_wage if idcode <= 20, overlay legend(off) title("Individual Wage Trajectories") overlay legend(off) title("Individual Wage Trajectories")