smoke: smoke: Cigarettes and Deaths in 20 Countries

smokeR Documentation

smoke: Cigarettes and Deaths in 20 Countries

Description

This is a historically important data set from the beginning of the 1960-s. The average number of cigarettes per person per year and deaths from Cardiac Hearth Disease (CHD) was recorded for 20 countries. Essentially this data was used to argue in favour of putting health warnings on cigarette packages in several countries.

Usage

smoke

Format

A data frame with 20 observations (rows) and 3 variables (columns).

Column name Data type Description Values
[,1] x integer Average number of cigarettes (1200 - 3900)
[,2] y numeric Number of deaths per 100 000 (31.9 - 256.9)
[,3] country factor 20 countries (Australia...West.Germany)
  • x is the average number of cigarettes per person per year, including both smokers and non-smokers above the age 18.

  • y is the number of deaths caused by Cardiac Hearth Disease for each country and applies to the part of the population of ages between 35 and 64.

Details

This data set was used in Exercise 1 of Exam STAT340 2021-05-28 and in Exercise 1 of Exam STAT340 2018-05-28.

Examples


# First six rows
head(smoke)

# Linear model
lm(y ~ x, data = smoke)


thoree/stat340 documentation built on June 30, 2024, 4:04 p.m.