Skip to main content

A Package for Stochastic Nonparametric Envelopment of Data (StoNED) in Python

Project description

StoNED-Python

StoNED-Python project provides the python codes for estimating Convex Nonparametric Least Square (CNLS), Stochastic Nonparametric Envelopment of Data (StoNED), and other different StoNED-related variants. It allows the user to estimate the CNLS/StoNED models in an open-access environment rather than in commercial software, e.g., GAMS, MATLAB. The StoNED-Python project is built based on the PYOMO.

Installation

We have published a beta version pyStoNED package on PyPI. Please feel free to download and test it. We welcome any bug reports and feedback.

PyPI PyPI version Downloads Downloads

pip install pystoned

Tutorials

A number of Jupyter Notebooks are provided in the repository pyStoNED-Tutorials, and more detailed technical reports are currently under development.

Authors

  • Timo Kuosmanen, Professor, Aalto University School of Business.
  • Sheng Dai, Ph.D. candidate, Aalto University School of Business.

To do list

  • CNLS/StoNED
    • Production function estimation
    • Cost function estimation
    • variables returns to scale (VRS) model
    • constant returns to scale (CRS) model
    • Additive composite error term
    • Multiplicative composite error term
    • Residuals decomposition by method of moments(MoM)
    • Residuals decomposition by quasi-likelihood estimation(QLE)
    • Residuals decomposition by nonparametric kernel deconvolution (NKD)
  • StoNEZD (contextual variables)
  • Convex quantile regression (CQR)
  • Convex expectile regression (CER)
  • Isotonic CNLS (ICNLS)
  • Isotonic convex quantile regression (ICQR)
  • Isotonic convex expectile regression (ICER)
  • Corrected convex nonparametric least squares (C2NLS)
  • Multiple outputs (CNLS-DDF formulation)
    • with undesirable outputs
    • without undesirable outputs
  • Multiple outputs (CQR/CER-DDF formulation)
    • with undesirable outputs
    • without undesirable outputs
  • Basic Data Envelopment Analysis (DEA) models
    • Radial input oriented model: CRS and VRS
    • Radial output oriented model: CRS and VRS
    • Directional model: CRS and VRS
    • Directional model with undesirable outputs: CRS and VRS
  • Representation of StoNED-related frontier/quantile function
    • one input and one output
    • two inputs and one output
    • three inputs and one output

Change log

[0.3.3] - 2020-06-16

Changed

  • CNLSDDF()
  • CQRDDF()
  • CERDDF()

[0.3.2] - 2020-06-16

Changed

  • CNLSDDF()
  • CQRDDF()
  • CERDDF()

[0.3.1] - 2020-06-16

Changed

  • kde()
  • CNLSDDF()

[0.3.0] - 2020-06-12

Changed

  • DEA()
  • CQER()
  • CQEDDF()

[0.2.9] - 2020-06-10

Added

  • DEA()

[0.2.8] - 2020-06-04

Added

  • CQRDDF()
  • CERDDF()

Changed

  • directV()

[0.2.7] - 2020-05-24

Added

  • CNLSPLOT()

Changed

  • adjust the argument pps to rts
  • adjust the argument func to fun
  • adjust the argument crt to cet
  • CNLSDDF()

Removed

  • CNLSDDFB()

[0.2.6] - 2020-05-05

Changed

  • qle()
  • stoned()
  • LICENSE

[0.2.5] - 2020-05-01

Added

  • ked()

Changed

  • CNLSDDFb()
  • directV()
  • stoned()
  • HISTORY.md

Removed

  • directVb()

[0.2.4] - 2020-04-30

Changed

  • qlle()
  • stoned()

[0.2.3] - 2020-04-27

Added

  • cnlsddfb()
  • directVb()

Changed

  • cnlsddf()
  • directV()

[0.2.2] - 2020-04-26

Added

  • cnlsddf()
  • directV()

Changed

  • cnls()
  • ceqr()
  • cnlsz()
  • icnls()

[0.2.1] - 2020-04-23

Added

  • icnls()
  • bimatp()

Changed

  • REDAME.md
  • All functions

[0.2.0] - 2020-04-19

Added

  • ccnls()
  • ccnls2()
  • cnlsz()

Changed

  • REDAME.md
  • cqer()

[0.0.7] - 2020-04-18

Changed

  • cnls()

[0.0.6] - 2020-04-17

Added

  • README.md
  • LICENSE.txt
  • HISTORY.md

[0.0.2] - 2020-04-17

Added

  • cqer()
  • qllf()

[0.0.1] - 2020-04-01

Added

  • stoned()
  • cnls()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pystoned-0.3.3.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pystoned-0.3.3-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

File details

Details for the file pystoned-0.3.3.tar.gz.

File metadata

  • Download URL: pystoned-0.3.3.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pystoned-0.3.3.tar.gz
Algorithm Hash digest
SHA256 ce22053b921a3e3948b29a565bb6a16a62e88c184052cb299553d9e90c8fbc14
MD5 e7a37112f0292aae3fc17cd567b2b399
BLAKE2b-256 1b31e7bd8cd6556e37b4c8ec10213e9b61e0d8e770b4c6591bfac659002bd5ca

See more details on using hashes here.

File details

Details for the file pystoned-0.3.3-py3-none-any.whl.

File metadata

  • Download URL: pystoned-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 36.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1.post20200604 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for pystoned-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0296ad09ef420701cc338f1f0e0376d08810b3d50245075901acdafca912bd4c
MD5 47f09181d6808aaa05ba6b06ee1a78dc
BLAKE2b-256 1f0a2053c51bd8a1cb7738511784fc39c598d4fcb8691cc5f95bb4daffa79cfb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page