help opreg (SJ12-1: st0145_2)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Title
opreg -- Production function estimation using Olley and Pakes' technique
options Description
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* exit(varname) varname indicates a firm's exit
* state(varlist) state variables appearing in production function
* proxy(varname) variable to proxy for unobserved productivity
* free(varlist) additional variables used in the second stage only
cvars(varlist) additional variables used in both the first and second stages
second use second-degree polynomial expansion
vce(bootstrap, bootstrap_options) specify bootstrap options
level(#) set confidence level; default is level(95)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
* exit(varname), state(varlist), proxy(varname), and free(varlist) are required.
A panel variable and a time variable must be specified by using xtset; see [XT] xtset.
Description
opreg estimates the production function in the presence of selection bias and simultaneity by using the three-stage algorithm described in Olley and Pakes (1996).
Options
exit(varname) specifies a variable coded 0/1, where at time t for firm i, varname_it equals 1 if the firm exited at the beginning of that period and zero otherwise.
state(varlist) specifies state variables.
proxy(varname) specifies the proxy variable to be used in the equation determining exit.
free(varlist) specifies variable inputs that are not to be included in the exit equation.
cvars(varlist) specifies variable inputs that are also included in the exit equation.
second specifies that a second-degree polynomial expansion is to be used in the first and second stages. The default is to use a third-degree polynomial expansion.
vce(bootstrap, bootstrap_options) allows you to specify options to control the bootstrap process. The most commonly used bootstrap_options is reps(#), which control the number of
replications performed. The default is reps(50).
level(#); see [R] estimation_options.
Option for predict
tfp calculates the log of total factor productivity. To obtain the prediction in levels, exponentiate the results. This is the default.
Remarks
The first and second stages use a third-degree polynomial expansion. For example, with one state variable, the polynomial term is state^2 + proxy^2 + state*proxy + state^3 + proxy^3
+ state^2*proxy + state*proxy^2. With two state variables, the polynomial term is state1^2 + state2^2 + proxy^2 + state1*proxy + state2*proxy + state1*state2, state1^3 + state2^3 +
proxy^3 + state1^2*state2 + state1^2*proxy + state2^2*state1 + state2^2*proxy + proxy^2*state1 + proxy^2*state2 + state1*state2*proxy, and so on.
1.在command命令栏中输入findit opreg,然后点击enter。(操作前提是必须联网)
2.在出现的Viewer net框里点击蓝色的(click here to install)处,然后就安装ok了。
3.在command命令栏中输入help opreg,然后点击enter就可以有opreg的具体操作方法和主要含义及来源、参考文献。
看着那几本期刊,应该会理解很透彻了!如果,还是不知道怎么下手的话,建议看看OP当年发表的原文!Olley, G. S., and A. Pakes. 1996. The dynamics of productivity in the telecommunications equipment industry. Econometrica 64: 1263-1297.
opreg depvar [if] [in], exit(varname) state(varlist) proxy(varname) free(varlist) [options]
exit(varname) varname indicates a firm's exit
* state(varlist) state variables appearing in production function
* proxy(varname) variable to proxy for unobserved productivity
* free(varlist) additional variables used in the second stage only
cvars(varlist) additional variables used in both the first and second stages
second use second-degree polynomial expansion
vce(bootstrap, bootstrap_options) specify bootstrap options
level(#) set confidence level; default is level(95)
上述命令中的exit(varname) state(varlist) proxy(varname) free(varlist) 具体表达什么意思,请高人指点。