Distribution-free estimation of some nonlinear panel data models