|Authors:||Jeremy Ferwerda, Jens Hainmueller, Chad J. Hazlett|
|Title:||Kernel-Based Regularized Least Squares in R (KRLS) and Stata (krls)|
|Abstract:||The Stata package krls as well as the R package KRLS implement kernel-based regularized least squares (KRLS), a machine learning method described in Hainmueller and Hazlett (2014) that allows users to tackle regression and classification problems without strong functional form assumptions or a specification search. The flexible KRLS estimator learns the functional form from the data, thereby protecting inferences against misspecification bias. Yet it nevertheless allows for interpretability and inference in ways similar to ordinary regression models. In particular, KRLS provides closed-form estimates for the predicted values, variances, and the pointwise partial derivatives that characterize the marginal effects of each independent variable at each data point in the covariate space. The method is thus a convenient and powerful alternative to ordinary least squares and other generalized linear models for regression-based analyses.|
Page views:: 2633. Submitted: 2013-10-09. Published: 2017-07-13.
Kernel-Based Regularized Least Squares in R (KRLS) and Stata (krls)
This work is licensed under the licenses
Paper: Creative Commons Attribution 3.0 Unported License
Code: GNU General Public License (at least one of version 2 or version 3) or a GPL-compatible license.