Three Essays On Nonparametric Hypothesis Testing And Stochastic Frontier Analysis