Shadowp: Shadow prices used in productivity and profitability...

Description Usage Arguments Details Value Warning Author(s) See Also Examples

View source: R/auxiliaries.R

Description

From any object created by either fareprim, fisher, hicksmoorsteen, laspeyres, lowe, or paasche function, and provided that the argument shadow (or components in the case of hicksmoorsteen) is set to TRUE in the function's call, this function extracts the deflated cost input and revenue output shadow prices.

Usage

1
Shadowp(object, ...)

Arguments

object

Object of class 'FarePrimont', 'Fisher', 'HicksMoorsteen', 'Laspeyres', 'Lowe', or 'Paasche'.

...

Currently not used.

Details

Shadow prices are derived from dual input- and output-oriented DEA models.

In the case of Fisher, Hicks-Moorsteen, Laspeyres, Lowe and Paasche indices, deflated input and output shadow prices for each observation are returned (if the argument shadow = TRUE in the function's call).

In the case of Hicks-Moorsteen index, shadow prices used to compute Malmquist-hs and Malmquist-it for each observation are returned (if the argument components = TRUE in the function's call).

In the case of F<c3><a4>re-Primont index, the deflated input and output shadow prices of the representative observation (i.e. the sample means of quantities and prices) are returned (if the argument shadow = TRUE in the function's call).

Value

Warning

For extreme efficient observations, the problem of multiple solutions may arise and the values of shadow prices may differ depending on the linear programming solver used (here lpSolveAPI).

Author(s)

Yann Desjeux, K Herv<c3><a9> Dakpo, Laure Latruffe

See Also

- Changes for productivity and profitability change indices; and
- Levels for productivity and profitability levels.

Examples

1
2
3
4
5
6
7
## Not run: 
  FISHER <- fisher(data = usagri, id.var = "States", time.var = "Years", x.vars = c(7:10), 
  y.vars = c(4:6), w.vars = c(14:17), p.vars = c(11:13), orientation = "out", shadow = TRUE)
  Fisher.shadowprices <- Shadowp(FISHER)
  head(Fisher.shadowprices)

## End(Not run)

Example output

* Please cite the 'productivity' package as:
  Dakpo K.H., Desjeux Y. and Latruffe L. (2018). productivity: Indices of Productivity and Profitability Using Data Envelopment Analysis (DEA). R package version 1.1.0.

See also: citation("productivity")

* For any questions, suggestions, or comments on the 'productivity' package, please make use of Tracker facilities at:
  https://r-forge.r-project.org/projects/productivity/

Loading required package: foreach
Loading required package: iterators
Loading required package: parallel

Progress: 0%

Progress: 5%

Progress: 10%

Progress: 15%

Progress: 20%

Progress: 25%

Progress: 30%

Progress: 35%

Progress: 40%

Progress: 45%

Progress: 50%

Progress: 55%

Progress: 60%

Progress: 65%

Progress: 70%

Progress: 75%

Progress: 80%

Progress: 85%

Progress: 90%

Progress: 95%
DONE!        

  States Years q.capital      q.land     q.labor q.materials q.livestock
1     AL  1995 0.4410175 0.008434614 0.003767061   0.8955042  0.51085302
2     AR  1995 0.0000000 0.003848612 0.000000000   0.8410251  0.35023900
3     AZ  1995 0.3513290 0.008416897 1.008919279   0.7485913  0.60146770
4     CA  1995 0.0000000 0.001197256 0.000000000   0.2616326  0.09420749
5     CO  1995 0.0000000 0.000000000 1.543741329   0.0000000  0.05313965
6     CT  1995 0.0000000 0.000000000 0.805361715  11.3475674  5.08896035
    q.crop   q.other
1 0.000000 0.3254236
2 0.000000 0.2422029
3 0.000000 1.0886179
4 0.000000 0.1216657
5 0.000000 0.8120384
6 4.316115 0.0000000

productivity documentation built on May 2, 2019, 4:44 p.m.