Estimation of production functions by the Olley-Pakes, Levinsohn-Petrin and Wooldridge methodologies.
Basic syntax is formed by a multipart formula which must be specified in the following order (additional controls are optional):
olley_pakes(data = estprod_data, y ~ free | capital | proxy | controls, exit = ~exit, id = "id", time = "year", bootstrap = TRUE, reps =2)
levinsohn_petrin(data = estprod_data, y ~ free | capital | proxy | controls, exit = ~exit, id = "id", time = "year", bootstrap = TRUE, reps = 2, gross = FALSE)
wooldridge(data = estprod_data, y ~ free | capital | proxy | controls, id = "id", time = "year", bootstrap = TRUE)
-
id
andtime
are panel dimensions parameters. -
exit
is an optional formula indicator of the last firm's period. -
bootstrap
is logical indicating if bootstraped standard errors should be calculated. -
reps
is number of bootstrap replications. -
gross
is a logical which indicates if dependent variable is gross output. Only inlevinsohn_petrin
.
-
The latest released version from CRAN with
install.packages("estprod")
-
The current version from github with
devtools::install_github("rrremedio/estprod")
Rodrigo R Remédio
This project is licensed under the GPL-3.