This dissertation includes two essays: The first one is on nonparametric inference in causal effect models, and the second one is on nonparametric estimation in financial economics. In the first essay, we propose a nonparametric test for unobserved heterogeneous treatment effects in a general framework, allowing for self-selection to the treatment. The proposed modified Kolmogorov-Smirnov-type test is consistent and simple to implement. Monte Carlo simulations show that our test performs well in finite samples. For illustration, we apply our test to study heterogeneous treatment effects of the Job Training Partnership Act on earnings and the impacts of fertility on family income. In the second essay, we provide an alternative to the existin...