Snoring {evidence} | R Documentation |
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).
data(Snoring)
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)?
Altman, D.G. 1991. Practical Statistics for Medical Research. Chapman \& Hall, London.
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
data(Snoring)
fit <- glm(cbind(hypert, n - hypert) ~ smoking + obese + snoring,
family=binomial, data=Snoring)
summary(fit)