1 Star 0 Fork 20

fangyb/gtfpch

forked from kerrydu/gtfpch 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gtfpch.sthlp 7.72 KB
一键复制 编辑 原始数据 按行查看 历史
kerrydu 提交于 2021-12-12 16:41 . typos
{smcl}
{* *! version 1.1 21 Oct 2021}{...}
{cmd:help gtfpch}
{hline}
{title:Title}
{phang}
{bf:gtfpch} {hline 2} Total Factor Productivity with Undesirable Outputs in Stata
{title:Syntax}
{p 8 21 2}
{cmd:gtfpch} {it:{help varlist:inputvars}} {cmd:=} {it:{help varlist:desirable_outputvars}} {cmd::} {it:{help varlist:undesirable_outputvars}} {ifin}
{cmd:,} [{it:options}]
{synoptset 28 tabbed}{...}
{synopthdr}
{synoptline}
{syntab:Main}
{synopt:{cmdab:d:mu:(varname)}}specifies names of DMUs.
{synopt:{opt gx(varlist)}}specifies direction components for input adjustment.
The order of variables specified in gx() should 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}}.
{p_end}
{synopt:{opt gy(varlist)}}specifies direction components for desirable output adjustment.
The order of variables specified in gy() should 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}}.
{p_end}
{synopt:{opt gb(varlist)}}specifies direction components for undesirable output adjustment.
The order of variables specified in gb() should 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}}.
{p_end}
{synopt:{cmdab:seq:uential}}specifies sequential production technology.
{p_end}
{synopt:{cmdab:bi:ennial}}specifies biennial production technology.
{p_end}
{synopt:{opt global}}specifies global production technology.
{p_end}
{synopt:{cmdab:nonr:adial}}specifies using nonradial directional distance function(NDDF).
{p_end}
{synopt:*{opt wmat(name)}}specifies a weight rowvector for adjustment of input and output variables.
{p_end}
{synopt:*{cmdab:luen:berger}}specifies estimating Luenberger productivity index. The default is Malmquist–Luenberger productivity index.
{p_end}
{synopt:*{opt ort(string)}}specifies the oriention. The default is ort(out).
ort(out) means the output oriented productivity index(indicator); ort(i) means the input oriented productivity
index(indicator); ort(h) means the hybrid productivity indicator.
{p_end}
{synopt:{opt fgnz}}specifies decomposing TFP change following the spirit of Färe, Grosskopf, Norris, and Zhang's (1994) method.
{p_end}
{synopt:{opt rd}}specifies decomposing TFP change following the spirit of Ray and Desli's (1997) method.
{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 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} A panel variable and a time variable must be specified; use xtset. {p_end}
{p 4 6 2}* wmat(name) can only be used when nonradial is specified. {p_end}
{p 4 6 2}* Luenberger productivity indicator is estimated when nonradial is specified.{p_end}
{p 4 6 2}* ort(h) can only be used for Luenberger productivity indicator.{p_end}
{title:Description}
{pstd}
{cmd:gtfpch} selects the input and output variables in the opened data set and estimate the TFP index by options specified.
{phang}
The gtfpch 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:gtfpch} program can identify and handle the multiple input-output data set.
{title:Examples}
{phang}{cmd:. use "https://raw.githubusercontent.com/kerrydu/gtfpch/master/example_ddf.dta"}
{phang}{cmd:. xtset id t}
{phang}{cmd:. gtfpch labor capital energy= gdp: co2, nonr sav(ddf_result)}
{phang}{cmd:. gtfpch labor capital energy= gdp: co2, ort(i)}
{phang}{cmd:. gtfpch labor capital energy= gdp: co2, seq luen sav(ddf_result,replace)}
{title:Saved Results}
{psee}
Macro:
{p_end}
{psee}
{cmd: r(file)} the filename stores results of {cmd:gtfpch}.
{p_end}
{psee}
{cmd: r(frame)} the frame name stores results of {cmd:gtfpch}.
{p_end}
{psee}
{cmd: r(weight)} the weight vector for non-radial DDF {cmd:gtfpch}.
{p_end}
{psee}
{cmd: r(gvec)} the directional vector {cmd:gtfpch}.
{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}
Chambers R.G. Exact nonradial input, output, and productivity measurement. Economic Theory, 2002, 20 (4):751-765
{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}
Mahlberg, B., Sahoo, B.K. Radial and non-radial decompositions of Luenberger productivity indicator with an illustrative application,
International Journal of Production Economics, 2011, 131:721-726.
{phang}
Färe, R., Grosskopf, S., Norris, M., & Zhang, Z. (1994). Productivity Growth, Technical Progress, and Efficiency Change in Industrialized Countries. The American Economic Review, 84(1), 66-83.
{phang}
Ray, S., & Desli, E. (1997). Productivity Growth, Technical Progress, and Efficiency Change in Industrialized Countries: Comment. The American Economic Review, 87(5), 1033-1039.
{phang}
Jesús T. Pastor, Mette Asmild, C.A. Knox Lovell (2011). The biennial Malmquist productivity change index, Socio-Economic Planning, 45(1):10-15.
{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:gtfpch} 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/fangyebing/gtfpch.git
git@gitee.com:fangyebing/gtfpch.git
fangyebing
gtfpch
gtfpch
master

搜索帮助