Nonlinear Three Stage Least Squares Pooling of Time Series and Cross Section Data