gnriv | R Documentation |
The gnriv
function implements the second stage of the
GNR production function estimation routine, nonparametrically identifying
the fixed input elasticities of the production function and total
productivity. This function accepts an object of class 'gnrflex'. The
parameters are optimized using the function optim
.
For details, see Gandhi, Navarro, and Rivers (2020).
gnriv(object, control, ...)
object |
object of class 'gnrflex'. |
control |
an optional list of convergence settings. See |
... |
additional optional arguments passed to optim. |
a list of class 'gnriv' containing three elements:
fixed_elas
: a numeric matrix of estimated elasticities of fixed inputs for each observation.
productivity
: a numeric vector of estimated total productivity.
control
: the list of convergence control parameters. See gnriv.control
for available parameters.
Gandhi, Amit, Salvador Navarro, and David Rivers. 2020. "On the Identification of Gross Output Production Functions." Journal of Political Economy, 128(8): 2973-3016. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1086/707736")}.
require(gnrprod)
data <- colombian
industry_311_flex <- gnrflex(output = "RGO", fixed = c("L", "K"),
flex = "RI", share = "share", id = "id",
time = "year", data = data,
control = list(degree_w = 2, maxit = 200))
industry_311_fixed <- gnriv(industry_311_flex,
control = list(trace = 1))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.