deaR
is an R package designed for conducting Data Envelopment Analysis (DEA). It offers a comprehensive suite of tools for both conventional and fuzzy DEA models, enabling users to assess the efficiency of Decision Making Units (DMUs) across various sectors, including economics, finance, healthcare, and public administration. The package supports:
Install the stable version from CRAN:
install.packages("deaR")
Or install the development version from GitHub:
# install.packages("devtools")
devtools::install_github("your-github-username/deaR")
library(deaR)
deaR
provides built-in datasets for testing. For example:
data("Fortune500")
head(Fortune500)
data_dea <- make_deadata(Fortune500, ni = 3, no = 2)
model <- model_basic(data_dea, rts = "crs", orientation = "io")
summary(model)
efficiencies(model)
deaR
supports several fuzzy DEA models to handle imprecision and uncertainty in data.
data("Leon2003")
data_fuzzy <- make_deadata_fuzzy(Leon2003,
inputs.mL = 2,
inputs.dL = 3,
outputs.mL = 4,
outputs.dL = 5)
result_kaoliu <- modelfuzzy_kaoliu(data_fuzzy,
kaoliu_modelname = "basic",
alpha = seq(0, 1, by = 0.1),
orientation = "io",
rts = "vrs")
efficiencies(result_kaoliu)
data("Leon2003")
data_fuzzy <- make_deadata_fuzzy(Leon2003,
inputs.mL = 2,
inputs.dL = 3,
outputs.mL = 4,
outputs.dL = 5)
result_poss <- modelfuzzy_possibilistic(data_fuzzy,
h = seq(0, 1, by = 0.1),
orientation = "io",
rts = "vrs")
efficiencies(result_poss)
Contributions are welcome! Please feel free to open an issue or submit a pull request.
If you use deaR
in your research, please cite:
Coll-Serrano, V., Bolós, V. J., & Benítez Suárez, R. (2022). deaR: Conventional and Fuzzy Data Envelopment Analysis. R package version 1.3.2. CRAN
This package is licensed under the GNU General Public License (GPL). See the LICENSE file for details.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.