美味的杏子 发表于 2019-2-27 19:48 
同问呀,这是什么意思
可以参考Petrin的Production function estimation in Stata using inputs to control for unobservables(2004)
i(varname) specifies the variable that contains the unit to which the observation belongs. You can specify the i() option the first time you estimate, or you can use the iis command to set i() beforehand. Note that it is not necessary to specify i() if the data has been previously tsset or if iis has been previously specified. In these cases, the group variable is taken from the previous setting. See [XT] xt.
比如用工业企业数据库来计算TFP的话,stkcd就可以是企业id的变量名。