Learn R Programming

statisticalModeling (version 0.3.0)

Oil_history: Historical production of crude oil, worldwide 1880-2014

Description

Annual production of crude oil, in millions of barrels (mbbl).

Usage

data(Oil_history)

Arguments

Format

A data frame with 47 cases, each of which is a US state, with observations on the following variables.
  • year the year for which production is reported
  • mbbl oil production in millions of barrels

Source

Assembled from older information from RH Romer (1976) "Energy: An Introduction to Physics" and more recent data from data.oecd.org.

Examples

Run this code
model <- lm(log(mbbl) ~ year, data = Oil_history)
fmodel(model)

Run the code above in your browser using DataLab