gKRLS: Generalized Kernel Regularized Least Squares

Kernel regularized least squares, also known as kernel ridge regression, is a flexible machine learning method. This package implements this method by providing a smooth term for use with 'mgcv' and uses random sketching to facilitate scalable estimation on large datasets. It provides additional functions for calculating marginal effects after estimation and for use with ensembles ('SuperLearning'), double/debiased machine learning ('DoubleML'), and robust/clustered standard errors ('sandwich'). Chang and Goplerud (2024) <doi:10.1017/pan.2023.27> provide further details.

Getting started

Package details

AuthorQing Chang [aut], Max Goplerud [aut, cre]
MaintainerMax Goplerud <mgoplerud@austin.utexas.edu>
LicenseGPL (>= 2)
Version1.0.3
URL https://github.com/mgoplerud/gKRLS
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("gKRLS")

Try the gKRLS package in your browser

Any scripts or data that you put into this service are public.

gKRLS documentation built on Sept. 11, 2024, 8:24 p.m.