Learn R Programming

BSDA (version 1.2.1)

Blood: Blood pressure of 15 adult males taken by machine and by an expert

Description

Data for Exercise 7.84

Usage

Blood

Arguments

Format

A data frame/tibble with 15 observations on the following two variables

machine

blood pressure recorded from an automated blood pressure machine

expert

blood pressure recorded by an expert using an at-home device

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

Run this code

DIFF <- Blood$machine - Blood$expert
shapiro.test(DIFF)
qqnorm(DIFF)
qqline(DIFF)
rm(DIFF)
t.test(Blood$machine, Blood$expert, paired = TRUE)

Run the code above in your browser using DataLab