dual.dea: Linear Programming for the Dual Data Envelopment Analysis

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/dual_dea.r

Description

Solve the Dual DEA

Usage

1
dual.dea(base = NULL, frontier = NULL, noutput = 1, orientation=1, rts = 1)

Arguments

base

A data set for DMUs to be evaluated. A data frame with J1*(M+N) dimention, where J1 is the number of DMUs, M for the number of inputs, and N for the number of outputs.

frontier

A data set for DMUs to be used in constructing a production possibility set (PPS). A data frame with J2*(M+N) dimention, where J2 is the number of DMUs, M for the number of inputs, and N for the number of outputs.

noutput

The number of outputs (N).

orientation

Orientation of measurement. 1 for the input-oriented measure, and 2 for the output-oriented measure.

rts

Returns to scale. 1 for the CRS assumption, and 2 for the VRS assumption.

Details

The input-oriented dual DEA under the CRS assumption is calculated. For model specification, take a look at Cooper et al. (2007).

Value

A data frame with J1*(1+M+N) dimension, of which has efficiency scores, optimal virtual prices for inputs and outputs.

Author(s)

Dong-hyun Oh, [email protected]

References

Cooper, W., Seiford, L. and Tone, K. (2007). Data envelopment analysis: a comprehensive text with models, applications, references and DEA-solver software (2nd ed.). Springer Verlag, New York.

Lee, J. and Oh, D. (forthcoming). Efficiency Analysis: Data Envelopment Analysis. Press (in Korean).

See Also

dea, ar.dual.dea

Examples

1
2
3
4
5
6
7
8
## An output-oriented primal problem with 1 input and 2 outputs
tab5.1.dat <- data.frame(y1 = c(4, 8, 8, 4, 3, 1),
                               y2 = c(9, 6, 4, 3, 5, 6),
                               x = c(1, 1, 1, 1, 1, 1))
(re <- dea(tab5.1.dat, noutput = 2, orientation = 2, rts = 1))

## An output-oriented dual problem with 1 input and 2 outputs
re <- dual.dea(tab5.1.dat, noutput = 2, orientation = 2, rts = 1)

Example output

Loading required package: lpSolve
Loading required package: gdata
sh: 1: cannot create /dev/null: Permission denied
gdata: Unable to locate valid perl interpreter
gdata: 
gdata: read.xls() will be unable to read Excel XLS and XLSX files
gdata: unless the 'perl=' argument is used to specify the location of a
gdata: valid perl intrpreter.
gdata: 
gdata: (To avoid display of this message in the future, please ensure
gdata: perl is installed and available on the executable search path.)
sh: 1: cannot create /dev/null: Permission denied
gdata: Unable to load perl libaries needed by read.xls()
gdata: to support 'XLX' (Excel 97-2004) files.

gdata: Unable to load perl libaries needed by read.xls()
gdata: to support 'XLSX' (Excel 2007+) files.

gdata: Run the function 'installXLSXsupport()'
gdata: to automatically download and install the perl
gdata: libaries needed to support Excel XLS and XLSX formats.

Attaching package: 'gdata'

The following object is masked from 'package:stats':

    nobs

The following object is masked from 'package:utils':

    object.size

The following object is masked from 'package:base':

    startsWith

Loading required package: Hmisc
Loading required package: lattice
Loading required package: survival
Loading required package: Formula
Loading required package: ggplot2

Attaching package: 'Hmisc'

The following object is masked from 'package:gdata':

    combine

The following objects are masked from 'package:base':

    format.pval, round.POSIXt, trunc.POSIXt, units

Loading required package: rms
Loading required package: SparseM

Attaching package: 'SparseM'

The following object is masked from 'package:base':

    backsolve

Loading required package: geometry
Loading required package: magic
Loading required package: abind
Loading required package: psych

Attaching package: 'psych'

The following object is masked from 'package:Hmisc':

    describe

The following objects are masked from 'package:ggplot2':

    %+%, alpha

Loading required package: pwt
 Package 'pwt' provides Penn World Table versions 5.6, 6.x, 7.x.
 For more recent versions see package 'pwt8' (or subsequent packages).
       eff   lambda1   lambda2 lambda3 lambda4 lambda5 lambda6 slack.x1
1 1.000000 1.0000000 0.0000000       0       0       0       0        0
2 1.000000 0.0000000 1.0000000       0       0       0       0        0
3 1.000000 0.0000000 1.0000000       0       0       0       0        0
4 2.000000 0.0000000 1.0000000       0       0       0       0        0
5 1.655172 0.7586207 0.2413793       0       0       0       0        0
6 1.500000 1.0000000 0.0000000       0       0       0       0        0
  slack.y1 slack.y2
1      0.0        0
2      0.0        0
3      0.0        2
4      0.0        0
5      0.0        0
6      2.5        0

nonparaeff documentation built on May 30, 2017, 3:07 a.m.