| tfp_index | R Documentation |
Computes multiplicatively complete and transitive total factor productivity (TFP) indexes, the Fare-Primont and the Lowe index, and decomposes TFP efficiency following O'Donnell (2012), both against each group's technology and against the metatechnology (all groups pooled).
tfp_index(
formula,
data,
group,
time,
id,
index = c("fare-primont", "lowe"),
orientation = c("output", "input"),
rts = c("vrs", "crs"),
tech = c("contemporaneous", "sequential"),
output_prices = NULL,
input_prices = NULL
)
formula |
a formula with the outputs on the left and the inputs
on the right, e.g. |
data |
a data frame. |
group, time, id |
column names in |
index |
|
orientation |
|
rts |
returns to scale of the technologies: |
tech |
|
output_prices, input_prices |
column names of the output and
input prices, in the order of the outputs and inputs in
|
Output and input aggregates are linear, Q(y) = p'y and
X(x) = w'x, with the same weights for every observation, so TFP
= Q/X is a level and the index between any two observations, the
ratio of their TFP levels, is transitive. The Fare-Primont weights
are the normalised shadow prices of the output and input distance
functions at the sample-mean observation, evaluated against the
pooled data (O'Donnell, 2012); the Lowe weights are the sample means
of the observed prices.
TFP efficiency is TFPE = TFP / TFP*, where TFP* is the maximum TFP attainable in the reference technology. With output orientation it is decomposed as TFPE = OTE x OME x ROSE = OTE x OSE x RME (technical, mix, residual scale, scale and residual mix efficiency), with scale-mix efficiency OSME = OME x ROSE; with input orientation as TFPE = ITE x IME x RISE = ITE x ISE x RME, with ISME = IME x RISE.
Each component is computed against the technology of the unit's group
(suffix _group) and against the metatechnology formed from all
groups (suffix _meta). The TFP metatechnology ratio is MTR =
TFP*_group / TFP*_meta, in (0, 1], so that TFPE_meta = TFPE_group x
MTR.
Programmes that are infeasible give NA and are counted in a
single warning.
An object of class "tfp_meta": a list with
one row per observation: id, group, time, the
aggregates AO and AI, TFP, and for each
reference (_group, _meta) TFP_star,
TFPE and the efficiency components, plus MTR
one row per unit and pair of consecutive periods
of the sample in which it is observed in both: the ratio
(period_to over period_from)
of every level column, prefixed with d
the output and input aggregation weights
settings and metadata
O'Donnell, C.J. (2012). Nonparametric estimates of the components of productivity and profitability change in U.S. agriculture. American Journal of Agricultural Economics, 94(4), 873–890. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1093/ajae/aas023")}
O'Donnell, C.J. (2018). Productivity and Efficiency Analysis. Springer. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1007/978-981-13-2984-5")}
malmquist_meta
set.seed(1)
d <- expand.grid(firm = 1:6, year = 1:3)
d$region <- ifelse(d$firm <= 3, "A", "B")
d$x1 <- runif(nrow(d), 1, 10)
d$x2 <- runif(nrow(d), 1, 10)
d$y <- d$x1^0.5 * d$x2^0.3 * runif(nrow(d), 0.6, 1)
tfp <- tfp_index(y ~ x1 + x2, data = d, group = "region",
time = "year", id = "firm")
tfp
head(tfp$levels[, c("firm", "year", "TFP", "TFPE_meta", "MTR")])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.