We propose a bias correction method for nonlinear models with both individual and time effects. Under the presence of the incidental parameter problem, the maximum likelihood estimator derived from such models may be severely biased. Our method produces an approximation to an infeasible...