LMDI {EDA} | R Documentation |
Log Mean Devisia Index method for energy decomposition analysis
Description
Log Mean Devisia Index method for energy decomposition analysis
Usage
LMDI(C0, CT, X0, XT)
## S3 method for class 'LMDI'
print(x, ...)
Arguments
C0 |
A numeric vector or a data.frame of carbon emission or energy consumption in the initial year. |
CT |
A numeric vector or a data.frame of carbon emission or energy consumption in the year T. |
X0 |
A numeric vector or a data.frame of an impact factor in the initial year. |
XT |
A numeric vector or a data.frame of an impact factor in the year T. |
x |
A list of LMDI result. |
... |
Ignore |
Author(s)
Yongze Song yongze.song@postgrad.curtin.edu.au and Peng Wu peng.wu@curtin.edu.au.
References
Ang, B. W. (2005). The LMDI approach to decomposition analysis: a practical guide. Energy policy, 33(7), 867-871.
See Also
Examples
library(EDA)
data(carbon)
data(factordata)
## set parameters
cdata <- carbon[,-c(1,2)]
C0 <- cdata[1,]
CT <- cdata[2,]
X0 <- factordata[[2]][1,]
XT <- factordata[[2]][2,]
## run LMDI model
ed1 <- LMDI(C0, CT, X0, XT)
ed1
[Package EDA version 1.3 Index]