Essays on identification, estimation and testing using nonparametric methods