R Dataset / Package datasets / JohnsonJohnson

Submitted by pmagunia on March 9, 2018 - 1:06 PM
Dataset License
GNU General Public License v2.0
Attachment Size
dataset-35863.csv 1 KB
Documentation

Quarterly Earnings per Johnson & Johnson Share

Description

Quarterly earnings (dollars) per Johnson & Johnson share 1960–80.

Usage

JohnsonJohnson

Format

A quarterly time series

Source

Shumway, R. H. and Stoffer, D. S. (2000) Time Series Analysis and its Applications. Second Edition. Springer. Example 1.1.

Examples

require(stats); require(graphics)
JJ <- log10(JohnsonJohnson)
plot(JJ)
## This example gives a possible-non-convergence warning on some
## platforms, but does seem to converge on x86 Linux and Windows.
(fit <- StructTS(JJ, type = "BSM"))
tsdiag(fit)
sm <- tsSmooth(fit)
plot(cbind(JJ, sm[, 1], sm[, 3]-0.5), plot.type = "single",
     col = c("black", "green", "blue"))
abline(h = -0.5, col = "grey60")monthplot(fit)
--

Dataset imported from https://www.r-project.org.

Documentation License
GNU General Public License v2.0

From Around the Site...

Title Authored on Content type
R Dataset / Package psych / Thurstone March 9, 2018 - 1:06 PM Dataset
R Dataset / Package MASS / muscle March 9, 2018 - 1:06 PM Dataset
R Dataset / Package Ecdat / Grunfeld March 9, 2018 - 1:06 PM Dataset
R Dataset / Package DAAG / austpop March 9, 2018 - 1:06 PM Dataset
R Dataset / Package MASS / deaths March 9, 2018 - 1:06 PM Dataset