Frontier type "d" Dynamic frontier (default) "s" Static frontier
Value
$eff_r
Efficiency at release (i.e., at each production date)
$eff_t
Efficiency at t
$lambda_t
Intensity vector at t
$eft_date
Effective date
$roc_past
RoC observed from the obsolete DMUs in the past
$roc_avg
Average RoC
$roc_local
Local RoC
Author(s)
Dong-Joon Lim, PhD
References
D.-J. Lim, Internal combustion engine race: naturally aspirated vs turbo/super-charged, working paper (2015).
See Also
dm.dea Distance measure using DEA roc.dea RoC calculation using DEA target.arrival.dea Arrival target setting using DEA target.spec.dea Spec target setting using DEA
Examples
# Reproduce Mercedes-Benz CLA45 AMG's local RoC in Table 5 in Lim, D-J. (2015)
# Load engine dataset
data(dataset.engine.2015)
# Subset for 4 cylinder engines
fce<-subset(dataset.engine.2015,dataset.engine.2015[,3]==4)
# Parameters
x<-subset(fce,select=4)
y<-subset(fce,select=5:7)
d<-subset(fce,select=2)
g<-as.matrix(data.frame(0,y))
w<-matrix(c(1,0,0),ncol=3)
# Calc local Roc
roc.sf(x,y,d,2014,"crs",g,w,"min")$roc_local[348,]
Results
R version 3.3.1 (2016-06-21) -- "Bug in Your Hair"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> library(DJL)
Loading required package: car
Loading required package: combinat
Attaching package: 'combinat'
The following object is masked from 'package:utils':
combn
Loading required package: lpSolveAPI
> png(filename="/home/ddbj/snapshot/RGM3/R_CC/result/DJL/roc.sf.Rd_%03d_medium.png", width=480, height=480)
> ### Name: roc.sf
> ### Title: Rate of change (RoC) calculation using SF
> ### Aliases: roc.sf
>
> ### ** Examples
>
> # Reproduce Mercedes-Benz CLA45 AMG's local RoC in Table 5 in Lim, D-J. (2015)
> # Load engine dataset
> data(dataset.engine.2015)
>
> # Subset for 4 cylinder engines
> fce<-subset(dataset.engine.2015,dataset.engine.2015[,3]==4)
>
> # Parameters
> x<-subset(fce,select=4)
> y<-subset(fce,select=5:7)
> d<-subset(fce,select=2)
> g<-as.matrix(data.frame(0,y))
> w<-matrix(c(1,0,0),ncol=3)
>
> # Calc local Roc
> roc.sf(x,y,d,2014,"crs",g,w,"min")$roc_local[348,]
[1] 1.048605
>
>
>
>
>
> dev.off()
null device
1
>