Penalized Regression Methods with Application to Generalized Linear Models, Generalized Additive Models, and Smoothing