swiss: Forged Swiss Bank Notes In ACSWR: A Companion Package for the Book "A Course in Statistics with R"

Description

The swiss data set consists of measurements on the width of bottom margin and image diagonal length for forged and real notes. Histogram smoothing method is applied to understand the width of bottom margins for the forged notes.

Usage

 1 data(swiss)

Format

A data frame with 100 observations on the following 4 variables.

Bottforg

bottom margin of forged notes

Diagforg

diagonal margin of forged notes

Bottreal

bottom margin of real notes

Diagreal

diagonal margin of real notes

References

Simonoff, J.S. (1996). Smoothing Methods in Statistics. Springer.

Examples

 1 2 3 4 5 6 7 8 data(swiss) par(mfrow=c(1,3)) hist(swiss\$Bottforg,breaks=28,probability=TRUE,col=0,ylim=c(0,.5), xlab="Margin width (mm)",ylab="Density") hist(swiss\$Bottforg,breaks=12,probability=TRUE,col=0,ylim=c(0,.5), xlab="Margin width (mm)",ylab="Density") hist(swiss\$Bottforg,breaks=6,probability=TRUE,col=0,ylim=c(0,.5), xlab="Margin width (mm)",ylab="Density")

ACSWR documentation built on May 2, 2019, 6:53 a.m.