Problem with dea_env_robust

Hi,

Im trying to do: Bias-corrected data envelopment analysis with environmental variables.

I write:
library(rDEA)
library("readxl")
cee<-read_excel("C:///XXXX.xlsx")
cee<-as.data.frame(cee)

Y = cee[c('iinmo', 'icostesvar','isubven')]
X = cee[c('ovoluneg', 'osubapo', 'otrabdisc')]
Z = cee[c('LNTA','LNAGE','LQ','LPL','ROA','CEECAL','CEESAL','GROUP','CRISIS','GENDER')]

added only for testing of the manual

library(maxLik)

Bias-corrected DEA score in output-oriented model

with environmental variables, variable returns-to-scale

firms=1:609
di_env = dea.env.robust(
X=X[firms,], Y=Y[firms,], Z=Z[firms,], model="output",
RTS="variable",L1=100, L2=2000, alpha=0.05)

And then the following error message:
Error in array(x, c(length(x), 1L), if (!is.null(names(x))) list(names(x), :
'data' must be of a vector type, was 'NULL'

I have no idea what the error is or or where to start.

Could you please help me?

Thanks

CLP

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.