Coelli_1998 | R Documentation |
Data of five DMUs with two inputs and one output. Prices for inputs are available. Price for output is not from Coelli et al. (1998).
data("Coelli_1998")
Data frame with 6 rows and 5 columns. Definition of inputs (X) and outputs (Y):
Input 1
Input 2
Output
Price input 1
Price input 2
Price output
Vicente Coll-Serrano (vicente.coll@uv.es). Quantitative Methods for Measuring Culture (MC2). Applied Economics.
Vicente Bolos (vicente.bolos@uv.es). Department of Business Mathematics
Rafael Benitez (rafael.suarez@uv.es). Department of Business Mathematics
University of Valencia (Spain)
Coelli, T.; Prasada Rao, D.S.; Battese, G.E. An introduction to efficiency and productivity analysis. Boston: Kluwer Academic Publishers.
make_deadata
# Example. Replication of results in Coelli et al. (1998, p.166).
# Cost efficiency model.
data("Coelli_1994")
# Selection of prices: data_prices is the trasnpose where the prices for inputs are.
data_prices <- t(Coelli_1998[, 5:6])
data_example <- make_deadata(Coelli_1998,
dmus = 1,
ni = 2,
no = 1)
result <- model_profit(data_example,
price_input = data_prices,
rts = "crs",
restricted_optimal = FALSE)
# notice that the option by default is restricted_optimal=TRUE
efficiencies(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.