Monday, August 26, 2013
Nonparametric (local polynomial) regression in R
Local polynomial regression models can be used as a more flexible alternative to linear regression. However, the nonparametric regression models are slightly more difficult to estimate and interpret than linear regression. This video explains almost everything you need to know about local polynomial models in R including choosing the bandwidth, estimating the model, plotting the regression, and estimating marginal effects. I use Wand and Ripley's KernSmooth package.