-
Notifications
You must be signed in to change notification settings - Fork 6
/
ddfeff.sthlp
127 lines (82 loc) · 4.15 KB
/
ddfeff.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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{smcl}
{* *! version 0.3 29 Oct 2019}{...}
{cmd:help ddfeff}
{hline}
{title:Title}
{phang}
{bf:ddfeff} {hline 2} Directional Distance Function for Efficiency/Productivity Analysis in Stata
{title:Syntax}
{p 8 21 2}
{cmd:ddfeff} {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:{opt gx(varlist)}}specifies direction components for input adjustment. The default is gx=0.
{p_end}
{synopt:{opt gy(varlist)}}specifies direction components for desirable output adjustment. The default is gy=Y.
{p_end}
{synopt:{opt gb(varlist)}}specifies direction components for undesirable output adjustment. The default is gb=-B.
{p_end}
{synopt:{cmdab:seq:uential}}specifies sequential production technology.
{p_end}
{synopt:{opt glob}}specifies global production technology.
{p_end}
{synopt:{cmdab:prod:uctivity}}specifies computing Malmquist–Luenberger productivity index.
{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:ddfeff} selects the input and output variables from the user designated data file or in the opened data set and solves directional distance function models by options specified.
{phang}
The ddfeff 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:ddfeff} program can identify and handle the multiple input-output data set. The direction vector
g=(gx,gy,gb) should be specfied by options. The default is g=(0,Y,-B).
{phang}
Stata 16 or later is required.
{title:Examples}
{phang}{"use ...\example_ddf.dta"}
{phang}{cmd:. ddfeff labor capital energy= gdp: co2, dmu(id)}
{phang}{cmd:. ddfeff labor capital energy= gdp: co2, dmu(id) time(t) sav(ddf_result)}
{phang}{cmd:. ddfeff labor capital energy= gdp: co2, dmu(id) time(t) prod sav(ddf_result,replace)}
{phang}{cmd:. ddfeff labor capital energy= gdp: co2, dmu(id) time(t) seq prod sav(ddf_result,replace)}
{phang}{cmd:. ddfeff labor capital energy= gdp: co2, dmu(id) time(t) glob prod sav(ddf_result,replace)}
{title:Saved Results}
{psee}
Macro:
{psee}
{cmd: r(file)} the stored results of {cmd:ddfeff} that have observation rows of DMUs and variable columns with input data, output data, values of DDF, and MLPI.
{p_end}
{marker references}{...}
{title:References}
{phang}
Chung, Y.H., Färe, R., Grosskopf, S. Productivity and Undesirable Outputs: A Directional Distance Function Approach.
Journal of Environmental Management, 1997, 51:229-240.
{phang}
Oh, D.-h. A global Malmquist-Luenberger productivity index. Journal of Productivity Analysis, 2010, 34:183-197.
{phang}
Oh, D.-h., Heshmati A. A sequential Malmquist–Luenberger productivity index: Environmentally sensitive productivity growth
considering the progressive nature of technology. Energy Economics, 2010,3 2:1345-1355.
{title:Author}
{psee}
Kerry Du
{psee}
Xiamen University
{psee}
Xiamen, China