revenueCES | R Documentation |
revenueCES
takes production function inputs and revenue as arguments
and estimates a CES production function with labor-augmenting productivity
up to a returns-to-scale parameter, assuming only cost minimization, as in
\insertCitevandijcke2022;textualrevenueCES.
revenueCES( Y, X, V, P_V, idvar, timevar, v_bounds = FALSE, v = NULL, mu = NULL, boot = 100, opt = "optim", theta_0 = NULL, cluster = NULL, control = NULL )
Y |
A vector of firms' revenue over time. |
X |
A vector of state / dynamic inputs (e.g. capital). |
V |
A vector of variable inputs (e.g. material inputs). |
P_V |
A vector of firm- or industry-level input prices, ranked in the
same way as the corresponding inputs in |
idvar |
A vector indexing which firm each row of the vectors corresponds to. |
timevar |
A vector indexing which time period each row of the vectors corresponds to |
v_bounds |
A Boolean indicating whether bounds on the returns-to-scale parameter v should be computed. Default = FALSE. |
v |
An optional number in ]0,∞[ to which the returns-to-scale parameter
should be restricted. Constant returns to scale correspond to |
mu |
A Boolean whether firm-level markups (with error term) should be computed and reported.
Requires that |
boot |
Number of bootstrap repetitions for calculating standard errors. Default = 100. |
opt |
A string with the optimization algorithm to be used during the GMM estimation. Options are optim, solnp and DEoptim. Default = 'optim'. |
theta_0 |
An optional named vector of starting values for the parameters, where the names are 'beta_L', 'beta_M', 'sigma'. Default = NULL. |
cluster |
An optional object of class "SOKcluster" or "cluster" for parallelization of the bootstrap. See makeCluster. Default = NULL. |
control |
A list of arguments to be passed to the optimization algorithm. See the links for the optim parameter above. Default = NULL. |
Try and write
A member of the S3 class revenueEst
, containing the following elements:
Estimates, a list with elements,
theta |
A vector with estimated parameters. |
theta.se |
A vector with standard errors of the estimated parameters. |
omegal |
A vector of firm-level labor-augmenting productivity terms, one for each firm in each period except the first. |
v_bounds |
A vector with the estimated upper and lower bound on the returns to scale, if specified. |
alpha |
A vector with estimated output elasticities, if a returns-to-scale restriction was specified. |
mu |
A vector with estimated markups (with error term), if requested and a returns-to-scale restriction was specified. |
Model, a list with elements,
theta0 |
Numeric object with the optimization starting points. |
thetaFS |
Numeric object with the first-step parameters. |
boot.repetitions |
The number of bootstrap repetitions used for computation of the standard errors. |
elapsed.time |
Time elapsed during the estimation. |
opt |
String with the optimization routine used. |
opt.outcome |
Optimization outcome. |
Data, a list with elements,
Y |
A vector of firms' revenue over time. |
X |
A vector of state / dynamic inputs (e.g. capital). |
V |
A vector of variable inputs (e.g. material inputs). |
P_V |
A vector of firm- or industry-level input prices. |
idvar |
A vector indexing which firm each row of the vectors corresponds to. |
timevar |
A vector indexing which time period each row of the vectors corresponds to. |
vandijcke2022revenueCES
Example
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.