The qDEA package provides functions for quantile Data Envelopment Analysis (qDEA), extending traditional DEA methods to allow for a specified proportion of observations to lie outside the production frontier. This approach is particularly useful for robust efficiency analysis in the presence of outliers or noise.
You can install the released version of qDEA from CRAN with:
install.packages("qDEA")
library(qDEA)
# Load example data
data(CST11)
# Prepare input and output matrices
X <- as.matrix(CST11$EMPLOYEES)
Y <- as.matrix(CST11$SALES)
# Run basic DEA (output-oriented, CRS)
result <- qDEA(X = X, Y = Y, orient = "out", RTS = "CRS")
# View efficiency scores
result$effvals
# Run qDEA with 10% outliers allowed
result_q <- qDEA(X = X, Y = Y, qout = 0.10, orient = "out", RTS = "CRS")
# View qDEA efficiency scores
result_q$effvalsq
# Run qDEA with bootstrap bias correction
result_boot <- qDEA(X = X, Y = Y,
qout = 0.10,
nboot = 100,
orient = "out",
RTS = "VRS")
# Access bias-corrected estimates
result_boot$BOOT_DATA$effvalsq.bc
# Load two-input, two-output example
data(CST22)
X <- as.matrix(CST22[, c("DOCTORS", "NURSES")])
Y <- as.matrix(CST22[, c("OUT_PATIENTS", "IN_PATIENTS")])
# Run qDEA
result <- qDEA(X = X, Y = Y, qout = 0.05, orient = "in", RTS = "VRS")
The qDEA method extends traditional DEA by allowing a pre-specified proportion (α) of observations to lie outside the estimated production frontier. This makes the method more robust to outliers and measurement error while maintaining computational efficiency through linear programming.
Atwood, J., and S. Shaik. (2020). "Theory and Statistical Properties of Quantile Data Envelopment Analysis." European Journal of Operational Research, 286:649-661. DOI: 10.1016/j.ejor.2020.03.054
Atwood, J., and S. Shaik. (2018). "Quantile DEA: Estimating qDEA-alpha Efficiency Estimates with Conventional Linear Programming." In Productivity and Inequality. Springer Press. DOI: 10.1007/978-3-319-68678-3_4
For questions and issues, please contact the package maintainer at jatwood@montana.edu.
GPL-2 | GPL-3
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.