Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

OECDGas

Gasoline Consumption Data


Description

Panel data on gasoline consumption in 18 OECD countries over 19 years, 1960–1978.

Usage

data("OECDGas")

Format

A data frame containing 342 observations on 6 variables.

country

Factor indicating country.

year

Year.

gas

Logarithm of motor gasoline consumption per car.

income

Logarithm of real per-capita income.

price

Logarithm of real motor gasoline price.

cars

Logarithm of the stock of cars per-capita.

Source

The data is from Baltagi (2002).

References

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.

See Also

Examples

data("OECDGas")

library("lattice")
xyplot(exp(cars) ~ year | country, data = OECDGas, type = "l")
xyplot(exp(gas) ~ year | country, data = OECDGas, type = "l")

AER

Applied Econometrics with R

v1.2-10
GPL-2 | GPL-3
Authors
Christian Kleiber [aut] (<https://orcid.org/0000-0002-6781-4733>), Achim Zeileis [aut, cre] (<https://orcid.org/0000-0003-0918-3766>)
Initial release
2022-06-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.