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.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.2.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.2-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pystoned-0.3.2.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.2.tar.gz
Algorithm Hash digest
SHA256 06ea0eb285ba5b9b5fb66cc747c1c91257c989e3e73480bc7b9b7ae057b6caa3
MD5 e5a6292a807a93a2f4266c6e79476926
BLAKE2b-256 2222eb4c0f89cdfba59c04aaac2be097478acdba569f0d983112a8e2a6200ddc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pystoned-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 36.7 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9695b3878588c2891faaf5107fc9da659d2a47829bc206f745eb2490b1c2cd18
MD5 cf61949c086203c873e74d4ce22d7050
BLAKE2b-256 7551d7f16140203808832f592bb8dd02533e10f45c8e9152eef941852220863d

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