Estimation And Inference Of Directionally Differentiable Functions : Theory And Applications