oldFaithR Documentation

Geyser Eruption Durations

Description

The oldFaith numerical vector has 107 observations corresponding to durations in minutes of the Old Faithful geyser, Yellowstone National Park, U.S.A.

Usage

data(oldFaith)

Source

Weisberg (1980). Applied Linear Regression. New York: Wiley.

References

Silverman, B.W. (1986). Density Estimation for Statistics and Data Analysis. London: Chapman and Hall.

Examples

data(oldFaith)
hist(oldFaith,breaks = 20,col = "gold")
library(KernSmooth)
selectedBandwidth <- dpik(oldFaith)
densEst <- bkde(oldFaith,bandwidth = selectedBandwidth)
plot(densEst,col = "blue",lwd = 2,type = "l",xlab = "duration (minutes)",
     ylab = "density")
rug(oldFaith,col = "red")
abline(h = 0,col = "green3")