Skip to main content

An Efficiency and Productivity Analysis Package

Project description

ProdPack: An Efficiency and Productivity Analysis Package

ProdPack is a Python package designed for Efficiency and Productivity Analysis. Its comprehensive toolset allows for efficient handling of various productivity index estimates, including those that account for undesirable outputs (e.g., total factor productivity, TFP).

Installation

Install the package by pip,

pip install ProdPack

Or install the package by conda,

conda install ProdPack

Usage

A brief example is provided below. For more information, please refer to the documentation and example notebooks.

# import the module
import pandas as pd
from ProdPack.model import ProdNP
from DEAPack.utilities import load_example_data

# load the example dataset
data = load_example_data()

# initilise a nonparametric model
model = ProdNP()

# specify the model
model.DMUs = data['region']
model.x_vars = data[['K', 'L']]
model.y_vars = data[['Y']]
model.b_vars = data[['CO2']]
model.time = data['year']
model.g_x = model.x_vars*0
model.ref_type = 'Sequential'

# solve the model
model.solve()

# check the results
data['prod_ch'] = model.prod_ch
data['eff_ch'] = model.eff_ch
data['te_ch'] = model.te_ch
print(data)
# the results are combind into the data set

Communication

You're very welcome to contribute to this package. We appreciate any efforts to improve this package. You can help by adding new features, reporting bugs, or extending the documentation and usage examples. Please contact us if you have any ideas.

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

prodpack-0.1.1.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

prodpack-0.1.1-py3-none-any.whl (6.3 kB view details)

Uploaded Python 3

File details

Details for the file prodpack-0.1.1.tar.gz.

File metadata

  • Download URL: prodpack-0.1.1.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for prodpack-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c5ecbcb4d80b2b5639b30ceb761abab1fb8f9d0b62e353b9d70ef11f4dab3784
MD5 de5468f456be17deba9dc6e14f1cdc17
BLAKE2b-256 38f9575210e599a9fa6a068feb23be1c5dc6186099f474cdd5f07e60537ae1d7

See more details on using hashes here.

File details

Details for the file prodpack-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: prodpack-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.2

File hashes

Hashes for prodpack-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a15147c7115af003b605789fec0194f6a85ae3b25a954baa3c52355cf65bf698
MD5 b9e6bd698786811f1f81662e127a811e
BLAKE2b-256 35ad805d13e87be15c715047ba4ded2a39031e92af33c361fc0cb16b9fdd2ea7

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