Essays on static panel data models with dependent errors : simulation and application.