Learn R Programming

bayess (version 1.4)

bank: bank dataset (Chapter 4)

Description

The bank dataset we analyze in the first part of Chapter 3 comes from Flury and Riedwyl (1988) and is made of four measurements on 100 genuine Swiss banknotes and 100 counterfeit ones. The response variable $y$ is thus the status of the banknote, where 0 stands for genuine and 1 stands for counterfeit, while the explanatory factors are bill measurements.

Usage

data(bank)

Arguments

Format

A data frame with 200 observations on the following 5 variables.
x1
length of the bill (in mm)
x2
width of the left edge (in mm)
x3
width of the right edge (in mm)
x4
bottom margin width (in mm)
y
response variable

Source

Flury, B. and Riedwyl, H. (1988) Multivariate Statistics. A Practical Approach, Chapman and Hall, London-New York.

Examples

Run this code
data(bank)
summary(bank)

Run the code above in your browser using DataLab