forked from kerrydu/sbmeff
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsbmeff.sthlp
109 lines (68 loc) · 3.32 KB
/
sbmeff.sthlp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{smcl}
{* *! version 0.3 29 Oct 2019}{...}
{cmd:help sbmeff}
{hline}
{title:Title}
{phang}
{bf:sbmeff} {hline 2} Slacks-based Measure of Efficiency in Stata
{title:Syntax}
{p 8 21 2}
{cmd:sbmeff} {it:{help varlist:inputvars}} {cmd:=} {it:{help varlist:desirable_outputvars}} {ifin}
{cmd:,} {cmdab:d:mu(}{varname}{cmd:)} [{it:options}]
{p 8 21 2}
{cmd:sbmeff} {it:{help varlist:inputvars}} {cmd:=} {it:{help varlist:desirable_outputvars}} {cmd::} {it:{help varlist:undesirable_outputvars}} {ifin}
{cmd:,} {cmdab:d:mu(}{varname}{cmd:)} [{it:options}]
{synoptset 28 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{cmdab:d:mu:(varname)}}specifies names of DMUs. It is required.
{synopt:{cmdab:t:ime:(varname)}}specifies time period for contemporaneous production technology. If {opt time:(varname)} is not specified, global production technology is assumed.
{p_end}
{synopt:{cmdab:seq:uential}}specifies sequential production technology.
{p_end}
{synopt:{opt vrs}}specifies production technology with variable returns to scale. By default, production technology with constant returns to scale is assumed.
{p_end}
{synopt:{opt sav:ing(filename[,replace])}}specifies that the results be saved in {it:filename}.dta.
{p_end}
{synopt:{opt maxiter(#)}}specifies the maximum number of iterations, which must be an integer greater than 0. The default value of maxiter is 16000.
{p_end}
{synopt:{opt tol(real)}}specifies the convergence-criterion tolerance, which must be greater than 0. The default value of tol is 1e-8.
{p_end}
{synoptline}
{p2colreset}{...}
{title:Description}
{pstd}
{cmd:sbmeff} selects the input and output variables from the user designated data file or in the opened data set and solves Slacks-based Measure of Efficiency models by options specified.
{phang}
The sbmeff program requires initial data set that contains the input and output variables for observed units.
{phang}
Variable names must be identified by inputvars for input variable, by desirable_outputvars for desirable output variable, and by undesirable_outputvars for undesirable output variable
to allow that {cmd:sbmeff} program can identify and handle the multiple input-output data set.
{phang}
Stata 16 or later is required.
{title:Examples}
{phang}{"use ...\example_sbm.dta"}
{phang}{cmd:. sbmeff labor capital energy=gdp, dmu(id) time(t) vrs}
{phang}{cmd:. sbmeff labor capital energy=gdp, dmu(id) sav(sbm_result)}
{phang}{cmd:. sbmeff labor capital energy=gdp:co2, dmu(id) time(t) vrs}
{phang}{cmd:. sbmeff labor capital energy=gdp:co2, dmu(id) sav(sbm_result,replace)}
{title:Saved Results}
{psee}
Macro:
{psee}
{cmd: r(file)} the stored results of {cmd:sbmeff} that have observation rows of DMUs and variable columns with input data, output data, efficiency scores, and slacks.
{p_end}
{marker references}{...}
{title:References}
{phang}
Tone, K. (2001). A slacks-based measure of efficiency in data envelopment analysis. European Journal of Operational Research, 130(3):498-509.
{phang}
Tone, K. (2004). Dealing with Undesirable Outputs in DEA: A Slacks-Based Measure (SBM) Approach. North American Productivity Workshop 2004, Toronto, 23-25 June 2004, 44-45.
{title:Author}
{psee}
Kerry Du
{psee}
Xiamen University
{psee}
Xiamen, China