Nonparametric Kernel Estimation Methods For Discrete Conditional Functions In Econometrics