Changes {productivity} | R Documentation |
Productivity and profitability change indices
Description
This function extracts individual productivity and profitability (when available) change
indices from any object created by either fareprim
, fisher
,
hicksmoorsteen
, laspeyres
, lowe
, malm
,
or paasche
function.
Usage
Changes(object, ...)
Arguments
object |
Object of class |
... |
Currently not used. |
Details
An object of class
'FarePrimont'
is a result of a call tofareprim
.An object of class
'Fisher'
is a result of a call tofisher
.An object of class
'HicksMoorsteen'
is a result of a call tohicksmoorsteen
.An object of class
'Laspeyres'
is a result of a call tolaspeyres
.An object of class
'Lowe'
is a result of a call tolowe
.An object of class
'Malmquist'
is a result of a call tomalm
.An object of class
'Paasche'
is a result of a call topaasche
.
Value
In the case of Färe-Primont, Fisher, Laspeyres, Lowe, Malmquist, and Paasche indices, the function returns a data frame containing all the elements and observations included in the
"Changes"
component ofobject
.In the case of Hicks-Moorsteen index:
When
components = FALSE
(default) in the call tohicksmoorsteen
, the function returns a data frame containing all the elements and observations included in the"Changes"
component of the object of class'HicksMoorsteen'
.When
components = TRUE
in the call tohicksmoorsteen
, the function returns a list of three data frames:*
HicksMoorsteen:A data frame containing all the elements and observations related to
"Changes"
component of the Hicks-Moorsteen index.*
MalmquistHS:A data frame containing all the elements and observations related to
"Changes"
component of the Malmquist-hs index.*
MalmquistIT:A data frame containing all the elements and observations related to
"Changes"
component of the Malmquist-it index.
Author(s)
Yann Desjeux, K Hervé Dakpo, Laure Latruffe
See Also
For details and information on returned values, see fareprim
,
fisher
, hicksmoorsteen
, laspeyres
, lowe
,
malm
, or paasche
.
See also:
- Levels
for productivity and profitability levels; and
- Shadowp
for shadow prices.
Examples
## Not run:
FAREPRIM <- fareprim(data = usagri, id.var = "States", time.var = "Years",
x.vars = c("q.capital", "q.land","q.labor","q.materials"), y.vars = c("q.livestock",
"q.crop", "q.other"), w.vars = c("p.capital", "p.land", "p.labor", "p.materials"),
p.vars = c("p.livestock", "p.crop", "p.other"))
Fareprim.change <- Changes(FAREPRIM)
head(Fareprim.change)
## End(Not run)