Learn R Programming

evidence (version 0.8.10)

Snoring: Data on the incidence of hypertension and three indicator variables.

Description

A total of 433 persons were tested for hypertension and checked for whether they were smokers, obese, or snored. The data are in Altman(1991).

Usage

data(Snoring)

Arguments

Format

A data frame with 8 observations on the following 5 variables:

smoking

did the person smoke (1) or not (0)?

obese

was the person obese (1) or not (0)?

snoring

did the person snore (1) or not (0)?

n

the number of persons observed with these covariates

hypert

did the person suffer from hypertension (1) or not (0)?

References

van Hulst, R. 2018. Evaluating Scientific Evidence. ms.

Examples

Run this code
# NOT RUN {
data(Snoring)
fit <- glm(cbind(hypert, n - hypert) ~ smoking + obese + snoring,
  family=binomial, data=Snoring)
summary(fit)
# }

Run the code above in your browser using DataLab