summary_tbl_dea {pioneeR} | R Documentation |
Create a summary table for DEA
Description
Create a binned summary table for efficiency scores from a DEA model.
Usage
summary_tbl_dea(x)
Arguments
x |
A numeric vector of efficiency scores or an object of class |
Details
The function will return a summary table for efficiency scores from a DEA model.
Efficiency scores will be placed in 11 bins, where DMUs with an efficiency score
equal to 1 are placed in a separate bin. For output oriented models with range
[1, Inf], bins are created with 1/bin
. Bin widths will be equal to models
with range [0, 1].
Value
A data.frame()
with summary statistics
Examples
# Load example data
fare89 <- deaR::Electric_plants
# Estimate efficiency
mod <- compute_dea(
data = fare89,
input = c("Labor", "Fuel", "Capital"),
output = "Output",
rts = "vrs"
)
# Get a summary table of efficiency scores
summary_tbl_dea(mod)
# You can also create the table from a numeric vector of efficiency scores
res <- as.data.frame(mod)
summary_tbl_dea(res$efficiency)
[Package pioneeR version 0.5.0 Index]