# NOT RUN {
#Example with a very small sample to decrease computational time.
x1 <-runif(50, 50, 75)
x2 <-runif(50, 30, 75)
x <- cbind(x1, x2)
e <- rnorm(50, 0, 36)
a1 <- 0.4
a2 <- 0.6
y <- a1*x1 + a2*x2 + e
#Robust DEA
r_DEA <- robust_DEA(input = x, output = y, m = 20, B = 50,
RTS = "crs", ORIENTATION = "in", print = TRUE)
summary(r_DEA$eff)
# }
# NOT RUN {
#Example with random data x and y
x1 <-runif(100, 50, 75)
x2 <-runif(100, 30, 75)
x <- cbind(x1, x2)
y <- cbind(x+runif(100, -10, 0), rnorm(100, 15, 4))
#Robust DEA
r_DEA <- robust_DEA(input = x, output = y, m = 30, B = 40,
RTS = "crs", ORIENTATION = "in", print = TRUE)
summary(r_DEA$eff)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab