Learn R Programming

SdeaR (version 1.0.2)

efficiencies.dea_stoch: Objective scores

Description

Extract the scores (optimal objective values) of the evaluated DMUs from a stochastic DEA solution. Note that these scores may not always be interpreted as efficiencies.

Usage

# S3 method for dea_stoch
efficiencies(x, ...)

Value

A matrix with the scores (optimal objective values).

Arguments

x

Object of class dea_stoch obtained with some of the stochastic DEA modelstoch_* functions.

...

Other options (for compatibility reasons)

Author

Vicente Bolós (vicente.bolos@uv.es). Department of Business Mathematics

Rafael Benítez (rafael.suarez@uv.es). Department of Business Mathematics

Vicente Coll-Serrano (vicente.coll@uv.es). Quantitative Methods for Measuring Culture (MC2). Applied Economics.

University of Valencia (Spain)

Examples

Run this code
# \donttest{
# Example 1.
library(deaR)
data("Coll_Blasco_2006")
ni <- 2 # number of inputs
no <- 2 # number of outputs
data_example <- make_deadata(datadea = Coll_Blasco_2006,
                             ni = ni,
                             no = no)
nd <- length(data_example$dmunames) # number of DMUs
var_input <- matrix(1, nrow = ni, ncol = nd)
var_output <- matrix(1, nrow = no, ncol = nd)
data_stoch <- make_deadata_stoch(datadea = data_example,
                                 var_input = var_input,
                                 var_output = var_output)
# Evaluate the sixth DMU
Collstoch <- modelstoch_radial(data_stoch, dmu_eval = 6)
efficiencies(Collstoch)
# }

Run the code above in your browser using DataLab