1 Star 0 Fork 2

kerrydu/statamacroe

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
translog.sthlp 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
kerrydu 提交于 2024-02-08 23:02 . added packages
{smcl}
{* 14March2017}{...}
{title:Title}
{cmd:translog } creates new variables for a translog function.
{marker syntax}{...}
{title:Syntax}
{p 4 10 2}
{cmd:translog }[{it:varlist}]
[,{it:options}]
{synoptset 24 tabbed}{...}
{synopthdr}
{synoptline}
{synopt :{opt t:ime(varname)}}specify the time trend variable{p_end}
{synopt :{opt norm:alize}}normalize the varibales{p_end}
{synopt :{opt l:ocal(str)}}specify the local name to store the generating varlist{p_end}
{synoptline}
{marker description}{...}
{title:Description}
{pstd}
{cmd:translog} generates new variables for a translog function with the specified variables. The translog function form is widely applied in empirical studies for it is regarded as the second order approximation to the unknown function.
For the regression with a translog function, it is need to create a combination of the fundmental variables. This command provides a convenient way.
{marker examples}{...}
{title:Examples}
{pstd}
{phang2}{cmd:. webuse greene9}{p_end}
{phang2}{cmd:. gen year=_n}{p_end}
{phang2}{cmd:. translog capital labor, t(year) norm l(xvar) }{p_end}
{phang2}{cmd:. display "`xvar'" }{p_end}
{phang2}{cmd:. reg lnv `xvar' }{p_end}
{pstd}
{marker results}{...}
{title:Stored results}
{pstd}
{cmd:translog} stores the following in {cmd:r()}:
{synoptset 20 tabbed}{...}
{p2col 5 20 24 2: Macro}{p_end}
{synopt:{cmd:r(xvar)}}the generating variables{p_end}
{hline}
{title:Authors}
{phang}
{cmd:Kerry Du}, Center for Economic Research, Shandong University, China.{break}
E-mail: {browse "mailto:[email protected]":[email protected]}. {break}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
其他
1
https://gitee.com/kerrydu/statamacroe.git
[email protected]:kerrydu/statamacroe.git
kerrydu
statamacroe
statamacroe
master

搜索帮助