LMDI: Log Mean Devisia Index method for energy decomposition...

Description Usage Arguments Author(s) References See Also Examples

View source: R/LMDI.R

Description

Log Mean Devisia Index method for energy decomposition analysis

Usage

1
2
3
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

EDA

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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

EDA documentation built on March 26, 2020, 7:57 p.m.