Hi I want to calculate firm efficiency score for firms in my sample. My data looks like this
FirmA IndustryA I.V 1 I.V 2 O.V
Firm B Industry B I.V 1 I.V2 O.V
Firm Z Industry C I.V 1 I.V2 O.V
Data consist of 1500 observations (firm years). Each firm has been classified by 1 out of 8 industry groups. I am able to run DEA for each firm to get firm efficiency score successfully for a small sample (around 9 firms) of my sample by using following command.
dea i.v1 i.v2 = o.v
But when I run dea command for around 700 firms it gives an error of "matsize too small to create a [2119,6] matrix" I am using Stata 12 standard version having maximum matsize of 800. DEA result provide a number of columns in output, please have a look at picture. Now my first question is, if there is any option where I can get only the theta (Efficiency score) column against each DMU in my DEA result instead of getting a large amount results (probably it is increasing matsize). If the problem of Matsize will be solved if only theta column against each DMU is obtained in results.
Second I tried to run DEA by industry using following command by "industry, sort: dea i.v1 i.v2 = o.v" Stata gives me an error that "dea may not be combined with by". can you please guide me how can I run DEA by industry to get efficiency score for each firm. Thanks
FirmA IndustryA I.V 1 I.V 2 O.V
Firm B Industry B I.V 1 I.V2 O.V
Firm Z Industry C I.V 1 I.V2 O.V
Data consist of 1500 observations (firm years). Each firm has been classified by 1 out of 8 industry groups. I am able to run DEA for each firm to get firm efficiency score successfully for a small sample (around 9 firms) of my sample by using following command.
dea i.v1 i.v2 = o.v
But when I run dea command for around 700 firms it gives an error of "matsize too small to create a [2119,6] matrix" I am using Stata 12 standard version having maximum matsize of 800. DEA result provide a number of columns in output, please have a look at picture. Now my first question is, if there is any option where I can get only the theta (Efficiency score) column against each DMU in my DEA result instead of getting a large amount results (probably it is increasing matsize). If the problem of Matsize will be solved if only theta column against each DMU is obtained in results.
Second I tried to run DEA by industry using following command by "industry, sort: dea i.v1 i.v2 = o.v" Stata gives me an error that "dea may not be combined with by". can you please guide me how can I run DEA by industry to get efficiency score for each firm. Thanks

Comment