OECDGas | R Documentation |
Panel data on gasoline consumption in 18 OECD countries over 19 years, 1960–1978.
data("OECDGas")
A data frame containing 342 observations on 6 variables.
Factor indicating country.
Year.
Logarithm of motor gasoline consumption per car.
Logarithm of real per-capita income.
Logarithm of real motor gasoline price.
Logarithm of the stock of cars per-capita.
The data is from Baltagi (2002).
Baltagi, B.H. (2002). Econometrics, 3rd ed. Berlin, Springer.
Baltagi, B.H. and Griffin, J.M. (1983). Gasoline Demand in the OECD: An Application of Pooling and Testing Procedures. European Economic Review, 22, 117–137.
Baltagi2002
data("OECDGas")
library("lattice")
xyplot(exp(cars) ~ year | country, data = OECDGas, type = "l")
xyplot(exp(gas) ~ year | country, data = OECDGas, type = "l")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.