Title

translog creates new variables for a translog function.

Syntax

translog [varlist]
[,options]

time(varname) specify the time trend variable

normalize normalize the varibales

local(str) specify the local name to store the generating varlist

Description

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.

Examples

. webuse greene9

. gen year=_n

. translog capital labor, t(year) norm l(xvar)

. display "`xvar'"

. reg lnv `xvar'

Stored results

translog stores the following in r():

Macro

r(xvar) the generating variables

Authors

Kerry Du, Center for Economic Research, Shandong University, China.

E-mail: kerrydu@sdu.edu.cn.