Stata Panel Data File

reghdfe ln_wage hours age tenure, absorb(idcode) vce(cluster idcode)

| country_id | year | gdp_growth | education_spend | |------------|------|------------|------------------| | 1 | 2010 | 2.5 | 4.2 | | 1 | 2011 | 2.7 | 4.5 | | 2 | 2010 | 3.1 | 3.8 | | 2 | 2011 | 2.9 | 4.0 | stata panel data

eststo: xtreg wage experience union i.year, fe eststo: xtreg wage experience union i.year, re esttab using panel_results.rtf, replace mtitles("FE" "RE") se reghdfe ln_wage hours age tenure