gplsim: An R Package for Generalized Partially Linear Single-index Models

Generalized partially linear single-index models (GPLSIMs) are important tools in nonparametric regression. They extend popular generalized linear models to allow flexible nonlinear dependence on some predictors while overcoming the “curse of dimensionality.” We develop an R package gplsim that implements efficient spline estimation of GPLSIMs, proposed by (Yu and Ruppert 2002) and (Yu et al. 2017), for a response variable from a general exponential family. The package builds upon the popular mgcv package for generalized additive models (GAMs) and provides functions that allow users to fit GPLSIMs with various link functions, select smoothing tuning parameter \(\lambda\) against generalized cross-validation or alternative choices, and visualize the estimated unknown univariate function of single-index term. In this paper, we discuss the implementation of gplsim in detail, and illustrate the use case through a sine-bump simulation study with various links and a real-data application to air pollution data.

Tianhai Zu (The University of Texas at San Antonio) , Yan Yu (University of Cincinnati)
2023-08-26

Supplementary materials

Supplementary materials are available in addition to this article. It can be downloaded at RJ-2023-024.zip

Y. Yu and D. Ruppert. Penalized Spline Estimation for Partially Linear Single-Index Models. Journal of the American Statistical Association, 97(460): 1042–1054, 2002. URL https://www.jstor.org/stable/3085829 [online; last accessed April 5, 2020].
Y. Yu, C. Wu and Y. Zhang. Penalised spline estimation for generalised partially linear single-index models. Statistics and Computing, 27(2): 571–582, 2017. URL https://doi.org/10.1007/s11222-016-9639-0 [online; last accessed July 1, 2020].

References

Reuse

Text and figures are licensed under Creative Commons Attribution CC BY 4.0. The figures that have been reused from other sources don't fall under this license and can be recognized by a note in their caption: "Figure from ...".

Citation

For attribution, please cite this work as

Zu & Yu, "gplsim: An R Package for Generalized Partially Linear Single-index Models", The R Journal, 2023

BibTeX citation

@article{RJ-2023-024,
  author = {Zu, Tianhai and Yu, Yan},
  title = {gplsim: An R Package for Generalized Partially Linear Single-index Models},
  journal = {The R Journal},
  year = {2023},
  note = {https://doi.org/10.32614/RJ-2023-024},
  doi = {10.32614/RJ-2023-024},
  volume = {15},
  issue = {1},
  issn = {2073-4859},
  pages = {55-64}
}