Learn R Programming

FGN (version 2.0-12)

SeriesB: Series B, close price IBM stock

Description

Closing price of IBM common stock, daily, May 17 1961 to November 2 1962

Usage

data(SeriesB)

Arguments

Format

The format is: num [1:369] 460 457 452 459 462 459 463 479 493 490 ...

Source

G. E. P. Box, G.E.P., Jenkins, G.M. and Reinsel, G.C. (2008). Time Series Analysis: Forecasting and Control, 4th Ed., Wiley.

Examples

Run this code
r <- diff(log(SeriesB))
a <- abs(diff(log(SeriesB)))
layout(c(2,1))
acf(r, main="log returns")
acf(a, main="absolute log returns")
#

Run the code above in your browser using DataLab