1 Star 0 Fork 20

李峥/gtfpch

forked from kerrydu/gtfpch 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
teddf.sthlp 7.04 KB
一键复制 编辑 原始数据 按行查看 历史
kerrydu 提交于 2021-12-12 16:41 . typos
{smcl}
{* *! version 0.3 20 Apr 2021}{...}
{cmd:help teddf}
{hline}
{title:Title}
{phang}
{bf:teddf} {hline 2} Directional Distance Function with undesirable outputs for Efficiency Measurement in Stata
{title:Syntax}
{p 8 21 2}
{cmd:teddf} {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 order of variables specified in gx() should be as the same in {it:{help varlist:inputvars}}.
The i-th variable in gx() should be the direction of the i-th variable in {it:{help varlist:inputvars}}.
By default, gx() takes the opposite of
{it:{help varlist:inputvars}}.
{p_end}
{synopt:{opt gy(varlist)}}specifies direction components for desirable output adjustment. The order of variables specified in gy() should be as the same in {it:{help varlist:desirable_outputvars}}.
The i-th variable in gy() should be the direction of the i-th variable in {it:{help varlist:desirable_outputvars}}.
By default, gy() takes
{it:{help varlist:desirable_outputvars}}.
{p_end}
{synopt:{opt gb(varlist)}}specifies direction components for undesirable output adjustment. The order of variables specified in gb() should be as the same in {it:{help varlist:undesirable_outputvars}}.
The i-th variable in gb() should be the direction of the i-th variable in {it:{help varlist:undesirable_outputvars}}.
By default, gb() takes the opposite of
{it:{help varlist:undesirable_outputvars}}.
{p_end}
{synopt:{cmdab:nonr:adial}}specifies using nonradial directional distance function.
{p_end}
{synopt:*{opt wmat(name)}}specifies a weight rowvector for adjustment of input and output variables. The default is W=(1,...,1).
{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 rf(varname)}}specifies the indicator variable that defines which data points of outputs and inputs form the technology reference set.
{p_end}
{synopt:{cmdab:win:dow(#)}}specifies window production technology with the #-period bandwidth.
{p_end}
{synopt:{cmdab:bi:ennial}}specifies biennial production technology.
{p_end}
{synopt:{cmdab:seq:uential}}specifies sequential production technology.
{p_end}
{synopt:{cmdab:glo:bal}}specifies global production technology.
{p_end}
{synopt:{opt brep(#)}}specifies the number of bootstrap replications. The default is brep(0) specifying performing the estimator without bootstrap. Typically, it requires 1,000 or more replications for bootstrap DEA methods.
{p_end}
{synopt:{opt alpha(real)}}sets the size of the subsample bootstrap. By default, alpha(0.7) indicates subsampling N^0.7 observations out of the N original reference observations.
{p_end}
{synopt:{opt sav:ing(filename[,replace])}}specifies that the results be saved in {it:filename}.dta.
{p_end}
{synopt:{opt frame(framename)}}specifies that the results be saved in {it:framename} frame.
{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}
{synopt:{opt nodots}} suppress iteration dots.
{p_end}
{synopt:{opt noprint}} suppress display of the results.
{p_end}
{synopt:{opt noch:eck}}suppress checking for new version. It is suggested to be
used for saving time when internet connection is unavailable. {p_end}
{synoptline}
{p2colreset}{...}
{p 4 6 2}* wmat(name) can only be used when nonradial is specified.{p_end}
{title:Description}
{pstd}
{cmd:teddf} selects the input and output variables in the opened data set and solves directional
distance function models by options specified.
{phang}
The teddf program uses the buit-in mata function linearprogram(). Stata 16 or later is required.
{phang}
The teddf 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:teddf} program can identify and handle the multiple input-output data set.
{title:Examples}
{phang}{"use ...\example_ddf.dta"}
{phang}{cmd:. teddf labor capital energy= gdp: co2, dmu(id)}
{phang}{cmd:. teddf labor capital energy= gdp: co2, dmu(id) time(t) nonr sav(ddf_result)}
{phang}{cmd:. teddf labor capital energy= gdp: co2, dmu(id) nonr vrs sav(ddf_result,replace)}
{phang}{cmd:. teddf labor capital energy= gdp: co2, dmu(id) time(t) seq sav(ddf_result,replace)}
{title:Saved Results}
{psee}
Macro:
{psee}
{cmd: r(file)} the filename stores results of {cmd:teddf}.
{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}
Färe, R., Grosskopf, S. Directional distance functions and slacks-based measures of efficiency. European Journal of Operational Research, 2010, 200:320-322.
{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.
{phang}
Zhou, P., Ang, B.W., Wang, H. Energy and CO2 emission performance in electricity generation: a non-radial directional distance function approach. Eur. J. Oper. Res., 2012, 221:625-635.
{phang}
Daoping Wang, Kerui Du, Ning Zhang (2021). {browse "https://raw.githubusercontent.com/kerrydu/gtfpch/master/manuscript.pdf":Measuring technical efficiency and total factor productivity change with undesirable outputs in Stata}, Working paper.
{marker support}{...}
{title:Dependency}
{pstd}{cmd:teddf} requires the {cmd:moremata} package.{p_end}
{pstd}_compile_mata.ado and _get_version.ado are borrowed from Sergio Correia's {cmd:ftools} package({browse "https://github.com/sergiocorreia/ftools":Github repo}).{p_end}
{title:Author}
{psee}
Daoping Wang
{psee}
Shanghai University of Finance and Economics
{psee}
Shanghai, China
{psee}
E-mail: daopingwang@live.sufe.edu.cn
{p_end}
{psee}
Kerui Du
{psee}
Xiamen University
{psee}
Xiamen, China
{psee}
E-mail: kerrydu@xmu.edu.cn
{p_end}
{psee}
Ning Zhang
{psee}
Shandong University
{psee}
Jinan, China
{psee}
E-mail: zn928@naver.com
{p_end}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/piecestar/gtfpch.git
git@gitee.com:piecestar/gtfpch.git
piecestar
gtfpch
gtfpch
master

搜索帮助