pyStoNED : A Python Package for Convex Regression and Frontier Estimation
: Dai, Sheng; Fang, Yu-Hsueh; Lee, Chia-Yen; Kuosmanen, Timo
Publisher: Foundation for Open Access Statistics
: LOS ANGELES
: 2024
: Journal of Statistical Software
: JOURNAL OF STATISTICAL SOFTWARE
: J STAT SOFTW
: 111
: 6
: 1
: 43
: 43
: 1548-7660
DOI: https://doi.org/10.18637/jss.v111.i06
: https://www.jstatsoft.org/article/view/v111i06
: https://research.utu.fi/converis/portal/detail/Publication/477928536
Shape-constrained nonparametric regression is a growing area in econometrics, statistics, operations research, machine learning, and related fields. In the field of productivity and efficiency analysis, recent developments in multivariate convex regression and related techniques such as convex quantile regression and convex expectile regression have bridged the long-standing gap between the conventional deterministic-nonparametric and stochastic-parametric methods. Unfortunately, the heavy computational burden and the lack of a powerful, reliable, and fully open-access computational package have slowed down the diffusion of these advanced estimation techniques to the empirical practice. The purpose of the Python package pyStoNED is to address this challenge by providing a freely available and user-friendly tool for multivariate convex regression, convex quantile velopment of data, and related methods. This paper presents a tutorial of the pyStoNED package and illustrates its application, focusing on estimating frontier cost and production functions.