Learn R Programming

PASWR2 (version 1.0.5)

HUBBLE: Hubble Telescope

Description

The Hubble Space Telescope was put into orbit on April 25, 1990. Unfortunately, on June 25, 1990, a spherical aberration was discovered in Hubble's primary mirror. To correct this, astronauts had to work in space. To prepare for the mission, two teams of astronauts practiced making repairs under simulated space conditions. Each team of astronauts went through 15 identical scenarios. The times to complete each scenario were recorded in days.

Usage

HUBBLE

Arguments

Format

A data frame with 15 observations on the following 2 variables:

  • team1 (days to complete scenario)

  • team2 (days to complete scenario)

References

Ugarte, M. D., Militino, A. F., and Arnholt, A. T. 2015. Probability and Statistics with R, Second Edition. Chapman & Hall / CRC.

Examples

Run this code
# NOT RUN {
with(data = HUBBLE, 
qqnorm(team1 - team2))
with(data = HUBBLE, 
qqline(team1 - team2))
# Trellis Approach
qqmath(~(team1 - team2), data = HUBBLE, type=c("p", "r"))
# ggplot approach
ggplot(data = HUBBLE, aes(sample = team1 - team2)) + stat_qq(color = "blue")
# }

Run the code above in your browser using DataLab