Learn R Programming

fma (version 2.2)

ibm: IBM sales and profit

Description

IBM sales and profit (1954-1984) and forecasts.

Usage

ibm

Arguments

Format

Time series data
Profit
IBM annual profit
FSales
Forecast of IBM sales made in 1984
FProfit
Forecast of IBM profits made in 1984

Source

Makridakis, Wheelwright and Hyndman (1998) Forecasting: methods and applications, John Wiley & Sons: New York. Chapter 9.

Examples

Run this code
plot(ibm[,1],xlim=c(1954,2000),ylim=c(0,200),
    ylab="Sales (billions of $)",xlab="Year",type="o")
lines(ibm[,3],col=2,type="o")
plot(ibm[,2],xlim=c(1954,2000),ylim=c(-10,30),
    ylab="Profits (billions of $)",xlab="Year",type="o")
lines(ibm[,4],col=2,type="o")

Run the code above in your browser using DataLab