Three Essays on Structural Estimation